[Paper Review] Saliency is a Possible Red Herring When Diagnosing Poor Generalization
This paper challenges the assumption that saliency maps reliably diagnose poor generalization in deep learning models. It shows that methods improving generalization via attribution priors—using expert-annotated masks to guide model learning—do not consistently improve saliency map alignment with human-annotated regions, undermining saliency maps as diagnostic tools for model robustness.
Poor generalization is one symptom of models that learn to predict target variables using spuriously-correlated image features present only in the training distribution instead of the true image features that denote a class. It is often thought that this can be diagnosed visually using attribution (aka saliency) maps. We study if this assumption is correct. In some prediction tasks, such as for medical images, one may have some images with masks drawn by a human expert, indicating a region of the image containing relevant information to make the prediction. We study multiple methods that take advantage of such auxiliary labels, by training networks to ignore distracting features which may be found outside of the region of interest. This mask information is only used during training and has an impact on generalization accuracy depending on the severity of the shift between the training and test distributions. Surprisingly, while these methods improve generalization performance in the presence of a covariate shift, there is no strong correspondence between the correction of attribution towards the features a human expert has labelled as important and generalization performance. These results suggest that the root cause of poor generalization may not always be spatially defined, and raise questions about the utility of masks as "attribution priors" as well as saliency maps for explainable predictions.
Motivation & Objective
- To investigate whether saliency maps can reliably diagnose poor generalization due to shortcut learning in deep models.
- To evaluate whether regularization using expert-annotated masks (attribution priors) improves both generalization and attribution quality.
- To test if improved generalization correlates with better alignment between model saliency and human-annotated regions of interest.
- To assess the limitations of using masks as priors for controlling feature attribution in vision models.
- To explore whether attribution-based methods can be trusted as indicators of model correctness in out-of-distribution settings.
Proposed method
- Constructed a synthetic dataset where models overfit to a spatially distinct confounder instead of a complex counting task.
- Built two real-world medical imaging tasks—RSNA (view pathology correlation) and MIMIC-CXR (site pathology correlation)—with controlled train-test covariate shifts.
- Evaluated multiple attribution-aware methods: RRR, GradMask, adversarial domain invariance, and a novel method called ActDiff that minimizes activation differences between masked and unmasked inputs.
- Used integrated gradients for saliency map computation and measured attribution quality via Intersection-over-Union (IoU) with expert masks.
- Evaluated generalization using AUC on out-of-distribution test sets under covariate shift.
- Conducted experiments across multiple random seeds to assess model stability and variability.
Experimental results
Research questions
- RQ1Does improving model generalization through attribution priors lead to better alignment between saliency maps and expert-annotated regions?
- RQ2Is there a reliable correlation between improved out-of-distribution generalization performance and improved saliency map quality (IoU with expert masks)?
- RQ3Can saliency maps be trusted as diagnostic tools for identifying shortcut learning or overfitting in vision models?
- RQ4Do attribution priors based on input masks consistently improve both generalization and feature attribution?
- RQ5How do different attribution-aware regularization techniques compare in their ability to improve generalization and saliency alignment under covariate shift?
Key findings
- Despite significant improvements in out-of-distribution generalization (AUC), several models—especially ActDiff on the RSNA VPC dataset—showed no improvement or even degradation in saliency map alignment (IoU) with expert masks.
- The correlation between AUC (generalization) and IoU (attribution quality) was weak or absent in real-world medical datasets, unlike in the synthetic dataset where a positive correlation was observed.
- Models regularized with attribution priors improved generalization under covariate shift but did not consistently produce saliency maps that matched expert-annotated regions, indicating a decoupling between generalization and attribution fidelity.
- The ActDiff method improved AUC by up to 0.25 in some settings but reduced IoU by over 0.15, demonstrating a clear disconnect between generalization and saliency quality.
- Even with explicit regularization to ignore features outside the mask, models still attributed to regions outside the mask, suggesting that confounding features can be reconstructed from within the mask.
- The results challenge the validity of using saliency maps as diagnostic tools for model overfitting, as good generalization does not imply good attribution, and vice versa.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.