Abstract
Foundation models have emerged as a powerful approach for processing electronic health records (EHRs), offering flexibility to handle diverse medical data modalities. In this study, we present a comprehensive benchmark that evaluates the performance, fairness, and interpretability of foundation models, both as unimodal encoders and as multimodal learners, using the publicly available MIMIC-IV database. To support consistent and reproducible evaluation, we developed a standardized data processing pipeline that harmonizes heterogeneous clinical records into an analysis-ready format. We systematically compared eight foundation models, encompassing both unimodal and multimodal models, as well as domain-specific and general-purpose variants. Our findings demonstrate that incorporating multiple data modalities leads to consistent improvements in predictive performance without introducing additional bias. Through this benchmark, we aim to support the development of effective and trustworthy multimodal artificial intelligence (AI) systems for real-world clinical applications.
Introduction
Electronic Health Records (EHRs) are a cornerstone of clinical AI, yet they present significant challenges due to their inherent complexity. A single patient stay typically generates a heterogeneous mix of structured demographics, high-frequency time-series (vital signs), unstructured clinical notes, and medical imaging such as Chest X-rays. While Foundation Models (FMs) have shown promise in representing these diverse data types, the field lacks a unified, reproducible framework for comparative evaluation. Most existing research focuses on isolated modalities or utilizes private datasets, hindering transparency and reproducibility. Furthermore, critical questions remain regarding whether integrating additional modalities introduces algorithmic bias or compromises clinical interpretability.
Methodology
To address these challenges, we introduced a standardized benchmark pipeline designed for the multimodal evaluation of foundation models. The framework consists of three primary components: a data processing engine, a modular unimodal encoding framework, and a multimodal learner evaluation path.
Standardized Data Pipeline
We developed a data processing engine that harmonizes records from the MIMIC-IV database. The pipeline focuses on the first 24 hours of an ICU stay, linking identifiers and timestamps to create a "Master Dataset" that is then filtered through customizable inclusion criteria to produce a standardized benchmark dataset.
Evaluation Frameworks
We evaluated foundation models through two distinct lenses:
- Unimodal Encoders: We utilized a modular framework where embeddings are extracted from modality-specific models (e.g., RadBERT for text, CXR-Foundation for images). These embeddings are then concatenated and fed into a simple classifier, such as Logistic Regression, allowing for a "plug-and-play" comparison of representation quality.
- Multimodal Learners: We assessed Large Vision-Language Models (LVLMs), such as GPT-4o mini and LLaVA-Med. This involved converting tabular and time-series data into text prompts, which were then processed alongside visual inputs to test the models' ability to reason directly about clinical outcomes.
Data and Tasks
The study utilizes the MIMIC-IV v2.2 database, encompassing 73,181 ICU stays across 50,920 unique patients. The benchmark incorporates four key modalities: structured demographics, time-series vital signs, Chest X-ray (CXR) images, and radiology reports. We focused on two primary predictive tasks: in-hospital mortality and long length of stay (LOS > 3 days).
Key Results and Insights
The Value of Multimodality
Our results indicate that multimodality is often a "free lunch." Incorporating additional data types, such as clinical notes and images, consistently improved predictive performance. Importantly, this performance gain did not come at the expense of fairness; metrics like demographic parity and equalized odds remained stable across racial and gender subgroups.
Performance Benchmarks
- Mortality Prediction: The best-performing modular setup, combining
Text-Embedding-3-Largewith aSwin Transformer, achieved an AUROC of 0.8918. GPT-4o mini proved highly competitive as a zero-shot multimodal learner in this category. - Length of Stay (LOS): The modular framework using
Text-Embedding-3-Largeand a GRU for time-series achieved an AUROC of 0.8532. However, LVLMs showed limited effectiveness for this task, suggesting a gap in their ability to reason through complex operational clinical metrics.
Domain Specificity vs. Scale
In unimodal encoding, we found that domain-specific models (trained on medical data) performed comparably to general-purpose models (like OpenAI’s text-embedding-3-large) that benefit from significantly larger training scales. This suggests that for specialized clinical tasks, targeted training can be as effective as massive-scale general pre-training.
Discussion and Conclusion
While multimodality improves performance, time-series data remains the most influential factor for ICU outcome prediction. We also observed a "generalist gap" where LVLMs struggle with specific tasks like LOS prediction despite their medical knowledge.
Future work will focus on more sophisticated fusion mechanisms, such as cross-attention, to better model the inter-modality relationships. We also plan to expand the benchmark to include additional modalities like ECG signals and ICD codes. By open-sourcing our pipeline, we hope to provide a foundation for the development of more robust and trustworthy clinical AI systems.
Summary updated