TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif Discovery

Jialin Chen, Rex Ying
2/12/2026

No official code found. Best implementation: Graph-and-Geometric-Learning/TempME (16 stars, MIT, last commit 2024-03-18). 1 more below.

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.

View on arXivView PDF

Code Implementations(2)

MIT

Official Implementation of "TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif Discovery"

168PythonOct 28, 20232 years agoMIT
Cather-Chen/TempMECommunity69%
MIT

TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif Discovery

30Oct 22, 20232 years agoMIT

Similar Papers

Cite this paper

@article{chen2026tempme,
  title  = {TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif Discovery},
  author = {Jialin Chen and Rex Ying},
  year   = {2026},
  eprint = {2310.19324},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.19324},
  journal = {NEURIPS 2023 2023}
}

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

Discussion