Enhancing Explainability for Temporal Graph Networks via Memory Backtracking

Yazheng Liu, Xi Zhang, Sihong Xie, Hui Xiong· July 10, 2026 View original

Key takeaways

  • New method improves TGN explainability by tracing historical event influence.
  • It uses topology attribution and memory backtracking trees.
  • The approach quantifies how past interactions shape node memory and predictions.
  • Experiments show more faithful explanations than state-of-the-art baselines.

Who benefits

CybersecuritySocial NetworksFinanceLogisticsAI/ML Development

Summary

Researchers propose a new method to explain predictions made by Temporal Graph Networks (TGNs) by attributing influence to historical events. Their approach utilizes topology attribution and memory backtracking trees to quantify how past interactions and memory module updates shape node predictions, outperforming state-of-the-art baselines.

A novel approach has been developed to enhance the explainability of Temporal Graph Networks (TGNs), which are widely used for predictions on dynamic, real-world graphs. While TGNs achieve high accuracy, understanding why they make certain predictions, especially concerning the influence of past events, has been a challenge due to the opaque nature of their memory modules. The proposed method addresses this by introducing two key components: a topology attribution tree and a memory backtracking tree. The topology attribution tree quantifies the influence of neighboring nodes and their memory vectors on a prediction. Complementing this, the memory backtracking tree traces how historical events contribute to the evolution of a node's memory vector over time. By applying Layer-wise Relevance Propagation (LRP) within TGNs, the method ensures that the total contribution of events precisely equals the model's logits. Furthermore, to overcome the unfaithfulness of simple top-k selection in identifying important events, the researchers designed optimization objectives. Experiments across nine temporal graph datasets for various tasks, including node property prediction, link prediction, and graph classification, demonstrate that this method provides more faithful explanations and outperforms existing state-of-the-art baselines.

Why it matters

For professionals working with complex dynamic systems, improved explainability of TGNs fosters greater trust, enables better debugging, and provides actionable insights into the underlying temporal processes driving predictions.

How to implement this in your domain

  1. 1Integrate this explainability method into your TGN development pipeline to gain insights into model behavior.
  2. 2Use the memory backtracking tree to debug TGNs by understanding which historical events lead to erroneous predictions.
  3. 3Apply the topological attribution to identify key influential nodes and interactions in dynamic graph applications.
  4. 4Develop user interfaces that visualize these explanations for stakeholders, enhancing trust and interpretability.

Original post by Yazheng Liu, Xi Zhang, Sihong Xie, Hui Xiong

"arXiv:2607.07716v1 Announce Type: new Abstract: Temporal graphs are ubiquitous in real-world applications and Temporal Graph Networks (TGNs) have achieved superior predictive accuracy. Understanding which historical events drive model predictions can enhance trustworthiness of TG…"

View on X

Originally posted by Yazheng Liu, Xi Zhang, Sihong Xie, Hui Xiong on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses