Explaining Image Classifiers Using Contrastive Counterfactuals in Generative Latent Spaces
Not on the map. Why?
Abstract (arXiv)
Despite their high accuracies, modern complex image classifiers cannot be trusted for sensitive tasks due to their unknown decision-making process and potential biases. Counterfactual explanations are very effective in providing transparency for these black-box algorithms. Nevertheless, generating counterfactuals that can have a consistent impact on classifier outputs and yet expose interpretable feature changes is a very challenging task. We introduce a novel method to generate causal and yet interpretable counterfactual explanations for image classifiers using pretrained generative models without any re-training or conditioning. The generative models in this technique are not bound to be trained on the same data as the target classifier. We use this framework to obtain contrastive and causal sufficiency and necessity scores as global explanations for black-box classifiers. On the task of face attribute classification, we show how different attributes influence the classifier output by providing both causal and contrastive feature attributions, and the corresponding counterfactual images.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 45 of its 59 references that are in the map. First posted on arXiv 10 Jun 2022.
Builds on
45 of 59 references.
References · 45
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
- 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 991
- 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
- 2020GANSpace: Discovering Interpretable GAN Controlscited by 614
- 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 349
- 2018Actionable Recourse in Linear Classificationcited by 328
33 more
- 2019Counterfactual Visual Explanationscited by 313
- 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 289
- 2013Direct and Indirect Effectscited by 280
- 2019Simple Black-box Adversarial Attackscited by 251
- 2020Deep Structural Causal Models for Tractable Counterfactual Inferencecited by 211
- 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 144
- 2019Explaining Classifiers with Causal Concept Effect (CaCE)cited by 135
- 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
- 2019CXPlain: Causal Explanations for Model Interpretation under Uncertaintycited by 98
- 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
- 2021Controllable and Compositional Generation with Latent-Space Energy-Based Modelscited by 64
- 2018Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learningcited by 56
- 2020Evaluating and Mitigating Bias in Image Classifiers: A Causal Perspective Using Counterfactualscited by 56
- 2021Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactualscited by 55
- 2021LatentCLR: A Contrastive Learning Approach for Unsupervised Discovery of Interpretable Directionscited by 52
- 2017Inverse Classification for Comparison-based Interpretability in Machine Learningcited by 50
- 2021WarpedGANSpace: Finding non-linear RBF paths in GAN latent spacecited by 48
- 2021Discover the Unknown Biased Attribute of an Image Classifiercited by 46
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2020Generative causal explanations of black-box classifierscited by 41
- 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
- 2020Debiasing Concept-based Explanations with Causal Analysiscited by 32
- 2020CounteRGAN: Generating Realistic Counterfactuals with Residual Generative Adversarial Netscited by 29
- 2020Causality-based Explanation of Classification Outcomescited by 25
- 2019Explaining Visual Models by Causal Attributioncited by 18
- 2021Latent Space Explanation by Interventioncited by 13
- 2020Towards Disentangling Latent Space for Unsupervised Semantic Face Editingcited by 9
- 2021Cause and Effect: Hierarchical Concept-based Explanation of Neural Networkscited by 8
- 2020A Causal Lens for Peeking into Black Box Predictive Models: Predictive Model Interpretation via Causal Attributioncited by 5
- 2020Unsupervised Discovery of Disentangled Manifolds in GANscited by 5
- 2021EXoN: EXplainable encoder Networkcited by 4
- 2020Accurate and Robust Feature Importance Estimation under Distribution Shiftscited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 2; 2025: 1.
4 papers.
- 2022This changes to that : Combining causal and non-causal explanations to generate disease progression in capsule endoscopycited by 8
- 2024A survey on Concept-based Approaches For Model Improvementcited by 8
- 2024Expected Grad-CAM: Towards gradient faithfulnesscited by 4
- 2025Faithful Counterfactual Visual Explanations (FCVE)cited by 2
- 2025Faithful Counterfactual Visual Explanations (FCVE)12 Jan 2025
- 2024Expected Grad-CAM: Towards gradient faithfulness3 Jun 2024
- 2024A survey on Concept-based Approaches For Model Improvement21 Mar 2024
- 2022This changes to that : Combining causal and non-causal explanations to generate disease progression in capsule endoscopy5 Dec 2022