mlsanityData to 7 Oct 2026

Concept-based Visual Counterfactual Explanations with Diffusion Models

arXiv 2607.22544 ↗First posted 5 May 2026cs.AI cs.CVcited by 0

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Visual counterfactual explanations aim to answer "what minimal change to this image would flip the model's prediction?", and are increasingly important as vision models are deployed in safety-critical domains (e.g., medicine). Existing diffusion-based methods can produce realistic edits, but they rely on external classifiers that must work reliably on noisy images, which makes them fragile and hard to deploy for robust explanations. We introduce C-VCE, a new diffusion framework that builds the classifier directly into the generative model via a concept bottleneck layer, so that counterfactuals are guided by human-interpretable features (concepts) instead of a separate noise robust classifier that works with pixel-level edits. Our model lets users to toggle on/off semantic concepts during sampling, then minimally adjusts relevant image regions, while preserving the rest of the image, respecting feature correlations. To keep edits small and controlled, we add a simple probabilistic regularizer that balances "change the prediction" against "stay close to the original", plus a gradient-based mask that confines modifications to the most relevant regions. On benchmarks such as CelebA, C-VCE matches or improves flip rates while producing counterfactuals that are visually closer to the input and less distorted than baselines that depend on separate noisy-image classifiers. These properties make C-VCE a practical tool for vision systems where users need concrete "what-if" images without having to trust an additional, noise-robust classifier. More broadly, our results suggest that exposing and controlling an internal concept layer is a promising way to make powerful generative models easier to understand and safer to use.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 35 of its 51 references that are in the map. First posted on arXiv 5 May 2026.

Builds on

35 of 51 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025From Visual Explanations to Counterfactual Explanations with Latent Diffusion12 Apr
  2. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis5 Mar
  3. 2023Adversarial Counterfactual Visual Explanations17 Mar
  4. 2022Diffusion Models for Counterfactual Explanations29 Mar
  5. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  6. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  7. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 28

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  3. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  4. 2022Generative Adversarial Networkscited by 5,603
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  7. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  8. 2018Sanity Checks for Saliency Mapscited by 1,149
  9. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  10. 2020Concept Bottleneck Modelscited by 1,022
  11. 2019A Survey on Explainable Artificial Intelligence (XAI): Towards Medical XAIcited by 403
  12. 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 343
16 more
  1. 2019Counterfactual Visual Explanationscited by 312
  2. 2020Opportunities and Challenges in Explainable Artificial Intelligence (XAI): A Surveycited by 252
  3. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  4. 2021Counterfactual Generative Networkscited by 111
  5. 2020Adversarial Robustness on In- and Out-Distribution Improves Explainabilitycited by 73
  6. 2021Explainable Artificial Intelligence for Autonomous Driving: A Comprehensive Overview and Field Guide for Future Research Directionscited by 73
  7. 2024Explainable AI for Safe and Trustworthy Autonomous Driving: A Systematic Reviewcited by 52
  8. 2020GANterfactual - Counterfactual Explanations for Medical Non-Experts using Generative Adversarial Learningcited by 50
  9. 2020The Intriguing Relation Between Counterfactual Explanations and Adversarial Examplescited by 44
  10. 2023Fast Diffusion-Based Counterfactuals for Shortcut Removal and Generationcited by 41
  11. 2021STEEX: Steering Counterfactual Explanations with Semanticscited by 40
  12. 2023COCO-Counterfactuals: Automatically Constructed Counterfactual Examples for Image-Text Pairscited by 39
  13. 2022Cycle-Consistent Counterfactuals by Latent Transformationscited by 33
  14. 2021Towards Robust Classification Model by Counterfactual and Invariant Data Generationcited by 30
  15. 2024Causal Concept Graph Models: Beyond Causal Opacity in Deep Learningcited by 28
  16. 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systemscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024CoLa-DCE -- Concept-guided Latent Diffusion Counterfactual Explanations
  2. 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
  3. 2025V-CECE: Visual Counterfactual Explanations via Conceptual Edits
  4. 2025Diffusion Counterfactuals for Image Regressors
  5. 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach
  6. 2026Generating Medical Image Counterfactuals using Causal Explanations
  7. 2026FiRe: Fixed-Noise Refinement for Visual Counterfactual Explanations
  8. 2026MaskDiME: Adaptive Masked Diffusion for Precise and Efficient Visual Counterfactual Explanations