GNNShap: Scalable and Accurate GNN Explanation using Shapley Values
Selahattin Akkas, Ariful Azad
Abstract
Graph neural networks (GNNs) are popular machine learning models for graphs with many applications across scientific domains. However, GNNs are considered black box models, and it is challenging to understand how the model makes predictions. Game theoric Shapley value approaches are popular explanation methods in other domains but are not well-studied for graphs. Some studies have proposed Shapley value based GNN explanations, yet they have several limitations: they consider limited samples to approximate Shapley values; some mainly focus on small and large coalition sizes, and they are an order of magnitude slower than other explanation methods, making them inapplicable to even moderate-size graphs. In this work, we propose GNNShap, which provides explanations for edges since they provide more natural explanations for graphs and more fine-grained explanations. We overcome the limitations by sampling from all coalition sizes, parallelizing the sampling on GPUs, and speeding up model predictions by batching. GNNShap gives better fidelity scores and faster explanations than baselines on real-world datasets. The code is available at https://github.com/HipGraph/GNNShap.
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 eb0ec3c4-39be-421a-ba9c-684b9f2c92acCited by top-tier papers7
- Efficient Shapley-Based Influence Attribution in Social NetworksFangzhu Shen, Amir Gilad, Sudeepa RoyKDD 2026
- Exact Computation of Any-Order Shapley Interactions for Graph Neural NetworksMaximilian Muschalik, Fabian Fumagalli, Paolo Frazzetto, Janine Strotherm et al.ICLR 2025
- Explaining Synergistic Effects in Social RecommendationsYicong Li, Shan Jin, Qi Liu, Shuo Wang et al.WWW 2026
- CastX: Cohort-Level Causal Inference Meets Statistical Testing for Faithful and Reliable GNN ExplanationsGuanyuan Yu, Yijun Chen, Liang Xu, Gang KouAAAI 2026
- Unveiling the Vulnerability of Graph-LLMs: An Interpretable Multi-Dimensional Adversarial Attack on TAGsBowen Fan, Zhilin Guo, Xunkai Li, Yihan Zhou et al.WWW 2026
Builds on8
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 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
- XGNN: Towards Model-Level Explanations of Graph Neural NetworksHao Yuan, Jiliang Tang, Xia Hu, Shuiwang JiKDD 2020 · 261 citations
Related papers
- Scalable GNN Explanations with Distributed Shapley ValuesSelahattin Akkas, Aditya Devarakonda, Ariful AzadVLDB 2026
- GStarX: Explaining Graph Neural Networks with Structure-Aware Cooperative GamesShichang Zhang, Yozen Liu, Neil Shah, Yizhou SunNeurIPS 2022 · 79 citations
- Game-theoretic Counterfactual Explanation for Graph Neural NetworksChirag Chhablani, Sarthak Jain, Akshay Channesh, Ian A. Kash et al.WWW 2024 · 14 citations
- GraphTrail: Translating GNN Predictions into Human-Interpretable Logical RulesBurouj Armgaan, Manthan Dalmia, Sourav Medya, Sayan RanuNeurIPS 2024 · 28 citations
- SAME: Uncovering GNN Black Box with Structure-aware Shapley-based Multipiece ExplanationsZiyuan Ye, Rihan Huang, Qilin Wu, Quanying LiuNeurIPS 2023 · 13 citations
