AI News HubLIVE
Original source2 min read

Concept-based Visual Counterfactual Explanations with Diffusion Models

This paper introduces C-VCE, a diffusion framework that integrates the classifier into the generative model via a concept bottleneck layer, eliminating the need for external noise-robust classifiers. C-VCE allows users to toggle semantic concepts during sampling, generating minimal edits while preserving the rest of the image. It includes a probabilistic regularizer to balance prediction change and similarity to the original, plus a gradient-based mask to confine modifications. On CelebA, C-VCE achieves comparable or better flip rates with visually closer and less distorted counterfactuals.

SourcearXiv AIAuthor: Yassine Oueslati, Daniil Kirilenko, Martin Gjoreski, Marc Langheinrich

-->

[Submitted on 5 May 2026]

Title:Concept-based Visual Counterfactual Explanations with Diffusion Models

View a PDF of the paper titled Concept-based Visual Counterfactual Explanations with Diffusion Models, by Yassine Oueslati and 3 other authors

View PDF HTML (experimental)

Abstract: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.

Comments: Accepted at the 4th World Conference on eXplainable Artificial Intelligence (XAI 2026)

Subjects:

Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV)

ACM classes: I.2.10; I.4.8; I.5.1

Cite as: arXiv:2607.22544 [cs.AI]

(or arXiv:2607.22544v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2607.22544

arXiv-issued DOI via DataCite

Submission history

From: Yassine Oueslati [view email] [v1] Tue, 5 May 2026 15:32:50 UTC (16,277 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Concept-based Visual Counterfactual Explanations with Diffusion Models, by Yassine Oueslati and 3 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.AI

new | recent | 2026-07

Change to browse by:

cs cs.CV

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)