Lune

KDD2024Top-tier venue

MSPipe: Efficient Temporal GNN Training via Staleness-Aware Pipeline

Guangming Sheng, Junwei Su, Chao Huang, Chuan Wu

Abstract

Memory-based Temporal Graph Neural Networks (MTGNNs) are a class of temporal graph neural networks that utilize a node memory module to capture and retain long-term temporal dependencies, leading to superior performance compared to memory-less counterparts. However, the iterative reading and updating process of the memory module in MTGNNs to obtain up-to-date information needs to follow the temporal dependencies. This introduces significant overhead and limits training throughput. Existing optimizations for static GNNs are not directly applicable to MTGNNs due to differences in training paradigm, model architecture, and the absence of a memory module. Moreover, these optimizations do not effectively address the challenges posed by temporal dependencies, making them ineffective for MTGNN training. In this paper, we propose MSPipe, a general and efficient framework for memory-based TGNNs that maximizes training throughput while maintaining model accuracy. Our design specifically addresses the unique challenges associated with fetching and updating node memory states in MTGNNs by integrating staleness into the memory module. However, simply introducing a predefined staleness bound in the memory module to break temporal dependencies may lead to suboptimal performance and lack of generalizability across different models and datasets. To overcome this, we introduce an online pipeline scheduling algorithm in MSPipe that strategically breaks temporal dependencies with minimal staleness and delays memory fetching to obtain fresher memory states. This is achieved without stalling the MTGNN training stage or causing resource contention. Additionally, we design a staleness mitigation mechanism to enhance training convergence and model accuracy. Furthermore, we provide convergence analysis and demonstrate that MSPipe maintains the same convergence rate as vanilla sampling-based GNN training. Experimental results show that MSPipe achieves up to 2.45× speed-up without sacrificing accuracy, making it a promising solution for efficient MTGNN training. The implementation of our paper can be found at the following link: https://github.com/PeterSH6/MSPipe.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing cites TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
  • Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing cites PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
  • Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing cites GNNLab: a factored system for sample-based GNN training over GPUs
  • Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing cites ByteGNN: Efficient Graph Neural Network Training at Large Scale
  • Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing cites Inductive representation learning on temporal graphs
  • PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness Avoidance cites TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
  • PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness Avoidance cites PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
  • PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness Avoidance cites Inductive representation learning on temporal graphs
  • TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs cites Inductive representation learning on temporal graphs
  • Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks cites TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
  • Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks cites PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
  • Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks cites Inductive representation learning on temporal graphs
  • PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks cites TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
  • PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks cites Inductive representation learning on temporal graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. PRES: Toward Scalable Memory-Based Dynamic Graph Neural NetworksJunwei Su, Difan Zou, Chuan WuICLR 2024 · 14 citations
  2. Temporal-Aware Evaluation and Learning for Temporal Graph Neural NetworksJunwei Su, Shan WuAAAI 2025 · 3 citations
  3. Laminar: A Scalable Asynchronous RL Post-Training FrameworkGuangming Sheng, Yuxuan Tong, Borui Wan, Wang Zhang et al.EuroSys 2026 · 2 citations
  4. Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory SharingLongjiao Zhang, Rui Wang, Tongya Zheng, Ziqi Huang et al.VLDB 2025 · 1 citation
  5. PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness AvoidanceMd Ashraful Islam, Hojae Son, Suhaas Kiran Doddagaddavalli Gangadharaiah, Marco SerafiniVLDB 2026

Builds on15

  1. Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar et al.ICLR 2020 · 901 citations
  2. TGL: A General Framework for Temporal GNN Training onBillion-Scale GraphsHongkuan Zhou, Da Zheng, Israt Nisa, Vassilis N. Ioannidis et al.VLDB 2022 · 109 citations
  3. ByteGNN: Efficient Graph Neural Network Training at Large ScaleChenguang Zheng, Hongzhi Chen, Yuxuan Cheng, Zhezheng Song et al.VLDB 2022 · 107 citations
  4. GNNLab: a factored system for sample-based GNN training over GPUsJianbang Yang, Dahai Tang, Xiaoniu Song, Lei Wang et al.EuroSys 2022 · 105 citations
  5. Time Matters: Sequential Recommendation with Complex Temporal InformationWenwen Ye, Shuaiqiang Wang, Xu Chen, Xuepeng Wang et al.SIGIR 2020 · 89 citations

Related papers

  1. PipeTGL: (Near) Zero Bubble Memory-based Temporal Graph Neural Network Training via Pipeline OptimizationJun Liu, Bingqian Du, Ziyue Luo, Sitian Lu et al.VLDB 2025
  2. DistTGL: Distributed Memory-Based Temporal Graph Neural Network TrainingHongkuan Zhou, Da Zheng, Xiang Song, George Karypis et al.SC 2023 · 21 citations
  3. PiPAD: Pipelined and Parallel Dynamic GNN Training on GPUsChunyang Wang, Desen Sun, Yuebin BaiPPoPP 2023 · 27 citations
  4. SWIFT: Enabling Large-Scale Temporal Graph Learning on a Single MachineRui Guo, Zezhong Ding, Xike Xie, Jianliang XuSIGMOD 2026 · 2 citations
  5. Cascade: A Dependency-aware Efficient Training Framework for Temporal Graph Neural NetworkYue Dai, Xulong Tang, Youtao ZhangASPLOS 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines