cs.CLApr 8, 2026

Efficient and Effective Internal Memory Retrieval for LLM-Based Healthcare Prediction

Authors: Mingchen Li, Jiatan Huang, Zonghai Yao, Hong yu

Organizations: University of Massachusetts, Amherst · University of Connecticut · University of Massachusetts, Lowell · UMass Chan Medical School

Abstract

Large language models (LLMs) hold significant promise for healthcare, yet their reliability in high-stakes clinical settings is often compromised by hallucinations and a lack of granular medical context. While Retrieval Augmented Generation (RAG) can mitigate these issues, standard supervised pipelines require computationally intensive searches over massive external knowledge bases, leading to high latency that is impractical for time-sensitive care. To address this, we introduce Keys to Knowledge (K2K), a novel framework that replaces external retrieval with internal, key-based knowledge access. By encoding essential clinical information directly into the model's parameter space, K2K enables rapid retrieval from internal key-value memory without inference-time overhead. We further enhance retrieval quality through activation-guided probe construction and cross-attention reranking. Experimental results demonstrate that K2K achieves state-of-the-art performance across four benchmark healthcare outcome prediction datasets.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Future Querying: Can LLMs Serve as Implicit Medical World Models?

    Aug 24, 2026Siri Willems, James Butterworth, Lore Goetschalckx +4Medical LLMsClinical Prediction

  2. ReMedi: Reasoner for Medical Clinical Prediction

    May 2, 2026Yushi Cao, Yiming Chen, Hongchao Jiang +2Fine-TuningClinical Outcome Prediction

  3. ChatHealthAI: Aligning Electronic Health Record Representations with Large Language Models for Grounded Clinical Reasoning

    Jun 1, 2026Bo-Hong Wang, Baicheng Peng, Ruilin Wang +3LLM GroundingLLM Alignment