mlsanityData to 7 Oct 2026

From Visual Explanations to Counterfactual Explanations with Latent Diffusion

arXiv 2504.09202 ↗First posted 12 Apr 2025cs.CVcited by 4

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Visual counterfactual explanations are ideal hypothetical images that change the decision-making of the classifier with high confidence toward the desired class while remaining visually plausible and close to the initial image. In this paper, we propose a new approach to tackle two key challenges in recent prominent works: i) determining which specific counterfactual features are crucial for distinguishing the "concept" of the target class from the original class, and ii) supplying valuable explanations for the non-robust classifier without relying on the support of an adversarially robust model. Our method identifies the essential region for modification through algorithms that provide visual explanations, and then our framework generates realistic counterfactual explanations by combining adversarial attacks based on pruning the adversarial gradient of the target classifier and the latent diffusion model. The proposed method outperforms previous state-of-the-art results on various evaluation criteria on ImageNet and CelebA-HQ datasets. In general, our method can be applied to arbitrary classifiers, highlight the strong association between visual and counterfactual explanations, make semantically meaningful changes from the target classifier, and provide observers with subtle counterfactual images.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 37 of its 44 references that are in the map. First posted on arXiv 12 Apr 2025.

Builds on

37 of 44 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023Adversarial Counterfactual Visual Explanations17 Mar
  2. 2022Diffusion Models for Counterfactual Explanations29 Mar
  3. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  4. 2020Denoising Diffusion Implicit Models6 Oct
  5. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 32

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  8. 2016Densely Connected Convolutional Networkscited by 6,691
  9. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  10. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  11. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  12. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
20 more
  1. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  2. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  4. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  5. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
  6. 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
  7. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
  8. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  9. 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
  10. 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 575
  11. 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 439
  12. 2022Blended Latent Diffusioncited by 430
  13. 2016Grad-CAM: Why did you say that?cited by 159
  14. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editingcited by 134
  15. 2022Diffusion Visual Counterfactual Explanationscited by 96
  16. 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
  17. 2020SS-CAM: Smoothed Score-CAM for Sharper Visual Feature Localizationcited by 46
  18. 2022Cycle-Consistent Counterfactuals by Latent Transformationscited by 33
  19. 2022Sparse Visual Counterfactual Explanations in Image Spacecited by 30
  20. 2020IS-CAM: Integrated Score-CAM for axiomatic-based explanationscited by 29

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
  2. 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach
  3. 2025Diffusion Counterfactuals for Image Regressors
  4. 2024CoLa-DCE -- Concept-guided Latent Diffusion Counterfactual Explanations
  5. 2023Latent Diffusion Counterfactual Explanations
  6. 2024Global Counterfactual Directions
  7. 2025V-CECE: Visual Counterfactual Explanations via Conceptual Edits
  8. 2025Explaining Low Perception Model Competency with High-Competency Counterfactuals