When Should We Trust Medical Image Models? Evaluating Confidence Reliability under Cross-Dataset Shift
Haoran Zhang, Sarah Lam, Yuting Lin, Nuo Chen, Mingyang Li
Key points
From the paper's conclusion- We measure predictive performance using AUC and confidence reliability using Expected Calibration Error (ECE), Brier score, and average confidence on incorrect predictions, all reported with 95% bootstrap confidence intervals.
Abstract
Deep learning models for chest X-ray analysis often achieve strong performance on benchmark datasets, but their reliability under cross-dataset deployment remains unclear. In clinical practice, models trained in one hospital system may be applied to data from another, where distributional and labeling differences can affect both prediction accuracy and model confidence. We conduct a controlled empirical study of model confidence under cross-dataset transfer. We train ResNet-50 and DenseNet-121 on CheXpert and evaluate them on MIMIC-CXR across five experimental settings, focusing on Pneumothorax and Pleural Effusion. We measure predictive performance using AUC and confidence reliability using Expected Calibration Error (ECE), Brier score, and average confidence on incorrect predictions, all reported with 95% bootstrap confidence intervals. We further evaluate post-hoc temperature scaling fit on the source validation set and use Grad-CAM to examine the mechanism behind cross-domain performance differences. Cross-domain AUC drops 7-13 percentage points, and the best in-domain model is not the best cross-domain model. Source-domain temperature scaling produces marginal ECE changes but systematically increases confidence on incorrect predictions across all four model-pathology combinations. Grad-CAM reveals that DenseNet relies on a concentrated spatial prior that fails to transfer, while ResNet's more distributed attention generalizes better. These findings argue for cross-site validation and safety-specific calibration metrics in medical AI evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Calibration, Uncertainty, and Data Efficiency of Deep Learning Chest Radiograph Classifiers Under Cross-Dataset Distribution Shift: A Multi-Dataset BenchmarkmedRxiv · 2026
- Can saliency maps flag chest radiograph classifier errors at a new hospital? An external validation studyarXiv · 2026
- Out-of-Distribution Generalization of Pretrained Multi-Label Chest X-Ray Classifiers: A Retrospective External Validation of Seven Models.Diagnostics (Basel, Switzerland) · 2026
- Leakage-Controlled and Calibrated Deep Ensemble Learning for Reliable COVID-19 Classification from Chest X-Ray and CT ImagesInformation · 2026
- Deep Learning Architecture Comparison for Pneumonia Detection in Pediatric Chest X-Rays: Ensemble Learning and Cross-Population External EvaluationApplied Sciences · 2026
- Lightweight and Explainable AI for Chest Radiograph Classification in Low-Resource Settings: Cross-Dataset Generalization, Grad-CAM Verification, and Uncertainty-Aware ReferralmedRxiv · 2026