Distill n' Explain: explaining graph neural networks using simple surrogates

Tamara Pereira, Erik Nascimento, Lucas E. Resck, Diego Mesquita, Amauri Souza
3/17/2023
cs.LGcs.AI

No official code found. Best implementation: tamararruda/DnX (9 stars, last commit 2023-03-21).

Abstract

Explaining node predictions in graph neural networks (GNNs) often boils down to finding graph substructures that preserve predictions. Finding these structures usually implies back-propagating through the GNN, bonding the complexity (e.g., number of layers) of the GNN to the cost of explaining it. This naturally begs the question: Can we break this bond by explaining a simpler surrogate GNN? To answer the question, we propose Distill n' Explain (DnX). First, DnX learns a surrogate GNN via knowledge distillation. Then, DnX extracts node or edge-level explanations by solving a simple convex program. We also propose FastDnX, a faster version of DnX that leverages the linear decomposition of our surrogate model. Experiments show that DnX and FastDnX often outperform state-of-the-art GNN explainers while being orders of magnitude faster. Additionally, we support our empirical findings with theoretical results linking the quality of the surrogate model (i.e., distillation error) to the faithfulness of explanations.

View on arXivView PDF

Code Implementations(1)

tamararruda/DnXCommunity100%

explainer in process

93Python, Jupyter NotebookFeb 18, 20223 years ago

Similar Papers

Cite this paper

@article{pereira2023distill,
  title  = {Distill n' Explain: explaining graph neural networks using simple surrogates},
  author = {Tamara Pereira and Erik Nascimento and Lucas E. Resck and Diego Mesquita and Amauri Souza},
  year   = {2023},
  eprint = {2303.10139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.10139v2}
}

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

Discussion