Towards Global Counterfactual-Based Self-Explainable Graph Neural Networks
Abstract
Graph Counterfactual Explanations (GCEs) have emerged as an effective approach for interpreting Graph Neural Network (GNN) predictions by identifying minimal graph modifications needed to change predictions. However, existing methods suffer from two fundamental limitations: (1) They rely on a post-hoc explanation paradigm, where a separate explainer is trained after the GNN. This sequential optimization prevents the explainer from leveraging how the GNN learned its representations, often resulting in lower-quality explanations. (2) They are largely local, generating counterfactual explanations only for individual samples. Consequently, they fail to capture generalizable patterns across the data distribution, a crucial gap for applications like drug discovery, where global principles enable systematic decision-making across thousands of cases. To address these limitations, we propose GCSGNN (Global Counterfactual-based Self-explainable GNN), a unified framework that integrates counterfactual generation into the GNN architecture, encouraging explanations that faithfully reflect the model's decision-making process. Beyond local explanations, GCSGNN discovers shared latent patterns influencing predictions across graphs, yielding global (i.e., model-level) counterfactual explanations. We further introduce an efficient latent-space counterfactual mechanism that avoids the combinatorial complexity of discrete graph manipulation, enabling scalable discovery of generalizable modification patterns. Extensive experiments on real-world datasets demonstrate that GCSGNN outperforms existing methods in generating effective counterfactual explanations. Our code is available at https://github.com/wendyzheng22/gcsgnn.
Create a lesson
Related papers
Aggregation Dispersion: An Information-Geometric Diagnostic of Oversmoothing in Graph Neural Networks
Shared title terminology · Abdessalam Ed-dib, Amine Mohamed Aboussalah
Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-Improvement
Shared title terminology · Linghua Zhang, Yunhe Li
Learning Global Probabilistic Explanations
Shared title terminology · Frédéric Koriche, Louenas Bounia
SleepXA: Composing Pretrained Neural and Cardiac Foundation Models for Sleep Representation Learning
Shared title terminology · Xiaoyu Chen, Xiao Gu, Chao Zhang et al.
Hybrid state-space and attention neural operators for nonlinear structural dynamics under environmental loading
Shared title terminology · Anastasios Stamou, Rui Teixeira, Maria Nogal et al.
Which Failure Does an Intervention Repair? When Agent Interventions Help, and Where Self-Evolving Skills Stall
Shared title terminology · Zihan Jin, Gaoyuan Du, Jiate Li et al.