A data- and compute-efficient chest X-ray foundation model beyond aggressive scaling
Organizations: Stanford Center for Artificial Intelligence in Medicine and Imaging, Stanford University, Palo Alto, CA, USA. · Department of Radiology, Stanford University, Stanford, CA, USA. · Department of Computer Science, Stanford University, Stanford, CA, USA. · Department of Pediatrics, Stanford University, Stanford, CA, USA. ·
Abstract
Foundation models for medical imaging are typically pretrained on increasingly large datasets, following a "scale-at-all-costs" paradigm. However, this strategy faces two critical challenges: large-scale medical datasets often contain substantial redundancy and severe class imbalance that bias representation learning toward over-represented patterns, and indiscriminate training regardless of heterogeneity in data quality incurs considerable computational inefficiency. Here we demonstrate that active, principled data curation during pretraining can serve as a viable, cost-effective alternative to brute-force dataset enlargement. We introduce CheXficient, a chest X-ray (CXR) foundation model that selectively prioritizes informative training samples. CheXficient is pretrained on only 22.7% of 1,235,004 paired CXR images and reports while consuming under 27.3% of the total compute budget, yet achieving comparable or superior performance to its full-data counterpart and other large-scale pretrained models. We assess CheXficient across 20 individual benchmarks spanning 5 task types, including non-adapted off-the-shelf evaluations (zero-shot findings classification and crossmodal retrieval) and adapted downstream tasks (disease prediction, semantic segmentation, and radiology report generation). Further analyses show that CheXficient systematically prioritizes under-represented training samples, improving generalizability on long-tailed or rare conditions. Overall, our work offers practical insights into the data and computation demands for efficient pretraining and downstream adaptation of medical vision-language foundation models.
Figures & tables
| Source dataset | Country | Patients | Labels | Text tokens | Image-text pairs | ||
| 5%-ile | Average | 95%-ile | |||||
| Real-world Findings (87.4%) | |||||||
| MIMIC-CXR | U.S. | 65,379 | – | 42 | 94 | 176 | 354,619 |
| ReXGradient-160K | U.S. | 95,716 | – | 35 | 76 | 152 | 238,965 |
| CheXpert-Plus | U.S. | 64,725 | – | 38 | 98 | 209 | 222,116 |
| PadChest | Spain | 67,625 | – | 6 | 30 | 76 | 160,672 |
| Dataset | Learning setup | Task | Clinical conditions | # Train | # Test |
| Internal evaluation | |||||
| Non-adapted | Classification | 14 thoracic findings | 0 | 3,082 | |
| Non-adapted | Retrieval | – | 0 | 3,082 | |
| Adapted | Classification | 14 thoracic findings | 227,459 (1–100%) | 3,082 | |
| MIMIC-CXR | Adapted | Report generation | – | 146,909 | 2,461 |
| CheXpert | Non-adapted | Classification | 14 thoracic findings | 0 | 500 |
| Model | Image encoder | Parameter size | Image resolution | Pretraining data size | Pretraining type | Data accessibility |
|---|---|---|---|---|---|---|
| CheXficient | ViT-Base | 86 M | 280 K | image-text | public | |
| CheXZero Tiu et al. (2022) | ViT-Base | 86 M | 377 K | image-text | public | |
| BioViL-T Bannur et al. (2023) | ResNet-50 | 25.6 M | 377 K | image-text | public | |
| LLaVA-Rad Zambrano Chaves et al. (2025) | ViT-Base | 86 M | 697 K | image-text | public | |
| RAD-DINO Perez-Garcia et al. (2025) | ViT-Base | 86 M | 883 K | self-supervised | public + private | |
| CheXagent Chen et al. (2024) | ViT-Large | 307 M | 1,077 K | image-text | public |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | |||
|---|---|---|---|
| SIIM-PTX | 0.8920 [0.8858, 0.8981] | 0.8937 [0.8900, 0.8975] | 0.9074 [0.9001, 0.9148] |
| Pneumonia2017 | 0.9481 [0.9416, 0.9546] | 0.9490 [0.9447, 0.9532] | 0.9659 [0.9597, 0.9722] |
| TBX11K | 0.8209 [0.8145, 0.8274] | 0.8174 [0.8110, 0.8238] | 0.8248 [0.8183, 0.8313] |
| CheXpert | 0.8407 [0.8361, 0.8453] | 0.8335 [0.8290, 0.8380] | 0.8535 [0.8501, 0.8569] |
| MIMIC-CXR | 0.6613 [0.6558, 0.6669] | 0.6758 [0.6708, 0.6807] | 0.6866 [0.6824, 0.6908] |
| ChestX-ray14 | 0.7191 [0.7166, 0.7216] | 0.7312 [0.7255, 0.7369] | 0.7308 [0.7281, 0.7336] |
Medical Imaging Foundation Models
Medical imaging foundation models learn reusable representations for tasks across clinical images, modalities, and institutions.
See all 234 papers