Towards Few-shot Self-explaining Graph Neural Networks

Jingyu Peng, Qi Liu, Linan Yue, Zaixi Zhang, Kai Zhang +1 more
8/14/2024
cs.LGcs.AI

Official code: jypeng28/MSE-GNN (4 stars, last commit 2024-05-30).

Abstract

Recent advancements in Graph Neural Networks (GNNs) have spurred an upsurge of research dedicated to enhancing the explainability of GNNs, particularly in critical domains such as medicine. A promising approach is the self-explaining method, which outputs explanations along with predictions. However, existing self-explaining models require a large amount of training data, rendering them unavailable in few-shot scenarios. To address this challenge, in this paper, we propose a Meta-learned Self-Explaining GNN (MSE-GNN), a novel framework that generates explanations to support predictions in few-shot settings. MSE-GNN adopts a two-stage self-explaining structure, consisting of an explainer and a predictor. Specifically, the explainer first imitates the attention mechanism of humans to select the explanation subgraph, whereby attention is naturally paid to regions containing important characteristics. Subsequently, the predictor mimics the decision-making process, which makes predictions based on the generated explanation. Moreover, with a novel meta-training process and a designed mechanism that exploits task information, MSE-GNN can achieve remarkable performance on new few-shot tasks. Extensive experimental results on four datasets demonstrate that MSE-GNN can achieve superior performance on prediction tasks while generating high-quality explanations compared with existing methods. The code is publicly available at https://github.com/jypeng28/MSE-GNN.

View on arXivView PDF

Code Implementations(1)

jypeng28/MSE-GNNOfficial100%

This code is released for the paper: Towards Few-shot Self-explaining Graph Neural Networks

40Python, Jupyter NotebookMay 30, 20242 years ago

Cite this paper

@article{peng2024towards,
  title  = {Towards Few-shot Self-explaining Graph Neural Networks},
  author = {Jingyu Peng and Qi Liu and Linan Yue and Zaixi Zhang and Kai Zhang and Yunhao Sha},
  year   = {2024},
  eprint = {2408.07340},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07340v1}
}

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

Discussion