Consistent Explanations by Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Post-hoc explanation methods, e.g., Grad-CAM, enable humans to inspect the spatial regions responsible for a particular network decision. However, it is shown that such explanations are not always consistent with human priors, such as consistency across image transformations. Given an interpretation algorithm, e.g., Grad-CAM, we introduce a novel training method to train the model to produce more consistent explanations. Since obtaining the ground truth for a desired model interpretation is not a well-defined task, we adopt ideas from contrastive self-supervised learning, and apply them to the interpretations of the model rather than its embeddings. We show that our method, Contrastive Grad-CAM Consistency (CGC), results in Grad-CAM interpretation heatmaps that are more consistent with human annotations while still achieving comparable classification accuracy. Moreover, our method acts as a regularizer and improves the accuracy on limited-data, fine-grained classification settings. In addition, because our method does not rely on annotations, it allows for the incorporation of unlabeled data into training, which enables better generalization of the model. Our code is available here: https://github.com/UCDvision/CGC
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 35 of its 47 references that are in the map. First posted on arXiv 1 Oct 2021.
Builds on
35 of 47 references.
References · 35
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
23 more
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,586
- 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,379
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2016Colorful Image Colorizationcited by 1,113
- 2015Unsupervised Visual Representation Learning by Context Predictioncited by 1,062
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 731
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
- 2019A Survey on Explainable Artificial Intelligence (XAI): Towards Medical XAIcited by 403
- 2017The (Un)reliability of saliency methodscited by 331
- 2016Top-down Neural Attention by Excitation Backpropcited by 318
- 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 293
- 2019Understanding Deep Networks via Extremal Perturbations and Smooth Maskscited by 257
- 2017Real Time Image Saliency for Black Box Classifierscited by 246
- 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
- 2017Colorization as a Proxy Task for Visual Understandingcited by 175
- 2019Interpretations are useful: penalizing explanations to align neural networks with prior knowledgecited by 144
- 2017Representation Learning by Learning to Countcited by 120
- 2020Don't Judge an Object by Its Context: Learning to Overcome Contextual Biascited by 91
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
- 2017Weakly-supervised learning of visual relationscited by 36
- 2018Sharpen Focus: Learning with Attention Separability and Consistencycited by 18
Built on by
Citing papers per year: 2022: 2; 2023: 6; 2024: 5; 2025: 1; 2026: 4.
18 papers.
Sort:
By area:
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
- 2022Improving Visual Grounding by Encouraging Consistent Gradient-based Explanationscited by 24
- 2023Are Data-driven Explanations Robust against Out-of-distribution Data?cited by 14
- 2024DEAL: Disentangle and Localize Concept-level Explanations for VLMscited by 14
- 2024B-cosification: Transforming Deep Neural Networks to be Inherently Interpretablecited by 12
- 2022Visualizing and Understanding Contrastive Learningcited by 7
- 2023LICO: Explainable Models with Language-Image Consistencycited by 5
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracycited by 5
- 2023Mitigating Bias: Enhancing Image Classification by Improving Model Explanationscited by 3
- 2024ConPro: Learning Severity Representation for Medical Images using Contrastive Learning and Preference Optimizationcited by 3
- 2025Attention IoU: Examining Biases in CelebA using Attention Mapscited by 3
- 2023On the Consistency and Robustness of Saliency Explanations for Time Series Classificationcited by 2
6 more
- 2026Where Not to Learn: Prior-Aligned Training with Subset-based Attribution Constraintscited by 2
- 2023Exploring the Lottery Ticket Hypothesis with Explainability Methods: Insights into Sparse Network Performancecited by 1
- 2024Attri-Net: A Globally and Locally Inherently Interpretable Model for Multi-Label Classification Using Class-Specific Counterfactualscited by 1
- 2026Hierarchical, Interpretable, Label-Free Concept Bottleneck Modelcited by 1
- 2026Empirical Characterization of Rationale Stability Under Controlled Perturbations for Explainable Pattern Recognitioncited by 0
- 2026Consistent Evidence, Robust Recognition: Faithful Attribution Regularization under Geometric Transformationscited by 0
- 2026Consistent Evidence, Robust Recognition: Faithful Attribution Regularization under Geometric Transformations26 Jul 2026
- 2026Empirical Characterization of Rationale Stability Under Controlled Perturbations for Explainable Pattern Recognition6 Apr 2026
- 2026Hierarchical, Interpretable, Label-Free Concept Bottleneck Model2 Apr 2026
- 2026Where Not to Learn: Prior-Aligned Training with Subset-based Attribution Constraints30 Jan 2026
- 2025Attention IoU: Examining Biases in CelebA using Attention Maps25 Mar 2025
- 2024B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable1 Nov 2024
- 2024DEAL: Disentangle and Localize Concept-level Explanations for VLMs19 Jul 2024
- 2024Attri-Net: A Globally and Locally Inherently Interpretable Model for Multi-Label Classification Using Class-Specific Counterfactuals8 Jun 2024
- 2024ConPro: Learning Severity Representation for Medical Images using Contrastive Learning and Preference Optimization29 Apr 2024
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracy8 Apr 2024
- 2023LICO: Explainable Models with Language-Image Consistency15 Oct 2023
- 2023On the Consistency and Robustness of Saliency Explanations for Time Series Classification4 Sep 2023
6 more
- 2023Exploring the Lottery Ticket Hypothesis with Explainability Methods: Insights into Sparse Network Performance7 Jul 2023
- 2023Mitigating Bias: Enhancing Image Classification by Improving Model Explanations4 Jul 2023
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistency3 Jun 2023
- 2023Are Data-driven Explanations Robust against Out-of-distribution Data?29 Mar 2023
- 2022Improving Visual Grounding by Encouraging Consistent Gradient-based Explanations30 Jun 2022
- 2022Visualizing and Understanding Contrastive Learning20 Jun 2022
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
- 2023Are Data-driven Explanations Robust against Out-of-distribution Data?cited by 14
- 2024B-cosification: Transforming Deep Neural Networks to be Inherently Interpretablecited by 12
- 2022Visualizing and Understanding Contrastive Learningcited by 7
- 2023LICO: Explainable Models with Language-Image Consistencycited by 5
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracycited by 5
- 2023Mitigating Bias: Enhancing Image Classification by Improving Model Explanationscited by 3
- 2024ConPro: Learning Severity Representation for Medical Images using Contrastive Learning and Preference Optimizationcited by 3
- 2025Attention IoU: Examining Biases in CelebA using Attention Mapscited by 3
- 2023On the Consistency and Robustness of Saliency Explanations for Time Series Classificationcited by 2
- 2026Where Not to Learn: Prior-Aligned Training with Subset-based Attribution Constraintscited by 2
- 2023Exploring the Lottery Ticket Hypothesis with Explainability Methods: Insights into Sparse Network Performancecited by 1
12 most cited of 16 All 16 (JSON)
- 2026Consistent Evidence, Robust Recognition: Faithful Attribution Regularization under Geometric Transformations26 Jul 2026
- 2026Empirical Characterization of Rationale Stability Under Controlled Perturbations for Explainable Pattern Recognition6 Apr 2026
- 2026Hierarchical, Interpretable, Label-Free Concept Bottleneck Model2 Apr 2026
- 2026Where Not to Learn: Prior-Aligned Training with Subset-based Attribution Constraints30 Jan 2026
- 2025Attention IoU: Examining Biases in CelebA using Attention Maps25 Mar 2025
- 2024B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable1 Nov 2024
- 2024Attri-Net: A Globally and Locally Inherently Interpretable Model for Multi-Label Classification Using Class-Specific Counterfactuals8 Jun 2024
- 2024ConPro: Learning Severity Representation for Medical Images using Contrastive Learning and Preference Optimization29 Apr 2024
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracy8 Apr 2024
- 2023LICO: Explainable Models with Language-Image Consistency15 Oct 2023
- 2023On the Consistency and Robustness of Saliency Explanations for Time Series Classification4 Sep 2023
- 2023Exploring the Lottery Ticket Hypothesis with Explainability Methods: Insights into Sparse Network Performance7 Jul 2023
12 newest of 16 All 16 (JSON)