Tabular Population Priors as Structured Retrieval for EHR Medication Set Prediction
Animesh Agarwal, Meysam Ghaffari, Nina Fatehi, Carlos Morato
Abstract
Medication prediction from electronic health records is a fixed vocabulary structured prediction problem, yet recent clinical RAG systems often treat it like open ended case based reasoning: retrieve similar patient admissions and ask an LLM to infer a medication set. This retrieval object is indirect the model receives retrieved patient records while the target is a discrete set of medication class labels. We propose a more task aligned retrieval object: a tabular population prior ranked medication class candidates from a sparse condition medication co occurrence table estimated from training admissions. Using PACERAG as a fixed downstream pipeline and replacing only its patient retriever, this drop in swap improves F1 from 0.303 to 0.338 (+11.5% relative) and Jaccard from 0.218 to 0.237 on 1,004 heldout MIMIC IV admissions, with no additional LLM calls and no inference time patient index. A non LLM top k baseline reaches F1=0.248, confirming the prior is predictive before LLM integration. Aggregate population statistics can provide a more task aligned, efficient, and auditable retrieval source than patient level nearest neighbors for fixed vocabulary EHR set prediction.
Create a lesson
Metadata
- Comments
- Accepted at the ICML 2026 Workshop on Structured Data for Health (SD4H), Seoul, South Korea
Related papers
CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation
Shared title terminologycs.AIVimal Kumar Kumar, Meghana Kshirsagar, Conor Ryan
STAIR (STructure Aware Information Retriever): A novel dataset and LLM based retriever for document structure augmentation
Shared title terminologycs.AIVineet Kumar, Meghanadh Pulivarthi, vishwajeet kumar et al.
Feature Reconfiguration With Visual Prior for Medical Lesion Segmentation
Shared title terminologycs.AIYinan Liu, Jiankang Hong, Zhen Gao et al.
SSAKG 2.0: An Open-Source Package for Structural Associative Sequence Memory and Context-Based Retrieval
Shared title terminologycs.AIPrzemysław Stokłosa, Janusz A. Starzyk, Paweł Raif
SymFold: Synergizing Evolutionary and Structural Priors for Accurate Protein Inverse Folding
Shared title terminologycs.AIHandong Wang, Jiaxin Qi, Baisheng Lai et al.
Knowledge-Base Gradient Descent: Self-Structuring Learning through Question Answering
Shared title terminologycs.AIMasahiro Kato