cs.LGOct 20, 2026

AnchorRM: Parallel Intra-Batch State Reconstruction with Anchor-Based Residual Memory for Temporal Graph Neural Networks

Authors: Haroon Gharwi, Kai Shu, Yue Dai

Organizations: Department of Computer Science, Illinois Institute of Technology, Chicago, IL, USA · Department of Computer Science, Emory University, Atlanta, GA, USA

Abstract

Memory-based temporal graph neural networks (TGN) rely on recurrent node memories to capture evolving interaction histories. However, temporal mini-batching introduces a trade-off between computational efficiency and temporal fidelity: when a node appears multiple times within the same batch, later interactions are evaluated using stale pre-batch memory because the intermediate memory updates have not yet been committed. This problem becomes more severe as temporal batch size increases. To overcome this challenge, we propose AnchorRM, an anchor-based residual memory mechanism that reconstructs event-specific intra-batch node states without executing sequential recurrent updates. AnchorRM treats the last committed node memory at the beginning of each batch as a pre-batch fixed anchor and uses causally preceding same-batch interactions to infer the missing state evolution relative to that anchor. The learned residual then calibrates the anchor to reconstruct an event-specific node memory for each interaction. Because each event-specific residual is predicted directly from the fixed anchor and its causal history, reconstructed states do not depend on previously reconstructed states and can therefore be computed in parallel within the batch while preserving temporal causality. Experiments across four temporal graph datasets and three memory-based backbones demonstrate that AnchorRM achieves an average 6.16x training speedup (up to 10.05x) and 28.67x batch scaling (up to 40x). These results demonstrate that AnchorRM substantially improves the scalability and training efficiency of memory-based temporal graph learning while maintaining competitive predictive performance.

Figures & tables

Explore similar work

CardsList
  1. RAFT: Redundancy-Aware Input Filtering for Temporal Graph Neural Network Training

    Oct 17, 2026Yue Dai, Sarah Zhou, Youtao ZhangTemporal GNNs

  2. A Dependency-Aware Multi-GPU Training Framework for Temporal Graph Neural Networks

    Oct 11, 2026Yang Zhao, Yue Dai, Liang Qiao +8Temporal GNNsDistributed Training

  3. Never Skip a Batch: Dense Learning of Temporal GNNs via Adaptive Pseudo-Supervision

    May 18, 2025Alexander Panyshev, Dmitry Vinichenko, Oleg Travkin +2Temporal GNNsTemporal Link Prediction