Graph Diffusion Counterfactual Explanation

David Bechtoldt, Sidney Bender
11/20/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Machine learning models that operate on graph-structured data, such as molecular graphs or social networks, often make accurate predictions but offer little insight into why certain predictions are made. Counterfactual explanations address this challenge by seeking the closest alternative scenario where the model's prediction would change. Although counterfactual explanations are extensively studied in tabular data and computer vision, the graph domain remains comparatively underexplored. Constructing graph counterfactuals is intrinsically difficult because graphs are discrete and non-euclidean objects. We introduce Graph Diffusion Counterfactual Explanation, a novel framework for generating counterfactual explanations on graph data, combining discrete diffusion models and classifier-free guidance. We empirically demonstrate that our method reliably generates in-distribution as well as minimally structurally different counterfactuals for both discrete classification targets and continuous properties.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bechtoldt2025graph,
  title  = {Graph Diffusion Counterfactual Explanation},
  author = {David Bechtoldt and Sidney Bender},
  year   = {2025},
  eprint = {2511.16287},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.16287v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.16287.svg)](https://codeofpaper.com/paper/2511.16287)

Discussion