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

arXiv cs.CL / 4/10/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper argues that LLMs in healthcare can be unreliable in clinical settings due to hallucinations and insufficient access to fine-grained medical context, even when using standard Retrieval Augmented Generation (RAG).
  • It proposes “Keys to Knowledge (K2K),” which swaps costly external knowledge-base retrieval for internal key-based knowledge access stored in the model’s parameters for much lower latency.
  • K2K improves retrieval quality using activation-guided probe construction and a cross-attention reranking step, aiming to better select relevant clinical information.
  • Experiments on four healthcare outcome prediction benchmark datasets show K2K delivers state-of-the-art performance, suggesting the approach can enhance both reliability and efficiency.
  • Overall, the work targets time-sensitive healthcare prediction workflows by reducing inference-time retrieval overhead while maintaining or improving predictive accuracy.

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.