Abstract
Foundation models hold significant promise in healthcare, given their capacity to extract meaningful representations independent of downstream tasks. This property has enabled state-of-the-art performance across several clinical applications trained on structured electronic health record (EHR) data, even in settings with limited labeled data, a prevalent challenge in healthcare. However, there is little consensus on these models' potential for clinical utility due to the lack of desiderata of comprehensive and meaningful tasks and sufficiently diverse evaluations to characterize the benefit over conventional supervised learning. To address this gap, we propose a suite of clinically meaningful tasks spanning patient outcomes, early prediction of acute and chronic conditions, including desiderata for robust evaluations. We evaluate state-of-the-art foundation models on EHR data consisting of 5 million patients from Columbia University Irving Medical Center (CUMC), a large urban academic medical center in New York City, across 14 clinically relevant tasks. We measure overall accuracy, calibration, and subpopulation performance to surface tradeoffs based on the choice of pre-training, tokenization, and data representation strategies. Our study aims to advance the empirical evaluation of structured EHR foundation models and guide the development of future healthcare foundation models.
Introduction
The healthcare AI community is currently in a "gold rush" to build foundation models (FMs)—large-scale models pre-trained on massive amounts of unlabeled data—for structured electronic health records (EHRs). The hope is that these models can learn universal representations of patient health that work across many different medical tasks. However, a major evaluation gap exists. Most existing benchmarks are narrow, focusing on simple metrics like AUROC for a handful of tasks. They often ignore calibration (the reliability of predicted probabilities) and fairness across subpopulations. FoMoH (Foundation Models for Healthcare) addresses this by providing a standardized, clinically grounded evaluation suite.
Methods and Framework
The FoMoH pipeline transforms raw EHR data into a standardized format (MEDS) and utilizes the ACES library for reproducible cohort extraction. The researchers evaluated six prominent model architectures, including BERT-based (CEHR-BERT, CORE-BEHRT), GPT-based (CEHR-GPT, Llama), State-Space Models (Mamba), and a custom time-to-event model (MOTOR).
To measure the quality of the learned representations, the study employed linear probing—freezing the foundation model and training a simple logistic regression on top of its embeddings. This ensures the evaluation measures the intrinsic knowledge captured by the model rather than its capacity for fine-tuning.
Datasets
- CUMC-EHR: The primary dataset consists of longitudinal records for 5.3 million patients from Columbia University Irving Medical Center, spanning 1986 to 2023.
- Stanford-EHR (EHRSHOT): A publicly available subset used to test transportability. A Mamba model pre-trained at Stanford was tested on Columbia data to evaluate how well medical knowledge transfers between institutions.
Key Insights and Results
Evaluation across 14 tasks revealed several critical findings regarding the current state of EHR foundation models:
- Temporal Modeling: Models that explicitly account for the time between events (e.g., MOTOR’s time-to-event objective or CEHR-GPT’s time tokens) significantly outperformed those treating records as simple sequences.
- The Rare Condition Hurdle: While FMs are intended to solve "small data" problems, traditional supervised baselines (like XGBoost) often provided better calibration and competitive accuracy for rare conditions (low prevalence).
- The Lab Data Paradox: Experiments with Llama showed improved performance on several tasks when laboratory data was removed, suggesting high-frequency lab results might "crowd out" other clinical signals in fixed-size embedding spaces.
- Transportability Challenges: Models trained at one institution (Stanford) performed poorly when applied to another (Columbia), highlighting the difficulty of creating a truly "universal" medical foundation model due to varying coding practices.
In terms of specific model performance, CEHR-GPT and MOTOR generally achieved the best balance of discrimination (AUROC) and calibration. Notably, foundation models generally showed smaller performance gaps across different levels of healthcare utilization compared to traditional baselines, suggesting that large-scale pre-training may help mitigate certain biases.
Limitations and Future Work
While the CUMC dataset is extensive, it represents a single academic center. Future research will explore scaling models beyond 120 million parameters to see if larger capacities address transportability and rare-condition issues. Additionally, while linear probing provides a clear view of representation quality, future work will investigate how full fine-tuning impacts model rankings and actual clinical decision-making.
Summary updated