GNNInterpreter: A Probabilistic Generative Model-Level Explanation for Graph Neural Networks

Xiaoqi Wang, Han-Wei Shen
9/15/2022
cs.LGcs.AI
gnn

Official code: yolandalalala/GNNInterpreter (17 stars, Jupyter Notebook, MIT, last commit 2025-04-26).

Abstract

Recently, Graph Neural Networks (GNNs) have significantly advanced the performance of machine learning tasks on graphs. However, this technological breakthrough makes people wonder: how does a GNN make such decisions, and can we trust its prediction with high confidence?

Show full abstract

When it comes to some critical fields, such as biomedicine, where making wrong decisions can have severe consequences, it is crucial to interpret the inner working mechanisms of GNNs before applying them. In this paper, we propose a model-agnostic model-level explanation method for different GNNs that follow the message passing scheme, GNNInterpreter, to explain the high-level decision-making process of the GNN model. More specifically, GNNInterpreter learns a probabilistic generative graph distribution that produces the most discriminative graph pattern the GNN tries to detect when making a certain prediction by optimizing a novel objective function specifically designed for the model-level explanation for GNNs. Compared to existing works, GNNInterpreter is more flexible and computationally efficient in generating explanation graphs with different types of node and edge features, without introducing another blackbox or requiring manually specified domain-specific rules. In addition, the experimental studies conducted on four different datasets demonstrate that the explanation graphs generated by GNNInterpreter match the desired graph pattern if the model is ideal; otherwise, potential model pitfalls can be revealed by the explanation. The official implementation can be found at https://github.com/yolandalalala/GNNInterpreter.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2023] Official implementation of the paper "GNNInterpreter"

172Jupyter Notebook, PythonOct 30, 20231 years agoMIT
explainable-aignngraph-neural-networksmachine-learningml+1 more

Similar Papers

Cite this paper

@article{wang2022gnninterpreter,
  title  = {GNNInterpreter: A Probabilistic Generative Model-Level Explanation for Graph Neural Networks},
  author = {Xiaoqi Wang and Han-Wei Shen},
  year   = {2022},
  eprint = {2209.07924},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.07924}
}

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

Discussion