: Prototype-Guided Retrieval of Longitudinal Electronic Health Records for Clinical Prediction Models
Abstract
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 , a retrieval-based framework that dynamically integrates the most relevant patient history consisting of 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 and two benchmark datasets, consistently outperforms state-of-the-art EHR-based and transformer-based baselines. Furthermore, is model-agnostic, as integrating it with various backbone models yields substantial performance gains. Overall, establishes a novel direction for modeling long-range clinical context to improve downstream performance via retrieval.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.