Manuscript Offprint

arXiv:2610.21809

From Adults to Children: Benchmarking Foundation Models for Chest X-Ray Classification under Domain Shift

Sara Inácio, Hugo Proença, João C. Neves

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Foundation models have shown significant potential across diverse fields and have been applied to medical imaging, but their robustness across patient populations remains unclear. In this work, we investigate foundation models' ability to generalize from adult to pediatric chest X-ray classification. To the best of our knowledge, this is the first benchmark to compare multiple foundation models under a common adult-to-pediatric evaluation setting while also analyzing the effect of adaptation depth. We harmonize VinDr-CXR and PediCXR into a five-label classification task and evaluate six foundation models and two CNN baselines. All models are adapted using adult data only and tested in both the in-domain and pediatric domains using linear probing, partial fine-tuning, and full fine-tuning. The benchmark reveals a clear and consistent trend: all models suffer a substantial performance degradation when transferred from adult to pediatric data, with drops exceeding 10 percentage points. While Macro-AUROC values reach approximately 92% on the adult test set, performance decreases to around 78% on the pediatric domain. Another important finding is that increasing the depth of adaptation does not significantly improve cross-population generalization. Moreover, strong in-domain performance does not translate into better performance on pediatric data.

1. Introduction

Medical imaging plays an important role in clinical diagnosis, and deep learning has shown considerable potential for automated medical image analysis. Chest radiography (CXR) is widely used in pediatric care due to its low cost, availability, and relatively low radiation exposure [18]. However, the development of deep learning systems for chest X-ray analysis has been largely supported by adult datasets. Previous studies have shown that models trained on adult chest radiographs can experience substantial performance degradation when evaluated on pediatric populations [5, 6, 36]. As illustrated in Fig. 1, this

Adult Domain - Source

Pediatric Domain - Target

Figure

Domain shift

VinDr-CXR

PediCXR

Figure 1. Illustration of the domain shift between adult and pediatric chest X-rays. The model is trained on the adult source domain and evaluated on the pediatric target domain.

problem is closely related to domain shift [13], where the data distribution at test time differs from that observed during training. In medical imaging, such differences may arise from acquisition devices, imaging protocols, clinical institutions, annotation practices, or patient populations [8]. Age is a particularly relevant factor in population shifts in chest radiography, as adult and pediatric examinations differ in anatomical characteristics, disease prevalence, and the presentation of several radiographic findings. Foundation models [3] have recently emerged as a promising approach for learning transferable representations from large-scale datasets. In medical imaging, these models are commonly pretrained using self-supervised, weakly supervised, or multimodal objectives and can then be adapted to downstream clinical tasks [28]. Several foundation models have also been developed specifically for medical imaging and chest radiography [1, 20, 35]. Their transfer capabilities make them particularly relevant for studying whether large-scale pretraining can improve robustness across patient populations. Despite this progress, the behavior of foundation models under an adult-to-pediatric CXR domain shift re-mains poorly characterized. Existing work has mainly focused on individual models, specific tasks, or single adaptation settings. In particular, it remains unclear how foundation models with different pretraining domains and learning objectives compare when evaluated under the same adult-to-pediatric protocol, and how the level of downstream adaptation affects their cross-domain performance. In this work, we study adult-to-pediatric generalization in chest X-ray classification by conducting a standardized comparison between conventional CNNs and foundation models. We evaluate two CNN baselines and six foundation models spanning different pretraining domains and learning objectives. All models are adapted exclusively using adult VinDrCXR [16] data and evaluated both in-domain on adult radiographs and cross-domain on PediCXR [21], without using pediatric data during downstream adaptation. We evaluate each model under three adaptation strategies: linear probing, partial fine-tuning, and full fine-tuning. To the best of our knowledge, this is the first systematic benchmark of multiple foundation models under a common adult-to-pediatric CXR evaluation protocol. Our main contributions are:

• We provide a standardized benchmark of conventional CNNs and foundation models under an adult-to-pediatric chest X-ray domain shift.

• We evaluate three downstream adaptation strategies: linear probing, partial fine-tuning, and full fine-tuning, and study how they affect in-domain and cross-domain performance.

• We analyze how model family, pretraining domain, and learning objective relate to the performance degradation observed between adult and pediatric populations.

The code will be made publicly available upon acceptance to facilitate reproducibility of the benchmark.

References (33)