A Meta-Learning Approach for Training Explainable Graph Neural Networks

Indro Spinelli, Simone Scardapane, Aurelio Uncini
9/20/2021
cs.LGstat.ML
gnn

Official code: ispamm/MATE (18 stars, Python, last commit 2022-02-15).

Abstract

In this paper, we investigate the degree of explainability of graph neural networks (GNNs). Existing explainers work by finding global/local subgraphs to explain a prediction, but they are applied after a GNN has already been trained.

Show full abstract

Here, we propose a meta-learning framework for improving the level of explainability of a GNN directly at training time, by steering the optimization procedure towards what we call `interpretable minima'. Our framework (called MATE, MetA-Train to Explain) jointly trains a model to solve the original task, e.g., node classification, and to provide easily processable outputs for downstream algorithms that explain the model's decisions in a human-friendly way. In particular, we meta-train the model's parameters to quickly minimize the error of an instance-level GNNExplainer trained on-the-fly on randomly sampled nodes. The final internal representation relies upon a set of features that can be `better' understood by an explanation algorithm, e.g., another instance of GNNExplainer. Our model-agnostic approach can improve the explanations produced for different GNN architectures and use any instance-based explainer to drive this process. Experiments on synthetic and real-world datasets for node and graph classification show that we can produce models that are consistently easier to explain by different algorithms. Furthermore, this increase in explainability comes at no cost for the accuracy of the model.

View on arXivView PDF

Code Implementations(1)

ispamm/MATEOfficial100%

MetA-Train to Explain

184Python, Jupyter NotebookSep 15, 20214 years ago

Similar Papers

Cite this paper

@article{spinelli2021metalearning,
  title  = {A Meta-Learning Approach for Training Explainable Graph Neural Networks},
  author = {Indro Spinelli and Simone Scardapane and Aurelio Uncini},
  year   = {2021},
  eprint = {2109.09426},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.09426}
}

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

Discussion