Lune

NeurIPS2022Top-tier venue

Diffusion Visual Counterfactual Explanations

Maximilian Augustin, Valentyn Boreiko, Francesco Croce, Matthias Hein

Abstract

Visual Counterfactual Explanations (VCEs) are an important tool to understand the decisions of an image classifier. They are "small" but "realistic" semantic changes of the image changing the classifier decision. Current approaches for the generation of VCEs are restricted to adversarially robust models and often contain non-realistic artefacts, or are limited to image classification problems with few classes. In this paper, we overcome this by generating Diffusion Visual Counterfactual Explanations (DVCEs) for arbitrary ImageNet classifiers via a diffusion process. Two modifications to the diffusion process are key for our DVCEs: first, an adaptive parameterization, whose hyperparameters generalize across images and models, together with distance regularization and late start of the diffusion process, allow us to generate images with minimal semantic changes to the original ones but different classification. Second, our cone regularization via an adversarially robust model ensures that the diffusion process does not converge to trivial non-semantic changes, but instead produces realistic images of the target class which achieve high confidence by the classifier. Code is available under https://github.com/valentyn1boreiko/DVCEs .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Counterfactual Image Editing cites Denoising Diffusion Probabilistic Models
  • Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet cites A ConvNet for the 2020s
  • Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet cites Diffusion Models Beat GANs on Image Synthesis
  • Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet cites Denoising Diffusion Probabilistic Models
  • A ConvNet for the 2020s cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • SDDM: Score-Decomposed Diffusion Models on Manifolds for Unpaired Image-to-Image Translation cites Diffusion Models Beat GANs on Image Synthesis
  • SDDM: Score-Decomposed Diffusion Models on Manifolds for Unpaired Image-to-Image Translation cites Denoising Diffusion Probabilistic Models
  • Efficient and Scalable Graph Generation through Iterative Local Expansion cites Denoising Diffusion Probabilistic Models
  • Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach cites Diffusion Models Beat GANs on Image Synthesis
  • Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach cites Denoising Diffusion Probabilistic Models
  • Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach cites Denoising Diffusion Implicit Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNetYannic Neuhaus, Maximilian Augustin, Valentyn Boreiko, Matthias HeinICCV 2023 · 42 citations
  2. Efficient and Scalable Graph Generation through Iterative Local ExpansionAndreas Bergmeister, Karolis Martinkus, Nathanaël Perraudin, Roger WattenhoferICLR 2024 · 38 citations
  3. Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based ApproachShaofeng Zhang, Jinfa Huang, Qiang Zhou, Zhibin Wang et al.ICLR 2024 · 24 citations
  4. SDDM: Score-Decomposed Diffusion Models on Manifolds for Unpaired Image-to-Image TranslationShikun Sun, Longhui Wei, Junliang Xing, Jia Jia et al.ICML 2023 · 21 citations
  5. Counterfactual Image EditingYushu Pan, Elias BareinboimICML 2024 · 19 citations

Builds on17

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations

Related papers

  1. Adversarial Counterfactual Visual ExplanationsGuillaume Jeanneret, Loïc Simon, Frédéric JurieCVPR 2023
  2. V-CECE: Visual Counterfactual Explanations via Conceptual EditsNikolaos Spanos, Maria Lymperaiou, Giorgos Filandrianos, Konstantinos Thomas et al.NeurIPS 2025 · 4 citations
  3. Looking in the Mirror: A Faithful Counterfactual Explanation Method for Interpreting Deep Image Classification ModelsTownim Faisal Chowdhury, Vu Minh Hieu Phan, Kewen Liao, Nanyu Dong et al.ICCV 2025
  4. MaskDiME: Adaptive Masked Diffusion for Precise and Efficient Visual Counterfactual ExplanationsChanglu Guo, Anders Nymark Christensen, Anders Bjorholm Dahl, Morten Rieger HannemoseCVPR 2026 · 2 citations
  5. Counterfactual Explanations with Probabilistic Guarantees on their Robustness to Model ChangeIgnacy Stepka, Jerzy Stefanowski, Mateusz LangoKDD 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines