mlsanityData to 14 Oct 2026

Fast Diffusion-Based Counterfactuals for Shortcut Removal and Generation

arXiv 2312.14223 ↗First posted 21 Dec 2023cs.CVcited by 41

Not on the map. Why?

Abstract (arXiv)

Shortcut learning is when a model -- e.g. a cardiac disease classifier -- exploits correlations between the target label and a spurious shortcut feature, e.g. a pacemaker, to predict the target label based on the shortcut rather than real discriminative features. This is common in medical imaging, where treatment and clinical annotations correlate with disease labels, making them easy shortcuts to predict disease. We propose a novel detection and quantification of the impact of potential shortcut features via a fast diffusion-based counterfactual image generation that can synthetically remove or add shortcuts. Via a novel inpainting-based modification we spatially limit the changes made with no extra inference step, encouraging the removal of spatially constrained shortcut features while ensuring that the shortcut-free counterfactuals preserve their remaining image features to a high degree. Using these, we assess how shortcut features influence model predictions. This is enabled by our second contribution: An efficient diffusion-based counterfactual explanation method with significant inference speed-up at comparable image quality as state-of-the-art. We confirm this on two large chest X-ray datasets, a skin lesion dataset, and CelebA. Our code is publicly available at fastdime.compute.dtu.dk.

Key facts. Cited by 41 papers in the map (data through 14 Oct 2026). Builds on 58 of its 85 references that are in the map. First posted on arXiv 21 Dec 2023.

Builds on

58 of 85 references.

References · 58

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  7. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  8. 2016Densely Connected Convolutional Networkscited by 6,720
  9. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  10. 2022A ConvNet for the 2020scited by 3,579
  11. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  12. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
38 more
  1. 2019CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparisoncited by 1,423
  2. 2017SmoothGrad: removing noise by adding noisecited by 1,109
  3. 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
  4. 2017ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseasescited by 972
  5. 2017VGGFace2: A dataset for recognising faces across pose and agecited by 914
  6. 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 669
  7. 2023Universal Guidance for Diffusion Modelscited by 437
  8. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 379
  9. 2023Stable Bias: Analyzing Societal Representations in Diffusion Modelscited by 226
  10. 2023Guided Motion Diffusion for Controllable Human Motion Synthesiscited by 223
  11. 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 216
  12. 2021Reading Race: AI Recognises Patient's Racial Identity In Medical Imagescited by 156
  13. 2020Debugging Tests for Model Explanationscited by 147
  14. 2019Interpretations are useful: penalizing explanations to align neural networks with prior knowledgecited by 145
  15. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  16. 2021Counterfactual Explanations Can Be Manipulatedcited by 113
  17. 2022Diffusion Visual Counterfactual Explanationscited by 96
  18. 2022Diffusion Causal Models for Counterfactual Estimationcited by 87
  19. 2019On the Connection Between Adversarial Robustness and Saliency Map Interpretabilitycited by 80
  20. 2022Diffusion Models for Counterfactual Explanationscited by 79
  21. 2019Explanation by Progressive Exaggerationcited by 76
  22. 2020On Counterfactual Explanations under Predictive Multiplicitycited by 74
  23. 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
  24. 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
  25. 2023High Fidelity Image Counterfactuals with Probabilistic Causal Modelscited by 53
  26. 2022Detecting Shortcut Learning for Fair Medical AI using Shortcut Testingcited by 52
  27. 2018Deep Learning Predicts Hip Fracture using Confounding Patient and Healthcare Variablescited by 50
  28. 2020GANterfactual - Counterfactual Explanations for Medical Non-Experts using Generative Adversarial Learningcited by 50
  29. 2023Adversarial Counterfactual Visual Explanationscited by 47
  30. 2022Spurious Features Everywhere -- Large-Scale Detection of Harmful Spurious Features in ImageNetcited by 41
  31. 2021STEEX: Steering Counterfactual Explanations with Semanticscited by 40
  32. 2021Equitable modelling of brain imaging by counterfactual augmentation with morphologically constrained 3D deep generative modelscited by 36
  33. 2022Cycle-Consistent Counterfactuals by Latent Transformationscited by 33
  34. 2021Towards Robust Classification Model by Counterfactual and Invariant Data Generationcited by 30
  35. 2020Deep Learning Applied to Chest X-Rays: Exploiting and Preventing Shortcutscited by 29
  36. 2018xGEMs: Generating Examplars to Explain Black-Box Modelscited by 21
  37. 2022Detecting Shortcuts in Medical Images -- A Case Study in Chest X-rayscited by 20
  38. 2022CIRCLe: Color Invariant Representation Learning for Unbiased Classification of Skin Lesionscited by 17

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 15; 2026: 20.

41 papers.

Sort:

By area:

  1. 2024Global Counterfactual Directionscited by 15
  2. 2024Rethinking Visual Counterfactual Explanations Through Region Constraintcited by 14
  3. 2024Diffusion-based Iterative Counterfactual Explanations for Fetal Ultrasound Image Quality Assessmentcited by 13
  4. 2025Diffusion Counterfactual Generation with Semantic Abductioncited by 10
  5. 2024Counterfactual Explanations via Riemannian Latent Space Traversalcited by 9
  6. 2025Conditional Diffusion Models are Medical Image Classifiers that Provide Explainability and Uncertainty for Freecited by 9
  7. 2025Towards Desiderata-Driven Design of Visual Counterfactual Explainerscited by 7
  8. 2025Mitigating Clever Hans Strategies in Image Classifiers through Generating Counterexamplescited by 7
  9. 2024Mask of truth: model sensitivity to unexpected regions of medical imagescited by 6
  10. 2025Causally Steered Diffusion for Automated Video Counterfactual Generationcited by 6
  11. 2024Reactive Model Correction: Mitigating Harm to Task-Relevant Features via Conditional Bias Suppressioncited by 5
  12. 2025V-CECE: Visual Counterfactual Explanations via Conceptual Editscited by 4
29 more
  1. 2026Visual Disentangled Diffusion Autoencoders: Scalable Counterfactual Generation for Foundation Modelscited by 4
  2. 2025Graph Counterfactual Explainable AI via Latent Space Traversalcited by 3
  3. 2025Learning Common and Salient Generative Factors Between Two Image Datasetscited by 3
  4. 2026Protein Counterfactuals via Diffusion-Guided Latent Optimizationcited by 3
  5. 2026SCE-LITE-HQ: Smooth visual counterfactual explanations with generative foundation modelscited by 3
  6. 2025Ensuring Medical AI Safety: Interpretability-Driven Detection and Mitigation of Spurious Model Behavior and Associated Datacited by 2
  7. 2025Causality-aligned Prompt Learning via Diffusion-based Counterfactual Generationcited by 2
  8. 2026Counterfactual Explanations on Robust Perceptual Geodesicscited by 2
  9. 2026MaskDiME: Adaptive Masked Diffusion for Precise and Efficient Visual Counterfactual Explanationscited by 2
  10. 2025RoentMod: A Synthetic Chest X-Ray Modification Model to Identify and Correct Image Interpretation Model Shortcutscited by 1
  11. 2025Back to the Feature: Explaining Video Classifiers with Video Counterfactual Explanationscited by 1
  12. 2026Exploiting Completeness Perception with Diffusion Transformer for Unified 3D MRI Synthesiscited by 1
  13. 2026Which Modality Decides? Counterfactual Modality Attribution for Multimodal LLMscited by 1
  14. 2026Faithful, Sufficient and Understandable: Rethinking Graph Counterfactual Explanations via Discrete Diffusion Inversioncited by 1
  15. 2025On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselinescited by 0
  16. 2025Shortcut Invariance: Targeted Jacobian Regularization in Disentangled Latent Spacecited by 0
  17. 2025Weight Space Correlation Analysis: Quantifying Feature Utilization in Deep Learning Modelscited by 0
  18. 2026Need for Speed: Zero-Shot Depth Completion with Single-Step Diffusioncited by 0
  19. 2026A Causal Framework for Mitigating Data Shifts in Healthcarecited by 0
  20. 2026U-CECE: A Universal Multi-Resolution Framework for Conceptual Counterfactual Explanationscited by 0
  21. 2026Guided Diffusion Sampling for Precipitation Forecast Interventionscited by 0
  22. 2026Semantic Generative Tuning for Unified Multimodal Modelscited by 0
  23. 2026RED-Sphere: Hyperspherical Residual Edge Debiasing for Cross-Population Fundus Disease Domain Generalizationcited by 0
  24. 2026Concept-based Visual Counterfactual Explanations with Diffusion Modelscited by 0
  25. 2026FiRe: Fixed-Noise Refinement for Visual Counterfactual Explanationscited by 0
  26. 2026Counterfactual Contrastive Analysiscited by 0
  27. 2026MedDiME: Efficient Latent Diffusion with Adaptive Masking for Medical Counterfactual Generationcited by 0
  28. 2026A Data-Interventional Framework for Auditing Privacy and Fairness in Generative Medical Imagingcited by 0
  29. 2026Towards Fast and Disentangled Counterfactuals for Visual Foundation Modelscited by 0