Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

EHR-RAGp: Retrieval-Augmented Prototype-Guided Foundation Model for Electronic Health Records

About

Electronic Health Records (EHR) contain rich longitudinal patient information and are widely used in predictive modeling applications. However, effectively leveraging historical data remains challenging due to long trajectories, heterogeneous events, temporal irregularity, and the varying relevance of past clinical context. Existing approaches often rely on fixed windows or uniform aggregation, which can obscure clinically important signals. In this work, we introduce EHR-RAGp, a retrieval-augmented foundation model that dynamically integrates the most relevant patient history across diverse clinical event types. We propose a prototype-guided retrieval module that acts as an alignment mechanism and estimates the relevance of retrieved historical chunks with respect to a given prediction task, guiding the model towards the most informative context. Across multiple clinical prediction tasks, EHR-RAGp consistently outperforms state-of-the-art EHR foundation models and transformer-based baselines. Furthermore, integrating EHR-RAGp with existing clinical foundation models yields substantial performance gains. Overall, EHR-RAGp provides a scalable and efficient framework for leveraging long-range clinical context to improve downstream performance.

Saeed Shurrab, Mariam Al-Omari, Dana El Samad, Farah E. Shamout• 2026

Related benchmarks

TaskDatasetResultRank
ICU readmission predictionICU-Readmit 30d
AUROC0.747
16
In-hospital mortality predictionIn-hospital Mortality
AUROC94
16
Length-of-Stay PredictionLong LOS 7d
AUROC0.885
16
Mortality Prediction1YR Mortality
AUROC82.1
16
1-Year Mortality PredictionEHR (Electronic Health Records) (test)
AUROC0.821
5
30-day ICU Readmission PredictionEHR (Electronic Health Records) (test)
AUROC74.7
5
In-hospital mortality predictionEHR (Electronic Health Records) (test)
AUROC0.94
5
Long Length of Stay (>= 7 days) PredictionEHR (Electronic Health Records) (test)
AUROC88.5
5
Showing 8 of 8 rows

Other info

Follow for update