Making Heads or Tails: Towards Semantically Consistent Visual Counterfactuals
Not on the map. Why?
Abstract (arXiv)
A visual counterfactual explanation replaces image regions in a query image with regions from a distractor image such that the system's decision on the transformed image changes to the distractor class. In this work, we present a novel framework for computing visual counterfactual explanations based on two key ideas. First, we enforce that the replaced and replacer regions contain the same semantic part, resulting in more semantically consistent explanations. Second, we use multiple distractor images in a computationally efficient way and obtain more discriminative explanations with fewer region replacements. Our approach is 27 % more semantically consistent and an order of magnitude faster than a competing method on three fine-grained image recognition datasets. We highlight the utility of our counterfactuals over existing works through machine teaching experiments where we teach humans to classify different bird species. We also complement our explanations with the vocabulary of parts and attributes that contributed the most to the system's decision. In this task as well, we obtain state-of-the-art results when using our counterfactual explanations relative to existing works, reinforcing the importance of semantically consistent explanations. Source code is available at https://github.com/facebookresearch/visual-counterfactuals.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 49 of its 63 references that are in the map. First posted on arXiv 24 Mar 2022.
Builds on
49 of 63 references.
References · 49
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
37 more
- 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
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,309
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2020Concept Bottleneck Modelscited by 1,022
- 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
- 2019Self-labelling via simultaneous clustering and representation learningcited by 525
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
- 2020SCAN: Learning to Classify Images without Labelscited by 351
- 2019Counterfactual Visual Explanationscited by 312
- 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2017Real Time Image Saliency for Black Box Classifierscited by 246
- 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
- 2021Unsupervised Semantic Segmentation by Contrasting Object Mask Proposalscited by 190
- 2021Benchmarking Representation Learning for Natural World Image Collectionscited by 167
- 2017Visualizing Deep Neural Network Decisions: Prediction Difference Analysiscited by 166
- 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
- 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
- 2020The role of explainability in creating trustworthy artificial intelligence for health care: a comprehensive survey of the terminology, design choices, and evaluation strategiescited by 91
- 2020Who Left the Dogs Out? 3D Animal Reconstruction with Expectation Maximization in the Loopcited by 81
- 2019Explanation by Progressive Exaggerationcited by 76
- 2020There and Back Again: Revisiting Backpropagation Saliency Methodscited by 60
- 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
- 2020SCOUT: Self-aware Discriminant Counterfactual Explanationscited by 52
- 2021Revisiting Contrastive Methods for Unsupervised Learning of Visual Representationscited by 48
- 2021STEEX: Steering Counterfactual Explanations with Semanticscited by 40
- 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
- 2021ECINN: Efficient Counterfactuals from Invertible Neural Networkscited by 26
- 2021Improving Users' Mental Model with Attention-directed Counterfactual Editscited by 5
Built on by
Citing papers per year: 2022: 3; 2023: 6; 2024: 12; 2025: 8; 2026: 1.
30 papers.
Sort:
By area:
- 2022Diffusion Models for Counterfactual Explanationscited by 79
- 2022"Help Me Help the AI": Understanding How Explainability Can Support Human-AI Interactioncited by 63
- 2023Adversarial Counterfactual Visual Explanationscited by 47
- 2022OCTET: Object-aware Counterfactual Explanationscited by 28
- 2024Evolving Interpretable Visual Classifiers with Large Language Modelscited by 18
- 2023Latent Diffusion Counterfactual Explanationscited by 17
- 2023Towards Effective Human-AI Decision-Making: The Role of Human Learning in Appropriate Reliance on AI Advicecited by 8
- 2023Choose your Data Wisely: A Framework for Semantic Counterfactualscited by 7
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracycited by 5
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanationscited by 5
- 2024Debiasing Machine Unlearning with Counterfactual Examplescited by 3
- 2024Transferring Domain Knowledge with (X)AI-Based Learning Systemscited by 3
18 more
- 2025Attention IoU: Examining Biases in CelebA using Attention Mapscited by 3
- 2025V-CECE: Visual Counterfactual Explanations via Conceptual Editscited by 3
- 2024Explainable Image Recognition via Enhanced Slot-attention Based Classifiercited by 2
- 2024GIFT: A Framework Towards Global Interpretable Faithful Textual Explanations of Vision Classifierscited by 2
- 2025Faithful Counterfactual Visual Explanations (FCVE)cited by 2
- 2025Causality-guided Prompt Learning for Vision-language Models via Visual Granulationcited by 2
- 2025Looking in the mirror: A faithful counterfactual explanation method for interpreting deep image classification modelscited by 2
- 2025Towards Fine-Grained Interpretability: Counterfactual Explanations for Misclassification with Saliency Partitioncited by 2
- 2024Graph Edits for Counterfactual Explanations: A comparative studycited by 1
- 2024MiMICRI: Towards Domain-centered Counterfactual Explanations of Cardiovascular Image Classification Modelscited by 1
- 2024How Video Meetings Change Your Expressioncited by 1
- 2024Reinforcing Pre-trained Models Using Counterfactual Imagescited by 1
- 2023Recursive Counterfactual Deconfounding for Object Recognitioncited by 0
- 2023Pioneering EEG Motor Imagery Classification Through Counterfactual Analysiscited by 0
- 2024Utilizing Adversarial Examples for Bias Mitigation and Accuracy Enhancementcited by 0
- 2025Explaining Low Perception Model Competency with High-Competency Counterfactualscited by 0
- 2025Semantic Prioritization in Visual Counterfactual Explanations with Weighted Segmentation and Auto-Adaptive Region Selectioncited by 0
- 2026U-CECE: A Universal Multi-Resolution Framework for Conceptual Counterfactual Explanationscited by 0
- 2026U-CECE: A Universal Multi-Resolution Framework for Conceptual Counterfactual Explanations9 Apr 2026
- 2025Semantic Prioritization in Visual Counterfactual Explanations with Weighted Segmentation and Auto-Adaptive Region Selection17 Nov 2025
- 2025Towards Fine-Grained Interpretability: Counterfactual Explanations for Misclassification with Saliency Partition11 Nov 2025
- 2025Looking in the mirror: A faithful counterfactual explanation method for interpreting deep image classification models20 Sep 2025
- 2025V-CECE: Visual Counterfactual Explanations via Conceptual Edits20 Sep 2025
- 2025Causality-guided Prompt Learning for Vision-language Models via Visual Granulation4 Sep 2025
- 2025Explaining Low Perception Model Competency with High-Competency Counterfactuals7 Apr 2025
- 2025Attention IoU: Examining Biases in CelebA using Attention Maps25 Mar 2025
- 2025Faithful Counterfactual Visual Explanations (FCVE)12 Jan 2025
- 2024GIFT: A Framework Towards Global Interpretable Faithful Textual Explanations of Vision Classifiers23 Nov 2024
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations19 Sep 2024
- 2024Explainable Image Recognition via Enhanced Slot-attention Based Classifier8 Jul 2024
18 more
- 2024Reinforcing Pre-trained Models Using Counterfactual Images19 Jun 2024
- 2024Transferring Domain Knowledge with (X)AI-Based Learning Systems3 Jun 2024
- 2024How Video Meetings Change Your Expression3 Jun 2024
- 2024MiMICRI: Towards Domain-centered Counterfactual Explanations of Cardiovascular Image Classification Models24 Apr 2024
- 2024Debiasing Machine Unlearning with Counterfactual Examples24 Apr 2024
- 2024Utilizing Adversarial Examples for Bias Mitigation and Accuracy Enhancement18 Apr 2024
- 2024Evolving Interpretable Visual Classifiers with Large Language Models15 Apr 2024
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracy8 Apr 2024
- 2024Graph Edits for Counterfactual Explanations: A comparative study21 Jan 2024
- 2023Pioneering EEG Motor Imagery Classification Through Counterfactual Analysis10 Nov 2023
- 2023Latent Diffusion Counterfactual Explanations10 Oct 2023
- 2023Towards Effective Human-AI Decision-Making: The Role of Human Learning in Appropriate Reliance on AI Advice3 Oct 2023
- 2023Recursive Counterfactual Deconfounding for Object Recognition25 Sep 2023
- 2023Choose your Data Wisely: A Framework for Semantic Counterfactuals28 May 2023
- 2023Adversarial Counterfactual Visual Explanations17 Mar 2023
- 2022OCTET: Object-aware Counterfactual Explanations22 Nov 2022
- 2022"Help Me Help the AI": Understanding How Explainability Can Support Human-AI Interaction2 Oct 2022
- 2022Diffusion Models for Counterfactual Explanations29 Mar 2022
- 2022Diffusion Models for Counterfactual Explanationscited by 79
- 2023Adversarial Counterfactual Visual Explanationscited by 47
- 2023Latent Diffusion Counterfactual Explanationscited by 17
- 2023Latent Diffusion Counterfactual Explanations10 Oct 2023
- 2023Adversarial Counterfactual Visual Explanations17 Mar 2023
- 2022Diffusion Models for Counterfactual Explanations29 Mar 2022
- 2024Debiasing Machine Unlearning with Counterfactual Examples24 Apr 2024
- 2022"Help Me Help the AI": Understanding How Explainability Can Support Human-AI Interactioncited by 63
- 2022OCTET: Object-aware Counterfactual Explanationscited by 28
- 2024Evolving Interpretable Visual Classifiers with Large Language Modelscited by 18
- 2023Towards Effective Human-AI Decision-Making: The Role of Human Learning in Appropriate Reliance on AI Advicecited by 8
- 2023Choose your Data Wisely: A Framework for Semantic Counterfactualscited by 7
- 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracycited by 5
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanationscited by 5
- 2024Transferring Domain Knowledge with (X)AI-Based Learning Systemscited by 3
- 2025Attention IoU: Examining Biases in CelebA using Attention Mapscited by 3
- 2025V-CECE: Visual Counterfactual Explanations via Conceptual Editscited by 3
- 2024Explainable Image Recognition via Enhanced Slot-attention Based Classifiercited by 2
- 2024GIFT: A Framework Towards Global Interpretable Faithful Textual Explanations of Vision Classifierscited by 2
12 most cited of 25 All 25 (JSON)
- 2026U-CECE: A Universal Multi-Resolution Framework for Conceptual Counterfactual Explanations9 Apr 2026
- 2025Semantic Prioritization in Visual Counterfactual Explanations with Weighted Segmentation and Auto-Adaptive Region Selection17 Nov 2025
- 2025Towards Fine-Grained Interpretability: Counterfactual Explanations for Misclassification with Saliency Partition11 Nov 2025
- 2025Looking in the mirror: A faithful counterfactual explanation method for interpreting deep image classification models20 Sep 2025
- 2025V-CECE: Visual Counterfactual Explanations via Conceptual Edits20 Sep 2025
- 2025Explaining Low Perception Model Competency with High-Competency Counterfactuals7 Apr 2025
- 2025Attention IoU: Examining Biases in CelebA using Attention Maps25 Mar 2025
- 2025Faithful Counterfactual Visual Explanations (FCVE)12 Jan 2025
- 2024GIFT: A Framework Towards Global Interpretable Faithful Textual Explanations of Vision Classifiers23 Nov 2024
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations19 Sep 2024
- 2024Explainable Image Recognition via Enhanced Slot-attention Based Classifier8 Jul 2024
- 2024Reinforcing Pre-trained Models Using Counterfactual Images19 Jun 2024
12 newest of 25 All 25 (JSON)