Rethinking Explaining Graph Neural Networks via Non-parametric Subgraph Matching

Fang Wu, Siyuan Li, Xurui Jin, Yinghui Jiang, Dragomir Radev +2 more
1/7/2023
cs.LGcs.AI

Official code: smiles724/MatchExplainer (10 stars, last commit 2025-06-14).

Abstract

The success of graph neural networks (GNNs) provokes the question about explainability: ``Which fraction of the input graph is the most determinant of the prediction?'' Particularly, parametric explainers prevail in existing approaches because of their more robust capability to decipher the black-box (i.e., target GNNs). In this paper, based on the observation that graphs typically share some common motif patterns, we propose a novel non-parametric subgraph matching framework, dubbed MatchExplainer, to explore explanatory subgraphs. It couples the target graph with other counterpart instances and identifies the most crucial joint substructure by minimizing the node corresponding-based distance. Moreover, we note that present graph sampling or node-dropping methods usually suffer from the false positive sampling problem. To alleviate this issue, we designed a new augmentation paradigm named MatchDrop. It takes advantage of MatchExplainer to fix the most informative portion of the graph and merely operates graph augmentations on the rest less informative part. Extensive experiments on synthetic and real-world datasets show the effectiveness of our MatchExplainer by outperforming all state-of-the-art parametric baselines with significant margins. Results also demonstrate that MatchDrop is a general scheme to be equipped with GNNs for enhanced performance. The code is available at: https://github.com/smiles724/MatchExplainer.

View on arXivView PDF

Code Implementations(1)

100Python, Jupyter NotebookApr 30, 20231 years ago

Similar Papers

Cite this paper

@article{wu2023rethinking,
  title  = {Rethinking Explaining Graph Neural Networks via Non-parametric Subgraph Matching},
  author = {Fang Wu and Siyuan Li and Xurui Jin and Yinghui Jiang and Dragomir Radev and Zhangming Niu and Stan Z. Li},
  year   = {2023},
  eprint = {2301.02780},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.02780v2},
  journal = {ICML 2023 2023}
}

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/2301.02780.svg)](https://codeofpaper.com/paper/2301.02780)

Discussion