One Size Doesn't Fit All: Input Adaptive Class Activation Mapping for Improved Visual Explanations
Ayesha Sahar, Tahir Mustafa Madni, Tehseen Zia, David Windridge, Uzair Iqbal Janjua, Waleed Umar
Key points
From the paper's conclusion- These findings demonstrate the applicability of ADAPT-CAM across different architectures and datasets.
Abstract
Despite their widespread use in tasks such as image classification, object detection and semantic segmentation, the limited interpretability of Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) can undermine trust and hinder adoption in safety-critical applications. Explainable artificial intelligence (XAI) methods seek to address this by providing human-understandable explanations for model predictions. Class Activation Maps (CAM) constitute one such widely used XAI technique for visualizing discriminative regions. However, existing CAM methods may exhibit limitations in channel weighting, localization, and adaptability across network architectures potentially resulting in noisy or imprecise explanations. To address these issues, we propose ADAPT-CAM, a gradient-based, parameter-adaptive CAM framework. The method combines first-order gradient energy with activation-weighted second-order curvature to derive channel contributions. It further incorporates adaptive local contrast normalization and knee-guided soft channel selection to refine the resulting explanations. Importantly, key parameters are estimated independently for each input, allowing the framework to adapt to variations in feature representations across network architectures. We validate ADAPT-CAM on ImageNet and Oxford 102 Flowers across CNN and ViT architectures. Quantitative results demonstrate competitive or superior performance against established CAM methods across multiple evaluation metrics. In parallel, qualitative comparisons illustrate its ability to highlight discriminative image regions. Further parameter analysis and ablation experiments examine the behaviour and contributions of the individual adaptive components. These findings demonstrate the applicability of ADAPT-CAM across different architectures and datasets.
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
- Winsor-CAM: Human-Tunable Visual Explanations From Deep Networks via Layer-Wise WinsorizationIEEE Transactions on Pattern Analysis and Machine Intelligence · 2026
- DFO-CAM: Dual-Flow Optimization Towards Faithful Visual Explanations.IEEE transactions on image processing : a publication of the IEEE Signal Processing Society · 2026
- SACX: Suppression-Absence-Competition eXplanations for the why-not question in visual recognition.Frontiers in artificial intelligence · 2026
- Targeted Visual Counterfactual Explanations for Contrastive Vision-Language ModelarXiv · 2026
- Learning from the Right Regions: Class-Conditioned Explanation Guidance for Medical ImagingarXiv · 2026