On Explainability of Graph Neural Networks via Subgraph Explorations

Hao Yuan, Haiyang Yu, Jie Wang, Kang Li, Shuiwang Ji
2/9/2021
cs.LGcs.AI
gnn

Official code: divelab/DIG (2,010 stars, Python, GPL-3.0, last commit 2024-07-15).

Abstract

We consider the problem of explaining the predictions of graph neural networks (GNNs), which otherwise are considered as black boxes. Existing methods invariably focus on explaining the importance of graph nodes or edges but ignore the substructures of graphs, which are more intuitive and human-intelligible.

Show full abstract

In this work, we propose a novel method, known as SubgraphX, to explain GNNs by identifying important subgraphs. Given a trained GNN model and an input graph, our SubgraphX explains its predictions by efficiently exploring different subgraphs with Monte Carlo tree search. To make the tree search more effective, we propose to use Shapley values as a measure of subgraph importance, which can also capture the interactions among different subgraphs. To expedite computations, we propose efficient approximation schemes to compute Shapley values for graph data. Our work represents the first attempt to explain GNNs via identifying subgraphs explicitly and directly. Experimental results show that our SubgraphX achieves significantly improved explanations, while keeping computations at a reasonable level.

View on arXivView PDF

Code Implementations(1)

divelab/DIGOfficial100%
GPL-3.0

A library for graph deep learning research

2,010289Python, Jupyter NotebookOct 30, 20202 years agoGPL-3.0
3d-graphdeep-learningexplainable-mlgraph-generationgraph-neural-network+1 more

Similar Papers

Cite this paper

@article{yuan2021explainability,
  title  = {On Explainability of Graph Neural Networks via Subgraph Explorations},
  author = {Hao Yuan and Haiyang Yu and Jie Wang and Kang Li and Shuiwang Ji},
  year   = {2021},
  eprint = {2102.05152},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.05152}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.05152.svg)](https://codeofpaper.com/paper/2102.05152)

Discussion