Generating In-Distribution Counterfactual Explanation for Graph Neural Networks
Linmao Chen, Chaobo He, Junwei Cheng, Chunying Li, Quanlong Guan
Abstract
Graph Neural Networks (GNNs) have received increasing attention due to their ability to handle graph-structured data, yet their explainability remains a significant challenge. An effective solution is to provide the GNN models with counterfactual explanations, which aim to answer "How should the input instance be perturbed to change the model's prediction?". However, existing works mainly focus on generating explanations that can effectively alter model predictions, while neglecting whether the explanations remain aligned with the original data distribution, leading to the distribution shift problem. To address this problem, we propose a novel method called ICExplainer for generating explanations within the original distribution. Specifically, we introduce graph diffusion-based generative model into the counterfactual reasoning, treating it as an optimization objective for graph distribution learning. Taking insights from variational inference, we use it to estimate the true distribution of the input graphs to retain essential structural and semantic information. The inferred distribution is then utilized as prior knowledge to guide the reverse process, ensuring that generated explanations are both counterfactual and distributionally coherent. Extensive experiments conducted on both synthetic and real-world datasets demonstrate the superior performance of ICExplainer over existing methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on13
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
- Learning and Evaluating Graph Neural Network Explanations based on Counterfactual and Factual ReasoningJuntao Tan, Shijie Geng, Zuohui Fu, Yingqiang Ge et al.WWW 2022 · 151 citations
- Robust Counterfactual Explanations on Graph Neural NetworksMohit Bajaj, Lingyang Chu, Zi Yu Xue, Jian Pei et al.NeurIPS 2021 · 140 citations
- CLEAR: Generative Counterfactual Explanations on GraphsJing Ma, Ruocheng Guo, Saumitra Mishra, Aidong Zhang et al.NeurIPS 2022 · 83 citations
- DiGress: Discrete Denoising diffusion for graph generationClément Vignac, Igor Krawczuk, Antoine Siraudin, Bohan Wang et al.ICLR 2023 · 70 citations
Related papers
- D4Explainer: In-distribution Explanations of Graph Neural Network via Discrete Denoising DiffusionJialin Chen, Shirley Wu, Abhijit Gupta, Rex YingNeurIPS 2023 · 31 citations
- Generating In-Distribution Proxy Graphs for Explaining Graph Neural NetworksZhuomin Chen, Jiaxing Zhang, Jingchao Ni, Xiaoting Li et al.ICML 2024 · 7 citations
- MixupExplainer: Generalizing Explanations for Graph Neural Networks with Data AugmentationJiaxing Zhang, Dongsheng Luo, Hua WeiKDD 2023 · 20 citations
- Graph Neural Networks for Vulnerability Detection: A Counterfactual ExplanationZhaoyang Chu, Yao Wan, Qian Li, Yang Wu et al.ISSTA 2024 · 19 citations
- Out-of-Distribution Robust Explainer for Graph Neural NetworksGeonhee Han, Heesoo Jung, Hyunju Kang, Hogun ParkKDD 2026
