H-RCAM: An Explainability-Based Robustness Metric for Deep Neural Network Image Classifiers
Kun Qiu, Jawad Ur Rehman, Pak-Lok Poon, Dave Towey, Liping Chen
Key points
From the paper's conclusion- We propose the Harmonic Robustness-based Class Activation Metric (H-RCAM) to quantify such shifts under controlled background replacement.
Abstract
Prediction consistency is widely used to assess image classifier robustness under input transformations. When predicted labels remain unchanged, the spatial evidence supporting them can still shift. We propose the Harmonic Robustness-based Class Activation Metric (H-RCAM) to quantify such shifts under controlled background replacement. H-RCAM takes the harmonic mean of Jensen–Shannon divergence and normalized correlation distance between attribution maps generated using gradient-weighted class activation mapping (Grad-CAM) for each source image and its background-replaced counterpart. We used ResNet-18 for the primary evaluation and DenseNet-121 for supplementary experiments. We used two development datasets to select H-RCAM’s components and fusion rule. In exploratory comparisons on these datasets, H-RCAM assigned higher scores to prediction-inconsistent pairs and achieved areas under the receiver operating characteristic curve (AUROCs) of 0.8953 and 0.8066. H-RCAM retained discrimination on four independent datasets without recalibration (AUROC 0.7808–0.8739). H-RCAM also distinguished degrees of attribution change among prediction-consistent pairs and retained discrimination under photographic background replacement on the two development datasets. A sensitivity analysis on the development datasets showed that H-RCAM’s advantage over its individual components depended on whether Grad-CAM explained each image’s predicted class or the ground-truth class for both images. H-RCAM thus complements prediction consistency when evaluating classifier robustness to background changes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HiRA-CAM: Preserving Fine-Grained Spatial Relevance in Gradient-Based Visual ExplanationsarXiv · 2026
- Entropy-Regularized Integrated Gradients for Stable Feature AttributionarXiv · 2026
- One Size Doesn't Fit All: Input Adaptive Class Activation Mapping for Improved Visual ExplanationsarXiv · 2026
- CAMEO: A Class-Activation-Mapped Equitable Overlay Framework for Fair and Robust Deep Learning-based Skin Condition DiagnosisarXiv · 2026
- Localization Gains from Explanation Regularization Should Not Be Interpreted as Faithfulness Gains.arXiv · 2026
- Teacher-Referenced Heatmap Coverage for Auditing Attribution Shifts in Updated CT Classifiers.Journal of imaging informatics in medicine · 2026