SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.07716 · ICML · 2026

Towards the Explainability of Temporal Graph Networks via Memory Backtracking and Topological Attribution

Xi Zhang, Hui Xiong, Sihong Xie, Yazheng Liu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
yazhengliu/MemExplainer — 4 of 4
FunctionStatusWhere it lives
_as_records Ran yazhengliu/MemExplainer/utils/memory_backtracking_trees.py
pointer only (licence: NONE) · get_code("68e55d78eb85d91e")
_find_time_for_expand Ran yazhengliu/MemExplainer/utils/memory_backtracking_trees.py
pointer only (licence: NONE) · get_code("eef8f2364741714a")
_sorted_times Ran yazhengliu/MemExplainer/utils/memory_backtracking_trees.py
pointer only (licence: NONE) · get_code("831e3a637627bd33")
aggregate_backtrace_contributions_cached Ran yazhengliu/MemExplainer/utils/memory_backtracking_trees.py
pointer only (licence: NONE) · get_code("e170f85a3059aabe")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 TGNs. Existing explanation methods overlook the memory module, the core component that records and updates node histories, leaving the influence of past events unexplored. To address this, we attribute TGNs predictions through the topology attribution tree and memory backtracking tree. The topology attribution tree captures the influence of neighbors and their memory vectors, then the memory backtracking tree quantifies how historical events shape node memory vectors. We apply the LRP in TGNs, ensuring that the total contribution of events equals the model's logits. Finally, top-k selection may be unfaithful due to the nonlinear mapping from logits to probabilities, we design optimization objectives to identify the important events. Experiments on nine temporal graph datasets, spanning node property prediction, link prediction tasks and graph classification tasks, show that our method provides faithful explanations and outperforms stateof-the-art baselines. The code is available at https://github.com/yazhengliu/MemExplainer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.07716")
get_code_for_paper("2607.07716")
have("2607.07716")

Connect an agent — have() is free.