mlsanityData to 7 Oct 2026

Making Heads or Tails: Towards Semantically Consistent Visual Counterfactuals

arXiv 2203.12892 ↗First posted 24 Mar 2022cs.CVcited by 30

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  6. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  8. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  9. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  10. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  11. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  12. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
37 more
  1. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  2. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  3. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  4. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  5. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,309
  6. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
  7. 2018Sanity Checks for Saliency Mapscited by 1,149
  8. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  9. 2020Concept Bottleneck Modelscited by 1,022
  10. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  11. 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
  12. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
  13. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
  14. 2019Self-labelling via simultaneous clustering and representation learningcited by 525
  15. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
  16. 2020SCAN: Learning to Classify Images without Labelscited by 351
  17. 2019Counterfactual Visual Explanationscited by 312
  18. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  19. 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
  20. 2017Real Time Image Saliency for Black Box Classifierscited by 246
  21. 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
  22. 2021Unsupervised Semantic Segmentation by Contrasting Object Mask Proposalscited by 190
  23. 2021Benchmarking Representation Learning for Natural World Image Collectionscited by 167
  24. 2017Visualizing Deep Neural Network Decisions: Prediction Difference Analysiscited by 166
  25. 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
  26. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  27. 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
  28. 2020Who Left the Dogs Out? 3D Animal Reconstruction with Expectation Maximization in the Loopcited by 81
  29. 2019Explanation by Progressive Exaggerationcited by 76
  30. 2020There and Back Again: Revisiting Backpropagation Saliency Methodscited by 60
  31. 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
  32. 2020SCOUT: Self-aware Discriminant Counterfactual Explanationscited by 52
  33. 2021Revisiting Contrastive Methods for Unsupervised Learning of Visual Representationscited by 48
  34. 2021STEEX: Steering Counterfactual Explanations with Semanticscited by 40
  35. 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
  36. 2021ECINN: Efficient Counterfactuals from Invertible Neural Networkscited by 26
  37. 2021Improving Users' Mental Model with Attention-directed Counterfactual Editscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 6; 2024: 12; 2025: 8; 2026: 1.

30 papers.

Sort:

By area:

  1. 2022Diffusion Models for Counterfactual Explanationscited by 79
  2. 2022"Help Me Help the AI": Understanding How Explainability Can Support Human-AI Interactioncited by 63
  3. 2023Adversarial Counterfactual Visual Explanationscited by 47
  4. 2022OCTET: Object-aware Counterfactual Explanationscited by 28
  5. 2024Evolving Interpretable Visual Classifiers with Large Language Modelscited by 18
  6. 2023Latent Diffusion Counterfactual Explanationscited by 17
  7. 2023Towards Effective Human-AI Decision-Making: The Role of Human Learning in Appropriate Reliance on AI Advicecited by 8
  8. 2023Choose your Data Wisely: A Framework for Semantic Counterfactualscited by 7
  9. 2024Allowing humans to interactively guide machines where to look does not always improve human-AI team's classification accuracycited by 5
  10. 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanationscited by 5
  11. 2024Debiasing Machine Unlearning with Counterfactual Examplescited by 3
  12. 2024Transferring Domain Knowledge with (X)AI-Based Learning Systemscited by 3
18 more
  1. 2025Attention IoU: Examining Biases in CelebA using Attention Mapscited by 3
  2. 2025V-CECE: Visual Counterfactual Explanations via Conceptual Editscited by 3
  3. 2024Explainable Image Recognition via Enhanced Slot-attention Based Classifiercited by 2
  4. 2024GIFT: A Framework Towards Global Interpretable Faithful Textual Explanations of Vision Classifierscited by 2
  5. 2025Faithful Counterfactual Visual Explanations (FCVE)cited by 2
  6. 2025Causality-guided Prompt Learning for Vision-language Models via Visual Granulationcited by 2
  7. 2025Looking in the mirror: A faithful counterfactual explanation method for interpreting deep image classification modelscited by 2
  8. 2025Towards Fine-Grained Interpretability: Counterfactual Explanations for Misclassification with Saliency Partitioncited by 2
  9. 2024Graph Edits for Counterfactual Explanations: A comparative studycited by 1
  10. 2024MiMICRI: Towards Domain-centered Counterfactual Explanations of Cardiovascular Image Classification Modelscited by 1
  11. 2024How Video Meetings Change Your Expressioncited by 1
  12. 2024Reinforcing Pre-trained Models Using Counterfactual Imagescited by 1
  13. 2023Recursive Counterfactual Deconfounding for Object Recognitioncited by 0
  14. 2023Pioneering EEG Motor Imagery Classification Through Counterfactual Analysiscited by 0
  15. 2024Utilizing Adversarial Examples for Bias Mitigation and Accuracy Enhancementcited by 0
  16. 2025Explaining Low Perception Model Competency with High-Competency Counterfactualscited by 0
  17. 2025Semantic Prioritization in Visual Counterfactual Explanations with Weighted Segmentation and Auto-Adaptive Region Selectioncited by 0
  18. 2026U-CECE: A Universal Multi-Resolution Framework for Conceptual Counterfactual Explanationscited by 0