Manuscript Offprint

arXiv:2611.05011

Can saliency maps flag chest radiograph classifier errors at a new hospital? An external validation study

Aashish Chapagai, Angad Singh Gurtatta, Erik Cambria

Abstract

Saliency maps are offered as a safeguard for medical image classifiers, but whether they reveal individual errors at a new hospital remains largely untested. We trained a convolutional network and a vision transformer on NIH ChestX-ray14 and evaluated 303,768 decisions per model at the training hospital and at two external sites, in the USA and Vietnam, with radiologist-consensus labels. We scored each explanation by its anatomical enrichment, the area-normalized concentration of attribution in a segmented thoracic region, and tested whether it detects errors beyond the model's confidence. Grad-CAM localized findings less often than radiologists (hit rate at most 0.575 versus 0.888). Adding enrichment to a confidence-based error detector calibrated at the training hospital never raised its area under the curve by more than 0.011, and for the convolutional network the relation between enrichment and correctness reversed between hospitals, degrading the transferred detector. Model confidence, not saliency, should anchor deployment monitoring.

Introduction

Deep learning models trained on large hospital datasets such as NIH ChestX-ray14¹ read chest radiographs about as well as radiologists when tested on held-out data from the same hospitals²,³. Moved to another hospital, they often do worse, partly because they learn acquisition-specific and site-specific shortcuts instead of disease⁴⁻⁷. Many of the resulting errors are silent: a wrong output looks no less confident than a correct one⁸.

Saliency maps are the usual answer to this opacity. A heatmap is shown beside each prediction on the assumption that a reader will notice when the model looks in the wrong place, and international consensus guidance for trustworthy AI in health care lists explainability among its six guiding principles⁹. The evidence that heatmaps can carry this weight is thin. They localize findings less accurately than radiologists¹⁰, several fail tests of localization, robustness and repeatability¹¹,¹², some barely change when a model's weights are randomized¹³, and a plausible map need not reveal why a model generalizes poorly¹⁴. Explanations can also mislead. In a randomized study of clinicians, showing explanations did not offset the harm done by a systematically biased model¹⁵, and post hoc explanations have been argued to offer false reassurance about individual patients¹⁶.

These studies ask whether a map looks right. A deployed system needs something narrower: a signal, available without labels, that a particular prediction is probably wrong. This is the failure-detection problem¹⁷⁻¹⁹. In medical imaging it is stubborn, because no confidence score consistently outperforms simple baselines across tasks and shifts²⁰,²¹, and whether explanations add anything, particularly after a move to a new hospital, is unknown. Related work has summarized attribution inside the lungs at cohort level under domain shift²², tracked saliency localization from NIH ChestX-ray14 to VinDr-CXR²³, audited whether saliency overlaps annotated findings within one dataset²⁴, combined explanation quality with confidence to decide when to defer within one dataset²⁵, and detected distribution shift or out-of-distribution inputs from explanations²⁶,²⁷. To our

knowledge, none has tested whether explanations detect individual errors better than confidence does under real cross-hospital shift.

We ran that test at scale (Fig. 1). We trained a convolutional network (DenseNet-121²⁸) and a vision transformer (ViT-B/16²⁹) on NIH ChestX-ray14 and evaluated every decision on 25,554 test radiographs from three sites in two countries: the NIH internal test set; Stanford Hospital, using CheXpert radiographs with radiologist segmentations and a radiologist localization benchmark³,¹⁰; and two hospitals in Hanoi, using VinDr-CXR radiographs with five-radiologist consensus labels and boxes³⁰. We summarized Grad-CAM, LIME and SHAP explanations by their anatomical enrichment, the area-normalized concentration of attribution in a thoracic region segmented from each radiograph, and pre-specified three hypotheses: that explanations of the same finding become less concentrated on the chest at a new hospital (H1), that false-positive findings have less concentrated explanations than true positives (H2), and that adding enrichment to the model's confidence improves failure detection at new hospitals (H3). We find that explanations shift between hospitals but do not identify errors, that the relation between explanation plausibility and correctness depends on the hospital and, for the convolutional network, reverses between hospitals, and that for networks with a global-average-pooling head the class activation map is not independent evidence about the decision it explains, because it is an exact rearrangement of the class score.

References (55)