Learning and Evaluating Graph Neural Network Explanations based on Counterfactual and Factual Reasoning
Juntao Tan, Shijie Geng, Zuohui Fu, Yingqiang Ge, Shuyuan Xu, Yunqi Li, Yongfeng Zhang
Abstract
Structural data well exists in Web applications, such as social networks in social media, citation networks in academic websites, and threads data in online forums. Due to the complex topology, it is difficult to process and make use of the rich information within such data. Graph Neural Networks (GNNs) have shown great advantages on learning representations for structural data. However, the non-transparency of the deep learning models makes it non-trivial to explain and interpret the predictions made by GNNs. Meanwhile, it is also a big challenge to evaluate the GNN explanations, since in many cases, the ground-truth explanations are unavailable. In this paper, we take insights of Counterfactual and Factual (CF 2 ) reasoning from causal inference theory, to solve both the learning and evaluation problems in explainable GNNs. For generating explanations, we propose a model-agnostic framework by formulating an optimization problem based on both of the two casual perspectives. This distinguishes CF 2 from previous explainable GNNs that only consider one of them. Another contribution of the work is the evaluation of GNN explanations. For quantitatively evaluating the generated explanations without the requirement of ground-truth, we design metrics based on Counterfactual and Factual reasoning to evaluate the necessity and sufficiency of the explanations. Experiments show that no matter ground-truth explanations are available or not, CF 2 generates better explanations than previous state-of-the-art methods on real-world datasets. Moreover, the statistic analysis justifies the correlation between the performance on ground-truth evaluation and our proposed metrics. Source code is available at https://github.com/chrisjtan/gnn_cff .
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fa0f68b9-e25c-4d07-95b8-083d964b83a7Cited by top-tier papers42
- Path Language Modeling over Knowledge Graphsfor Explainable RecommendationShijie Geng, Zuohui Fu, Juntao Tan, Yingqiang Ge et al.WWW 2022 · 91 citations
- Explainable Fairness in RecommendationYingqiang Ge, Juntao Tan, Yan Zhu, Yinglong Xia et al.SIGIR 2022 · 53 citations
- GraphTrail: Translating GNN Predictions into Human-Interpretable Logical RulesBurouj Armgaan, Manthan Dalmia, Sourav Medya, Sayan RanuNeurIPS 2024 · 28 citations
- Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection SystemsSicong Cao, Xiaobing Sun, Xiaoxue Wu, David Lo et al.ICSE 2024 · 27 citations
- GOODAT: Towards Test-Time Graph Out-of-Distribution DetectionLuzhi Wang, Dongxiao He, He Zhang, Yixin Liu et al.AAAI 2024 · 27 citations
Builds on10
- Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
- Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian et al.NeurIPS 2020 · 851 citations
- XGNN: Towards Model-Level Explanations of Graph Neural NetworksHao Yuan, Jiliang Tang, Xia Hu, Shuiwang JiKDD 2020 · 261 citations
- Generative Causal Explanations for Graph Neural NetworksWanyu Lin, Hao Lan, Baochun LiICML 2021 · 217 citations
- Neural Collaborative ReasoningHanxiong Chen, Shaoyun Shi, Yunqi Li, Yongfeng ZhangWWW 2021 · 100 citations
Related papers
- Graph Neural Networks for Vulnerability Detection: A Counterfactual ExplanationZhaoyang Chu, Yao Wan, Qian Li, Yang Wu et al.ISSTA 2024 · 19 citations
- Factorized Explainer for Graph Neural NetworksRundong Huang, Farhad Shirani, Dongsheng LuoAAAI 2024 · 16 citations
- OrphicX: A Causality-Inspired Latent Variable Model for Interpreting Graph Neural NetworksWanyu Lin, Hao Lan, Hao Wang, Baochun LiCVPR 2022 · 49 citations
- 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 Counterfactual Explanation for Graph Neural NetworksLinmao Chen, Chaobo He, Junwei Cheng, Chunying Li et al.AAAI 2026
