mlsanityData to 7 Oct 2026

Diffusion Counterfactuals for Image Regressors

arXiv 2503.20595 ↗First posted 26 Mar 2025cs.LG cs.CV stat.MLcited by 5

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Counterfactual explanations have been successfully applied to create human interpretable explanations for various black-box models. They are handy for tasks in the image domain, where the quality of the explanations benefits from recent advances in generative models. Although counterfactual explanations have been widely applied to classification models, their application to regression tasks remains underexplored. We present two methods to create counterfactual explanations for image regression tasks using diffusion-based generative models to address challenges in sparsity and quality: 1) one based on a Denoising Diffusion Probabilistic Model that operates directly in pixel-space and 2) another based on a Diffusion Autoencoder operating in latent space. Both produce realistic, semantic, and smooth counterfactuals on CelebA-HQ and a synthetic data set, providing easily interpretable insights into the decision-making process of the regression model and reveal spurious correlations. We find that for regression counterfactuals, changes in features depend on the region of the predicted value. Large semantic changes are needed for significant changes in predicted values, making it harder to find sparse counterfactuals than with classifiers. Moreover, pixel space counterfactuals are more sparse while latent space counterfactuals are of higher quality and allow bigger semantic changes.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 33 of its 58 references that are in the map. First posted on arXiv 26 Mar 2025.

Builds on

33 of 58 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Adversarial Counterfactual Visual Explanations17 Mar
  2. 2022Diffusion Models already have a Semantic Latent Space20 Oct
  3. 2022Diffusion Models for Counterfactual Explanations29 Mar
  4. 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representation30 Nov

Other references · 29

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2016Densely Connected Convolutional Networkscited by 6,691
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  7. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  8. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  9. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  10. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  11. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  12. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
17 more
  1. 2017VGGFace2: A dataset for recognising faces across pose and agecited by 911
  2. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
  3. 2020Opportunities and Challenges in Explainable Artificial Intelligence (XAI): A Surveycited by 252
  4. 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulationscited by 243
  5. 2021EditGAN: High-Precision Semantic Image Editingcited by 156
  6. 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
  7. 2020Navigating the GAN Parameter Space for Semantic Image Editingcited by 49
  8. 2021STEEX: Steering Counterfactual Explanations with Semanticscited by 40
  9. 2022Diffeomorphic Counterfactuals with Generative Modelscited by 29
  10. 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approachcited by 28
  11. 2021Counterfactual Explanations for Arbitrary Regression Modelscited by 22
  12. 2021FP-Age: Leveraging Face Parsing Attention for Facial Age Estimation in the Wildcited by 20
  13. 2017Understanding and Comparing Deep Neural Networks for Age and Gender Classificationcited by 17
  14. 2023Towards Fixing Clever-Hans Predictors with Counterfactual Knowledge Distillationcited by 14
  15. 2024Counterfactual Explanations for Medical Image Classification and Regression using Diffusion Autoencodercited by 10
  16. 2022An Explainable Regression Framework for Predicting Remaining Useful Life of Machinescited by 6
  17. 2023An XAI framework for robust and transparent data-driven wind turbine power curve modelscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Latent Diffusion Counterfactual Explanations
  2. 2025From Visual Explanations to Counterfactual Explanations with Latent Diffusion
  3. 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
  4. 2024Global Counterfactual Directions
  5. 2024CoLa-DCE -- Concept-guided Latent Diffusion Counterfactual Explanations
  6. 2024Causal Diffusion Autoencoders: Toward Counterfactual Generation via Diffusion Probabilistic Models
  7. 2026Concept-based Visual Counterfactual Explanations with Diffusion Models
  8. 2025DifCluE: Generating Counterfactual Explanations with Diffusion Autoencoders and modal clustering