Lune

WWW2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Exact Computation of Any-Order Shapley Interactions for Graph Neural Networks cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • Exact Computation of Any-Order Shapley Interactions for Graph Neural Networks cites On Explainability of Graph Neural Networks via Subgraph Explorations
  • Exact Computation of Any-Order Shapley Interactions for Graph Neural Networks cites Parameterized Explainer for Graph Neural Network
  • Explaining Synergistic Effects in Social Recommendations cites Exact Computation of Any-Order Shapley Interactions for Graph Neural Networks
  • Explaining Synergistic Effects in Social Recommendations cites Parameterized Explainer for Graph Neural Network
  • CastX: Cohort-Level Causal Inference Meets Statistical Testing for Faithful and Reliable GNN Explanations cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • CastX: Cohort-Level Causal Inference Meets Statistical Testing for Faithful and Reliable GNN Explanations cites On Explainability of Graph Neural Networks via Subgraph Explorations
  • CastX: Cohort-Level Causal Inference Meets Statistical Testing for Faithful and Reliable GNN Explanations cites Parameterized Explainer for Graph Neural Network
  • Unveiling the Vulnerability of Graph-LLMs: An Interpretable Multi-Dimensional Adversarial Attack on TAGs cites Exact Computation of Any-Order Shapley Interactions for Graph Neural Networks
  • Unveiling the Vulnerability of Graph-LLMs: An Interpretable Multi-Dimensional Adversarial Attack on TAGs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites Parameterized Explainer for Graph Neural Network
  • Parameterized Explainer for Graph Neural Network cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Efficient Shapley-Based Influence Attribution in Social NetworksFangzhu Shen, Amir Gilad, Sudeepa RoyKDD 2026
  2. Exact Computation of Any-Order Shapley Interactions for Graph Neural NetworksMaximilian Muschalik, Fabian Fumagalli, Paolo Frazzetto, Janine Strotherm et al.ICLR 2025
  3. Explaining Synergistic Effects in Social RecommendationsYicong Li, Shan Jin, Qi Liu, Shuo Wang et al.WWW 2026
  4. CastX: Cohort-Level Causal Inference Meets Statistical Testing for Faithful and Reliable GNN ExplanationsGuanyuan Yu, Yijun Chen, Liang Xu, Gang KouAAAI 2026
  5. 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

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
  3. On Explainability of Graph Neural Networks via Subgraph ExplorationsHao Yuan, Haiyang Yu, Jie Wang, Kang Li et al.ICML 2021 · 498 citations
  4. PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural NetworksMinh N. Vu, My T. ThaiNeurIPS 2020 · 437 citations
  5. XGNN: Towards Model-Level Explanations of Graph Neural NetworksHao Yuan, Jiliang Tang, Xia Hu, Shuiwang JiKDD 2020 · 261 citations

Related papers

  1. Scalable GNN Explanations with Distributed Shapley ValuesSelahattin Akkas, Aditya Devarakonda, Ariful AzadVLDB 2026
  2. GStarX: Explaining Graph Neural Networks with Structure-Aware Cooperative GamesShichang Zhang, Yozen Liu, Neil Shah, Yizhou SunNeurIPS 2022 · 79 citations
  3. Game-theoretic Counterfactual Explanation for Graph Neural NetworksChirag Chhablani, Sarthak Jain, Akshay Channesh, Ian A. Kash et al.WWW 2024 · 14 citations
  4. GraphTrail: Translating GNN Predictions into Human-Interpretable Logical RulesBurouj Armgaan, Manthan Dalmia, Sourav Medya, Sayan RanuNeurIPS 2024 · 28 citations
  5. SAME: Uncovering GNN Black Box with Structure-aware Shapley-based Multipiece ExplanationsZiyuan Ye, Rihan Huang, Qilin Wu, Quanying LiuNeurIPS 2023 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines