MSPipe: Efficient Temporal GNN Training via Staleness-Aware Pipeline
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing 引用了 TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing 引用了 PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing 引用了 GNNLab: a factored system for sample-based GNN training over GPUs
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing 引用了 ByteGNN: Efficient Graph Neural Network Training at Large Scale
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory Sharing 引用了 Inductive representation learning on temporal graphs
- PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness Avoidance 引用了 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 引用了 PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
- PRISM: A Training System to Unlock the Potential of Temporal Graph Learning Through Staleness Avoidance 引用了 Inductive representation learning on temporal graphs
- TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs 引用了 Inductive representation learning on temporal graphs
- Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks 引用了 TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
- Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks 引用了 PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks
- Temporal-Aware Evaluation and Learning for Temporal Graph Neural Networks 引用了 Inductive representation learning on temporal graphs
- PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks 引用了 TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
- PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks 引用了 Inductive representation learning on temporal graphs
引用它的顶会 Paper7
- PRES: Toward Scalable Memory-Based Dynamic Graph Neural NetworksJunwei Su, Difan Zou, Chuan WuICLR 2024 · 14 次引用
- Temporal-Aware Evaluation and Learning for Temporal Graph Neural NetworksJunwei Su, Shan WuAAAI 2025 · 3 次引用
- Laminar: A Scalable Asynchronous RL Post-Training FrameworkGuangming Sheng, Yuxuan Tong, Borui Wan, Wang Zhang 等EuroSys 2026 · 2 次引用
- Effective and Efficient Distributed Temporal Graph Learning through Hotspot Memory SharingLongjiao Zhang, Rui Wang, Tongya Zheng, Ziqi Huang 等VLDB 2025 · 1 次引用
- 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
它引用的 Paper15
- Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar 等ICLR 2020 · 901 次引用
- TGL: A General Framework for Temporal GNN Training onBillion-Scale GraphsHongkuan Zhou, Da Zheng, Israt Nisa, Vassilis N. Ioannidis 等VLDB 2022 · 109 次引用
- ByteGNN: Efficient Graph Neural Network Training at Large ScaleChenguang Zheng, Hongzhi Chen, Yuxuan Cheng, Zhezheng Song 等VLDB 2022 · 107 次引用
- GNNLab: a factored system for sample-based GNN training over GPUsJianbang Yang, Dahai Tang, Xiaoniu Song, Lei Wang 等EuroSys 2022 · 105 次引用
- Time Matters: Sequential Recommendation with Complex Temporal InformationWenwen Ye, Shuaiqiang Wang, Xu Chen, Xuepeng Wang 等SIGIR 2020 · 89 次引用
相关 Paper
- PipeTGL: (Near) Zero Bubble Memory-based Temporal Graph Neural Network Training via Pipeline OptimizationJun Liu, Bingqian Du, Ziyue Luo, Sitian Lu 等VLDB 2025
- DistTGL: Distributed Memory-Based Temporal Graph Neural Network TrainingHongkuan Zhou, Da Zheng, Xiang Song, George Karypis 等SC 2023 · 21 次引用
- PiPAD: Pipelined and Parallel Dynamic GNN Training on GPUsChunyang Wang, Desen Sun, Yuebin BaiPPoPP 2023 · 27 次引用
- SWIFT: Enabling Large-Scale Temporal Graph Learning on a Single MachineRui Guo, Zezhong Ding, Xike Xie, Jianliang XuSIGMOD 2026 · 2 次引用
- Cascade: A Dependency-aware Efficient Training Framework for Temporal Graph Neural NetworkYue Dai, Xulong Tang, Youtao ZhangASPLOS 2025 · 4 次引用
