eess.IVMar 31, 2026

Feature-level Site Leakage Reduction for Cross-Hospital Chest X-ray Transfer via Self-Supervised Learning

Authors: Ayoub Louaye Bouaziz, Lokmane Chebouba

Organizations: University of Mentouri Brothers Constantine 1, Constantine, Algeria · University of Paris-VIII-Vincennes-Saint-Denis, France · LRIA Laboratory, University of Science and Technology Houari Boumediene (USTHB), Bab-Ezzouar, Algeria · LSIACIO Laboratory, University of Mentouri Brothers Constantine 1, Constantine, Algeria

Abstract

Cross-hospital failure in chest X-ray models is often attributed to domain shift, yet most work assumes invariance without measuring it. This paper studies how to measure site leakage directly and how that measurement changes conclusions about transfer methods. We study multi-site self-supervised learning (SSL) and feature-level adversarial site confusion for cross-hospital transfer. We pretrain a ResNet-18 on NIH and CheXpert without pathology labels. We then freeze the encoder and train a linear pneumonia classifier on NIH only, evaluating transfer to RSNA. We quantify site leakage using a post hoc linear probe that predicts acquisition site from frozen backbone features ff and projection features zz. Across 3 random seeds, multi-site SSL improves RSNA AUC from 0.6736 ±\pm 0.0148 (ImageNet initialization) to 0.7804 ±\pm 0.0197. Adding adversarial site confusion on ff reduces measured leakage but does not reliably improve AUC and increases variance. On ff, site probe accuracy drops from 0.9890 ±\pm 0.0021 (SSL-only) to 0.8504 ±\pm 0.0051 (CanonicalF), where chance is 0.50. On zz, probe accuracy drops from 0.8912 ±\pm 0.0092 to 0.7810 ±\pm 0.0250. These results show that measuring leakage changes how transfer methods should be interpreted: multi-site SSL drives transfer, while adversarial confusion exposes the limits of invariance assumptions.

Figures & tables

Explore similar work

Aug 26, 2026

What Do Medical Vision-Language Models Learn in Radiology? Transfer, Alignment, and Source-Proxy Leakage Under Distribution Shift

Medical vision-language models (VLMs) can appear reliable in-domain while failing when acquisition domain, paired supervision, or evaluation protocol changes. We study this failure mode as a representation-level blind spot relevant to epistemic intelligence, without claiming a formal estimator of epistemic uncertainty. Using NIH ChestXray14 and CheXpert, we first isolate source-only cross-dataset visual transfer from unsupervised domain-adaptation diagnostics. Using PadChest and OpenI, we then evaluate multimodal alignment under strict pair-index retrieval and quantify metadata-derived source-proxy information retained in frozen embeddings. Self-supervised visual initialization improves NIH-to-CheXpert transfer over supervised ImageNet initialization in matched ResNet-18 comparisons, whereas adversarial adaptation is useful only in a narrow regime and becomes unstable as adversarial pressure increases. Multimodal exact-pair retrieval remains low under external OpenI stress testing, and source-proxy information remains recoverable from learned representations. Qualitative nearest-neighbor and Grad-CAM analyses show clinically plausible cross-dataset structure and thoracic attention patterns in many cases, while device-heavy and false-positive cases remain ambiguous. Auxiliary architecture checks are task-dependent and do not support a universal backbone ranking. Overall, the study shows that apparent competence under a single protocol can conceal transfer, alignment, and shortcut-related failure modes, motivating stress-tested evaluation of medical VLMs under distribution shift.
Aug 31, 2026

Beyond Accuracy: Quantifying Pulmonary Attribution in Anatomy-Guided Chest X-Ray Classification Under Domain Shift

Deep-learning models can achieve strong chest X-ray (CXR) classification performance without establishing whether their predictions predominantly rely on pulmonary image content. This study evaluates pulmonary attribution containment as an anatomy-related reliability property distinct from diagnostic performance. We propose DBCA-SegNet-MGAP, a multi-task anatomy-guided CNN-Transformer framework that combines complementary feature representations through bidirectional cross-backbone attention, predicts a soft lung mask, and incorporates this anatomical prior directly into classification through Mask-Guided Adaptive Global Average Pooling (MGAP). Pulmonary attribution containment is quantified using the Anatomical Local Energy Ratio (ALR) and high-intensity cumulative ALR ([email protected]). Experiments were repeated across three training seeds using the COVID-19 Radiography Database for four-class internal testing and a locked Shenzhen-to-Montgomery protocol for zero-shot external tuberculosis testing. On COVID-19, the proposed model achieved a weighted F1 of 0.9615±0.00150.9615 \pm 0.0015 and macro ROC-AUC of 0.9906±0.00070.9906 \pm 0.0007. In an architecture-matched dual-bridge comparison, replacing conventional GAP with MGAP increased ALR from 0.3878±0.00980.3878 \pm 0.0098 to 0.7086±0.01040.7086 \pm 0.0104 and [email protected] from 0.5265±0.01010.5265 \pm 0.0101 to 0.9905±0.00180.9905 \pm 0.0018, while weighted F1 remained essentially unchanged (0.9618±0.00150.9618 \pm 0.0015 vs. 0.9615±0.00150.9615 \pm 0.0015). Under locked external transfer to Montgomery, ROC-AUC remained 0.9080±0.00430.9080 \pm 0.0043 and pulmonary ALR remained 0.6466±0.00810.6466 \pm 0.0081, whereas weighted F1 decreased to 0.7528±0.00800.7528 \pm 0.0080 and ECE increased to 0.1683±0.00550.1683 \pm 0.0055. These findings show that diagnostic discrimination, calibration, and pulmonary attribution containment are distinct model properties and support their joint evaluation under internal testing and external domain shift.
Oct 15, 2026

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

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.