CoDy: Counterfactual Explainers for Dynamic Graphs
Zhan Qu, Daniel Gomm, Michael Färber
Abstract
Temporal Graph Neural Networks (TGNNs) are widely used to model dynamic systems where relationships and features evolve over time. Although TGNNs demonstrate strong predictive capabilities in these domains, their complex architectures pose significant challenges for explainability. Counterfactual explanation methods provide a promising solution by illustrating how modifications to input graphs can influence model predictions. To address this challenge, we present CoDy-Counterfactual Explainer for Dynamic Graphs-a model-agnostic, instance-level explanation approach that identifies counterfactual subgraphs to interpret TGNN predictions. CoDy employs a search algorithm that combines Monte Carlo Tree Search with heuristic selection policies, efficiently exploring a vast search space of potential explanatory subgraphs by leveraging spatial, temporal, and local event impact information. Extensive experiments against state-of-the-art factual and counterfactual baselines demonstrate CoDy's effectiveness, with improvements of 16% in AUFSC
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 on14
- Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar et al.ICLR 2020 · 901 citations
- Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
- On Explainability of Graph Neural Networks via Subgraph ExplorationsHao Yuan, Haiyang Yu, Jie Wang, Kang Li et al.ICML 2021 · 498 citations
- PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural NetworksMinh N. Vu, My T. ThaiNeurIPS 2020 · 437 citations
- Interpretable and Generalizable Graph Learning via Stochastic Attention MechanismSiqi Miao, Mia Liu, Pan LiICML 2022 · 288 citations
Related papers
- Training-free Counterfactual Explanation for Temporal Graph Model InferenceMingjian Lu, Haolai Che, Yangxin Fan, Qu Liu et al.ICLR 2026
- Explaining Temporal Graph Neural Network via Quantum-Inspired Evolutionary AlgorithmMasahiro Mitani, Yuya SasakiAAAI 2026
- Explaining Temporal Graph Models through an Explorer-Navigator FrameworkWenwen Xia, Mincai Lai, Caihua Shan, Yao Zhang et al.ICLR 2023
- CATGX: Causal-Aware Temporal Graph Explanation via Scalable Motif Sampling and AdjustmentMingjian Lu, Hieu Vu, Vu K. Le, Jing Ma et al.KDD 2026
- UNR-Explainer: Counterfactual Explanations for Unsupervised Node Representation Learning ModelsHyunju Kang, Geonhee Han, Hogun ParkICLR 2024 · 8 citations
