Counterfactual Explanations for Medical Image Classification and Regression using Diffusion Autoencoder
Not on the map. Why?
Abstract (arXiv)
Counterfactual explanations (CEs) aim to enhance the interpretability of machine learning models by illustrating how alterations in input features would affect the resulting predictions. Common CE approaches require an additional model and are typically constrained to binary counterfactuals. In contrast, we propose a novel method that operates directly on the latent space of a generative model, specifically a Diffusion Autoencoder (DAE). This approach offers inherent interpretability by enabling the generation of CEs and the continuous visualization of the model's internal representation across decision boundaries. Our method leverages the DAE's ability to encode images into a semantically rich latent space in an unsupervised manner, eliminating the need for labeled data or separate feature extraction models. We show that these latent representations are helpful for medical condition classification and the ordinal regression of severity pathologies, such as vertebral compression fractures (VCF) and diabetic retinopathy (DR). Beyond binary CEs, our method supports the visualization of ordinal CEs using a linear model, providing deeper insights into the model's decision-making process and enhancing interpretability. Experiments across various medical imaging datasets demonstrate the method's advantages in interpretability and versatility. The linear manifold of the DAE's latent space allows for meaningful interpolation and manipulation, making it a powerful tool for exploring medical image properties. Our code is available at https://doi.org/10.5281/zenodo.13859266.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 39 of its 58 references that are in the map. First posted on arXiv 2 Aug 2024.
Builds on
39 of 58 references.
References · 39
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 682
- 2021Designing an Encoder for StyleGAN Image Manipulationcited by 542
- 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representationcited by 447
- 2020CheXbert: Combining Automatic Labelers and Expert Annotations for Accurate Radiology Report Labeling Using BERTcited by 329
- 2022Diffusion Models already have a Semantic Latent Spacecited by 324
- 2020Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Reviewcited by 174
27 more
- 2018Synthetic Data Augmentation using GAN for Improved Liver Lesion Classificationcited by 136
- 2020VerSe: A Vertebrae Labelling and Segmentation Benchmark for Multi-detector CT Imagescited by 111
- 2016Medical Image Synthesis with Context-Aware Generative Adversarial Networkscited by 91
- 2020Generative Hierarchical Features from Synthesizing Imagescited by 83
- 2022What is Healthy? Generative Counterfactual Diffusion for Lesion Localizationcited by 52
- 2021Using StyleGAN for Visual Interpretability of Deep Learning Models on Medical Imagescited by 35
- 2023Lumbar spine segmentation in MR images: a dataset and a public benchmarkcited by 30
- 2023Diffusion Models for Counterfactual Generation and Anomaly Detection in Brain Imagescited by 30
- 2021A Computed Tomography Vertebral Segmentation Dataset with Anatomical Variations and Multi-Vendor Scanner Datacited by 28
- 2022CheXplaining in Style: Counterfactual Explanations for Chest X-rays using StyleGANcited by 25
- 2021LARGE: Latent-Based Regression through GAN Semanticscited by 17
- 2023DreaMR: Diffusion-driven Counterfactual Explanation for Functional MRIcited by 14
- 2024Diffusion-based Iterative Counterfactual Explanations for Fetal Ultrasound Image Quality Assessmentcited by 13
- 2020Deep Learning to Quantify Pulmonary Edema in Chest Radiographscited by 10
- 2022medXGAN: Visual Explanations for Medical Classifiers through a Generative Latent Spacecited by 10
- 2022Counterfactual Image Synthesis for Discovery of Personalized Predictive Image Markerscited by 10
- 2020Keypoints Localization for Joint Vertebra Detection and Fracture Severity Quantificationcited by 8
- 2020Grading Loss: A Fracture Grade-based Metric Loss for Vertebral Fracture Detectioncited by 8
- 2022Interpretable Vertebral Fracture Quantification via Anchor-Free Landmarks Localizationcited by 8
- 2022Context-Aware Transformers For Spinal Cancer Detection and Radiological Gradingcited by 8
- 2018Unsupervised and semi-supervised learning with Categorical Generative Adversarial Networks assisted by Wasserstein distance for dermoscopy image Classificationcited by 7
- 2021GLOWin: A Flow-based Invertible Generative Framework for Learning Disentangled Feature Representations in Medical Imagescited by 6
- 20203D Convolutional Sequence to Sequence Model for Vertebral Compression Fractures Identification in CTcited by 5
- 2022Faint Features Tell: Automatic Vertebrae Fracture Screening Assisted by Contrastive Learningcited by 5
- 2017Deep Generative Adversarial Neural Networks for Realistic Prostate Lesion MRI Synthesiscited by 4
- 2022Interpretable Vertebral Fracture Diagnosiscited by 4
- 2023Shape Matters: Detecting Vertebral Fractures Using Differentiable Point-Based Shape Decodingcited by 1
Built on by
Citing papers per year: 2025: 7; 2026: 3.
10 papers.
- 2025Diffusion Counterfactual Generation with Semantic Abductioncited by 8
- 2025Diffusion Counterfactuals for Image Regressorscited by 5
- 2025Evaluation of 3D Counterfactual Brain MRI Generationcited by 2
- 2025Diffusion-based Counterfactual Augmentation: Towards Robust and Interpretable Knee Osteoarthritis Gradingcited by 0
- 2025On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselinescited by 0
- 2025Hide-and-Seek Attribution: Weakly Supervised Segmentation of Vertebral Metastases in CTcited by 0
- 2025UbiQVision: Quantifying Uncertainty in XAI for Image Recognitioncited by 0
- 2026EvoMorph: Counterfactual Explanations for Continuous Time-Series Extrinsic Regression Applied to Photoplethysmographycited by 0
- 2026Counterfactual Explainability Framework With CycleGAN And Counterfactual-Classifier Alignnment Score for Retinal Disease Classificationcited by 0
- 2026Generating Medical Image Counterfactuals using Causal Explanationscited by 0
- 2026Generating Medical Image Counterfactuals using Causal Explanations2 Sep 2026
- 2026Counterfactual Explainability Framework With CycleGAN And Counterfactual-Classifier Alignnment Score for Retinal Disease Classification23 Jul 2026
- 2026EvoMorph: Counterfactual Explanations for Continuous Time-Series Extrinsic Regression Applied to Photoplethysmography15 Jan 2026
- 2025UbiQVision: Quantifying Uncertainty in XAI for Image Recognition23 Dec 2025
- 2025Hide-and-Seek Attribution: Weakly Supervised Segmentation of Vertebral Metastases in CT7 Dec 2025
- 2025On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines20 Aug 2025
- 2025Evaluation of 3D Counterfactual Brain MRI Generation4 Aug 2025
- 2025Diffusion-based Counterfactual Augmentation: Towards Robust and Interpretable Knee Osteoarthritis Grading18 Jun 2025
- 2025Diffusion Counterfactual Generation with Semantic Abduction9 Jun 2025
- 2025Diffusion Counterfactuals for Image Regressors26 Mar 2025