English

Retrieval-aligned Tabular Foundation Models Enable Robust Clinical Risk Prediction in Electronic Health Records Under Real-world Constraints

Artificial Intelligence 2026-04-03 v1

Abstract

Clinical prediction from structured electronic health records (EHRs) is challenging due to high dimensionality, heterogeneity, class imbalance, and distribution shift. While tabular in-context learning (TICL) and retrieval-augmented methods perform well on generic benchmarks, their behavior in clinical settings remains unclear. We present a multi-cohort EHR benchmark comparing classical, deep tabular, and TICL models across varying data scale, feature dimensionality, outcome rarity, and cross-cohort generalization. PFN-based TICL models are sample-efficient in low-data regimes but degrade under naive distance-based retrieval as heterogeneity and imbalance increase. We propose AWARE, a task-aligned retrieval framework using supervised embedding learning and lightweight adapters. AWARE improves AUPRC by up to 12.2% under extreme imbalance, with gains increasing with data complexity. Our results identify retrieval quality and retrieval-inference alignment as key bottlenecks for deploying tabular in-context learning in clinical prediction.

Keywords

Cite

@article{arxiv.2604.01841,
  title  = {Retrieval-aligned Tabular Foundation Models Enable Robust Clinical Risk Prediction in Electronic Health Records Under Real-world Constraints},
  author = {Minh-Khoi Pham and Thang-Long Nguyen Ho and Thao Thi Phuong Dao and Tai Tan Mai and Minh-Triet Tran and Marie E. Ward and Una Geary and Rob Brennan and Nick McDonald and Martin Crane and Marija Bezbradica},
  journal= {arXiv preprint arXiv:2604.01841},
  year   = {2026}
}

Comments

Not peer-reviewed