A Multi-Center Study on the Adaptability of a Shared Foundation Model for Electronic Health Records
Authors:
Preprint
Abstract
Foundation models hold promise for transforming AI in healthcare by providing modular components that are easily adaptable to downstream healthcare tasks, making AI development more scalable and cost-effective. Structured EHR foundation models, trained on coded medical records from millions of patients, demonstrated benefits including increased performance with fewer training labels, and improved robustness to distribution shifts. However, questions remain on the feasibility of sharing these models across different hospitals and their performance for local task adaptation. This multi-center study examined the adaptability of a recently released structured EHR foundation model ($FM_{SM}$), trained on longitudinal medical record data from 2.57M Stanford Medicine patients. Experiments were conducted using EHR data at The Hospital for Sick Children and MIMIC-IV. We assessed both adaptability via continued pretraining on local data, and task adaptability compared to baselines of training models from scratch at each site, including a local foundation model. We evaluated the performance of these models on 8 clinical prediction tasks. In both datasets, adapting the off-the-shelf $FM_{SM}$ matched the performance of GBM models locally trained on all data while providing a 13% improvement in settings with few task-specific training labels. With continued pretraining on local data, label efficiency substantially improved, such that $FM_{SM}$ required fewer than 1% of training examples to match the fully trained GBM's performance. Continued pretraining was also 60 to 90% more sample-efficient than training local foundation models from scratch. Our findings show that adapting shared EHR foundation models across hospitals provides improved prediction performance at less cost, underscoring the utility of base foundation models as modular components to streamline the development of healthcare AI.
Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- A Nationwide Network of Health AI Assurance LaboratoriesJAMA, 2024
- TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health recordsNature Communications, 2023
- Development and validation of the SickKids Enterprise-wide Data in Azure Repository (SEDAR)Heliyon, 2023
- Large language models encode clinical knowledgeNature, 2023
- Robust and data-efficient generalization of self-supervised machine learning for diagnostic imagingNature Biomedical Engineering, 2023
- Foundation models for generalist medical artificial intelligenceNature, 2023
- Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease predictionnpj Digital Medicine, 2021
- BEHRT: Transformer for Electronic Health RecordsScientific Reports, 2020
- Scalable and accurate deep learning with electronic health recordsnpj Digital Medicine, 2018
- Hypokalemia and Hyperkalemia in Infants and Children: Pathophysiology and TreatmentJournal of Pediatric Health Care, 2013