Skip to main content
QUICK REVIEW

[Paper Review] TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif Discovery

Jialin Chen, Rex Ying|arXiv (Cornell University)|Oct 30, 2023
Advanced Graph Neural NetworksComputer Science8 citations
TL;DR

TempME explains TGNNs by discovering cohesive temporal motifs via an information bottleneck framework, improving explanation fidelity and potentially boosting prediction performance.

ABSTRACT

Temporal graphs are widely used to model dynamic systems with time-varying interactions. In real-world scenarios, the underlying mechanisms of generating future interactions in dynamic systems are typically governed by a set of recurring substructures within the graph, known as temporal motifs. Despite the success and prevalence of current temporal graph neural networks (TGNN), it remains uncertain which temporal motifs are recognized as the significant indications that trigger a certain prediction from the model, which is a critical challenge for advancing the explainability and trustworthiness of current TGNNs. To address this challenge, we propose a novel approach, called Temporal Motifs Explainer (TempME), which uncovers the most pivotal temporal motifs guiding the prediction of TGNNs. Derived from the information bottleneck principle, TempME extracts the most interaction-related motifs while minimizing the amount of contained information to preserve the sparsity and succinctness of the explanation. Events in the explanations generated by TempME are verified to be more spatiotemporally correlated than those of existing approaches, providing more understandable insights. Extensive experiments validate the superiority of TempME, with up to 8.21% increase in terms of explanation accuracy across six real-world datasets and up to 22.96% increase in boosting the prediction Average Precision of current TGNNs.

Motivation & Objective

  • Motivate the need for explainability in temporal graph neural networks (TGNNs).
  • Introduce temporal motifs as cohesive, interpretable building blocks for explanations.
  • Develop TempME, an IB-based explainer that uses null models to measure motif significance.
  • Show that motif-based explanations improve fidelity and can enhance TGNN prediction performance.
  • Provide a scalable sampling-based framework for extracting and encoding temporal motifs.

Proposed method

  • Sample surrounding retrospective temporal motifs around the queried edge.
  • Encode each motif with a Motif Encoder using event anonymization, message passing, and time-aware pooling.
  • Compute motif importance scores via an information-bottleneck objective that balances explanation accuracy and compression.
  • Incorporate a null model to compare motif distributions and derive a KL-divergence-based regularization term.
  • Use Concrete relaxation for differentiable training and Bernoulli masking to generate cohesive explanations.
  • Evaluate explanations on six real-world datasets across three TGNN backbones (TGAT, TGN, GraphMixer).

Experimental results

Research questions

  • RQ1What temporal motifs most influence TGNN predictions for future interactions?
  • RQ2Can motif-based explanations be cohesive and human-interpretable without sacrificing fidelity?
  • RQ3Does incorporating a null model improve the reliability of motif-based explanations?
  • RQ4Do motif-guided explanations correlate with improved link-prediction performance across TGNN backbones?

Key findings

  • TempME achieves up to 8.21% increase in explanation accuracy across six real-world datasets.
  • TempME yields up to 22.96% improvement in boosting the prediction Average Precision (AP) of TGNNs.
  • Temporal motifs enable more cohesive and interpretable explanations compared to baselines.
  • TempME maintains strong explainability performance across datasets with and without attributes.
  • The approach provides state-of-the-art ACC-AUC results on explaining TGN across all six datasets.
  • Motif-based explanations can also enhance the predictive performance of TGNNs in certain settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.