TIGER: Temporal Interaction Graph Embedding with Restarts

Yao Zhang, Yun Xiong, Yongxiang Liao, Yiheng Sun, Yucheng Jin, Xuehao Zheng, Yangyong Zhu

TL;DR

TIGER (Temporal Interaction Graph Embedding with Restarts) introduces a novel "restarter" module that allows temporal graph neural networks to jump to any point in time with a "warm-start" memory. By breaking the strictly sequential processing bottleneck of previous methods, TIGER enables massive parallelization and significantly reduces the "staleness" problem in dynamic node representations.

The Sequential Bottleneck in Temporal GNNs

Real-world networks—like social media interactions or e-commerce transactions—are best represented as Temporal Interaction Graphs (TIGs), where edges are timestamped events. To understand these graphs, researchers use Temporal Graph Neural Networks (GNNs) that maintain a "memory" of node states. However, existing state-of-the-art models (like TGN) face two major hurdles:

  1. The Sequential Bottleneck: Because node states depend on the exact order of past events, processing must be strictly chronological. This makes it impossible to parallelize training or inference across multiple GPUs. If a system goes offline, it must "catch up" by processing every missed transaction sequentially.
  2. The Staleness Problem: A node’s memory only updates when it is involved in an interaction. If a user is inactive for a long period, their representation becomes "stale," failing to reflect the evolving global state of the graph.

Methods: Restarters and Dual Memory

The authors propose TIGER, a framework consisting of two primary innovations designed to overcome these limitations.

Comparison of (a) traditional sequential temporal GNNs, (b) TIGER's restarter mechanism, and (c) the resulting parallelization strategy.

1. The Restarter Module

The restarter is a lightweight module (either a small Transformer or a static embedding table) trained via knowledge distillation to mimic the complex encoder's output.

  • Warm Initialization: Instead of starting from zero, the restarter can look at a tiny window of recent history and estimate what the node's memory should look like at any given timestamp. This allows the model to "restart" at any point in time.
  • Parallelization: By enabling restarts, TIGER can chop a long sequence of events into chunks and process them simultaneously on different GPUs, as shown in the figure above.

2. Dual Memory Module

Standard models use a single memory unit. TIGER introduces Dual Memory to track node representations both immediately before ($M^-$) and after ($M^+$) an event. This structure unifies the memory-updating branch and the embedding branch, ensuring that node states remain fresh and more interpretable by feeding high-quality outputs of the temporal embedding layer back into the memory.

Key Insights and Results

  • Efficiency through Approximation: TIGER demonstrates that exact historical memory is not strictly necessary for high-quality embeddings; a well-trained restarter provides a surrogate representation that is "good enough" to resume training or inference.
  • Superior Accuracy and Speed: TIGER consistently outperformed baselines like JODIE, TGAT, and TGN across public benchmarks (Wikipedia, Reddit, MOOC, LastFM) and a large-scale industrial dataset from Tencent Weixin Group. It achieved an average 3.11x speedup using 4 GPUs, with nearly linear scaling (3.96x) on the industrial dataset.
  • Robustness to Data Scarcity: In a "limited data" scenario, TIGER trained on just 20% of data outperformed a TGN model trained on 100% of the data on the LastFM and Industrial datasets.
  • Optimal Restart Probability: The authors found that restarting the memory with a probability of $p_r = 0.01$ during training provided the best balance between learning long-term dependencies and adapting to the restarter's estimates.

Conclusion

TIGER effectively breaks the sequential processing bottleneck of temporal GNNs. By approximating historical memory with a restarter module, it enables scalable, parallelized training and inference without sacrificing accuracy. Future work may explore more complex restarter architectures and graph-based partitioning to further enhance scalability.

Summary updated

BibTeX
@inproceedings{zhang2023tiger,
  author = {Yao Zhang and Yun Xiong and Yongxiang Liao and Yiheng Sun and Yucheng Jin and Xuehao Zheng and Yangyong Zhu},
  title = {{TIGER: Temporal Interaction Graph Embedding with Restarts}},
  booktitle = {The Web Conference},
  year = {2023},
}
Figure