Unifying Image Counterfactuals and Feature Attributions with Latent-Space Adversarial Attacks
Not on the map. Why?
Abstract (arXiv)
Counterfactuals are a popular framework for interpreting machine learning predictions. These what if explanations are notoriously challenging to create for computer vision models: standard gradient-based methods are prone to produce adversarial examples, in which imperceptible modifications to image pixels provoke large changes in predictions. We introduce a new, easy-to-implement framework for counterfactual images that can flexibly adapt to contemporary advances in generative modeling. Our method, Counterfactual Attacks, resembles an adversarial attack on the representation of the image along a low-dimensional manifold. In addition, given an auxiliary dataset of image descriptors, we show how to accompany counterfactuals with feature attribution that quantify the changes between the original and counterfactual images. These importance scores can be aggregated into global counterfactual explanations that highlight the overall features driving model predictions. While this unification is possible for any counterfactual method, it has particular computational efficiency for ours. We demonstrate the efficacy of our approach with the MNIST and CelebA datasets.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 44 of its 52 references that are in the map. First posted on arXiv 21 Apr 2025.
Builds on
44 of 52 references.
References · 44
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2013Intriguing properties of neural networkscited by 5,155
- 2017Neural Discrete Representation Learningcited by 4,712
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
32 more
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,054
- 2016Adversarial examples in the physical worldcited by 1,769
- 2021Alias-Free Generative Adversarial Networkscited by 1,184
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
- 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
- 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
- 2018Which Training Methods for GANs do actually Converge?cited by 679
- 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
- 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 637
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
- 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representationcited by 449
- 2021GAN Inversion: A Surveycited by 367
- 2015Adversarial Autoencoderscited by 364
- 2016Adversarial Feature Learningcited by 350
- 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
- 2020StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generationcited by 332
- 2016Adversarially Learned Inferencecited by 216
- 2020Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Reviewcited by 174
- 2020Multi-Objective Counterfactual Explanationscited by 157
- 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
- 2022Diffusion Visual Counterfactual Explanationscited by 96
- 2022Diffusion Models for Counterfactual Explanationscited by 79
- 2019Explanation by Progressive Exaggerationcited by 76
- 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
- 2020The Intriguing Relation Between Counterfactual Explanations and Adversarial Examplescited by 44
- 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
- 2019Global Aggregations of Local Explanations for Black Box modelscited by 30
- 2024Global Counterfactual Directionscited by 15
- 2024Statistical Significance of Feature Importance Rankingscited by 7
- 2024Longitudinal Counterfactuals: Constraints and Opportunitiescited by 2
Built on by
Not cited yet.