mlsanityData to 14 Oct 2026

Unifying Image Counterfactuals and Feature Attributions with Latent-Space Adversarial Attacks

arXiv 2504.15479 ↗First posted 21 Apr 2025cs.LG cs.CVcited by 0

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  7. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  8. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  9. 2013Intriguing properties of neural networkscited by 5,155
  10. 2017Neural Discrete Representation Learningcited by 4,712
  11. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  12. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
32 more
  1. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  2. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
  3. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,054
  4. 2016Adversarial examples in the physical worldcited by 1,769
  5. 2021Alias-Free Generative Adversarial Networkscited by 1,184
  6. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
  7. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
  8. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
  9. 2018Which Training Methods for GANs do actually Converge?cited by 679
  10. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  11. 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 637
  12. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
  13. 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representationcited by 449
  14. 2021GAN Inversion: A Surveycited by 367
  15. 2015Adversarial Autoencoderscited by 364
  16. 2016Adversarial Feature Learningcited by 350
  17. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  18. 2020StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generationcited by 332
  19. 2016Adversarially Learned Inferencecited by 216
  20. 2020Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Reviewcited by 174
  21. 2020Multi-Objective Counterfactual Explanationscited by 157
  22. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  23. 2022Diffusion Visual Counterfactual Explanationscited by 96
  24. 2022Diffusion Models for Counterfactual Explanationscited by 79
  25. 2019Explanation by Progressive Exaggerationcited by 76
  26. 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
  27. 2020The Intriguing Relation Between Counterfactual Explanations and Adversarial Examplescited by 44
  28. 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
  29. 2019Global Aggregations of Local Explanations for Black Box modelscited by 30
  30. 2024Global Counterfactual Directionscited by 15
  31. 2024Statistical Significance of Feature Importance Rankingscited by 7
  32. 2024Longitudinal Counterfactuals: Constraints and Opportunitiescited by 2

Built on by

Not cited yet.