Proceedings

Efficient Dynamic Graphs Learning with Refined Batch Parallel Training

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2802-2810.

https://doi.org/10.24963/ijcai.2025/312

Abstract

Memory-based temporal graph neural networks (MTGNN) use node memory to store historical information, enabling efficient processing of large dynamic graphs through batch parallel training, with larger batch sizes leading to increased training efficiency. However, this approach overlooks the interdependency among edges within the same batch, leading to outdated memory states and reduced training accuracy. Previous studies have attempted to mitigate this issue through methods such as measuring memory loss, overlap training, and additional compensation modules. Despite these efforts, challenges persist, including imprecise coarse-grained memory loss measurement and ineffective compensation modules. To address these challenges, we propose the Refined Batch parallel Training (RBT) framework, which accurately evaluates intra-batch information loss and optimizes batch partitioning to minimize loss, enhancing the training process's effectiveness and efficiency. RBT also includes a precise and efficient memory compensation algorithm. Experimental results demonstrate RBT's superior performance compared to existing MTGNN frameworks like TGL, ETC, and PRES in terms of training efficiency and accuracy across various dynamic graph datasets. Our code is made publicly available at https://github.com/fengwudi/RBT.

  1. [Chen et al., 2021] Xinshi Chen, Yan Zhu, Haowen Xu, Mengyang Liu, Liang Xiong, Muhan Zhang, and Le Song. Efficient dynamic graph representation learning at scale. arXiv preprint arXiv:2112.07768, 2021.
  2. [Chen et al., 2023a] Chaoyi Chen, Dechao Gao, Yanfeng Zhang, Qiange Wang, Zhenbo Fu, Xuecang Zhang, Jun- hua Zhu, Yu Gu, and Ge Yu. Neutronstream: A dy- namic gnn training framework with sliding window for graph streams. Proceedings of the VLDB Endowment, 17(3):455-468, 2023.
  3. [Chen et al., 2023b] Xi Chen, Yongxiang Liao, Yun Xiong, Yao Zhang, Siwei Zhang, Jiawei Zhang, and Yiheng Sun. Speed: Streaming partition and parallel acceleration for temporal interaction graph embedding. arXiv preprint arXiv:2308.14129, 2023.
  4. [Chen et al., 2024] Ziyue Chen, Tongya Zheng, and Mingli Song. Curriculum negative mining for temporal networks, 2024.
  5. [Chung et al., 2014] Junyoung Chung, Caglar Gulcehre, Kyunghyun Cho, and Yoshua Bengio. Empirical evalua- tion of gated recurrent neural networks on sequence mod- eling. In MIT Press NeurIPS, 2014.
  6. [da Xu et al., 2020] da Xu, chuanwei ruan, evren korpeoglu, sushant kumar, and kannan achan. Inductive representa- tion learning on temporal graphs. In ICLR, 2020.
  7. [Feng et al., 2024] ZhengZhao Feng, Rui Wang, TianXing Wang, Mingli Song, Sai Wu, and Shuibing He. A compre- hensive survey of dynamic graph neural networks: Mod- els, frameworks, benchmarks, experiments and challenges. arXiv preprint arXiv:2405.00476, 2024.
  8. [Gao et al., 2024] Shihong Gao, Yiming Li, Yanyan Shen, Yingxia Shao, and Lei Chen. Etc: Efficient training of temporal graph neural networks over large-scale dy- namic graphs. Proceedings of the VLDB Endowment, 17(5):1060-1072, 2024.
  9. [Han et al., 2023] Liangzhe Han, Ruixing Zhang, Leilei Sun, Bowen Du, Yanjie Fu, and Tongyu Zhu. Generic and dy- namic graph representation learning for crowd flow mod- eling. In AAAI AAAI, volume 37, pages 4293-4301, 2023.
  10. [Hochreiter and Schmidhuber, 1997] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735-1780, 1997.
  11. [Jin et al., 2023] Guangyin Jin, Yuxuan Liang, Yuchen Fang, Zezhi Shao, Jincai Huang, Junbo Zhang, and Yu Zheng. Spatio-temporal graph neural networks for predictive learning in urban computing: A survey. IEEE TKDE, 2023.
  12. [Kazemi et al., 2020] Seyed Mehran Kazemi, Rishab Goel, Kshitij Jain, Ivan Kobyzev, Akshay Sethi, Peter Forsyth, and Pascal Poupart. Representation learning for dynamic graphs: A survey. The Journal of Machine Learning Re- search, 21(1):2648-2720, 2020.
  13. [Kumar et al., 2019] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In ACM SIGKDD, pages 1269-1278, 2019.
  14. [Lampert et al., 2024] Moritz Lampert, Christopher Blöcker, and Ingo Scholtes. From link prediction to forecasting: Information loss in batch-based temporal graph learning. arXiv e-prints, pages arXiv-2406, 2024.
  15. [Leskovec, 2023a] Jure Leskovec. The stack-overflow datasets. https://snap.stanford.edu/data/sx-stackoverflow. html, 2023. Accessed: 2025-6-3. Link
  16. [Leskovec, 2023b] Jure Leskovec. The wiki-talk datasets. http://snap.stanford.edu/data/wiki-talk-temporal.html, 2023. Accessed: 2025-6-3. Link
  17. [Li et al., 2023] Yiming Li, Yanyan Shen, Lei Chen, and Mingxuan Yuan. Zebra: When temporal graph neural net- works meet temporal personalized pagerank. Proceedings of the VLDB Endowment, 16(6):1332-1345, 2023.
  18. [Longa et al., 2023] Antonio Longa, Veronica Lachi, Gabriele Santin, Monica Bianchini, Bruno Lepri, Pietro Lio, Andrea Passerini, et al. Graph neural networks for temporal graphs: State of the art, open challenges, and opportunities. Transactions on Machine Learning Research, 2023.
  19. [Luo and Li, 2022] Yuhong Luo and Pan Li. Neighborhood- aware scalable temporal network representation learning. In LMCS LMCS, pages 1-1. PMLR, 2022.
  20. [Poursafaei et al., 2022] Farimah Poursafaei, Shenyang Huang, Kellin Pelrine, and Reihaneh Rabbany. Towards better evaluation for dynamic link prediction. MIT Press NeurIPS, 35:32928-32941, 2022.
  21. [Rossi et al., 2020] Emanuele Rossi, Ben Chamberlain, Fab- rizio Frasca, Davide Eynard, Federico Monti, and Michael Bronstein. Temporal graph networks for deep learning on dynamic graphs. In ACM ICML, 2020.
  22. [Sheng et al., 2024] Guangming Sheng, Junwei Su, Chao Huang, and Chuan Wu. Mspipe: Efficient temporal gnn training via staleness-aware pipeline. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Dis- covery and Data Mining, pages 2651-2662, 2024.
  23. [Skarding et al., 2021] Joakim Skarding, Bogdan Gabrys, and Katarzyna Musial. Foundations and modeling of dy- namic networks using dynamic graph neural networks: A survey. IEEE Access, 9:79143-79168, 2021.
  24. [Su et al., 2024] Junwei Su, Difan Zou, and Chuan Wu. Pres: Toward scalable memory-based dynamic graph neural net- works. In The Twelfth International Conference on Learn- ing Representations, 2024.
  25. [Wang et al., 2021] Xuhong Wang, Ding Lyu, Mengjian Li, Yang Xia, Qi Yang, Xinwen Wang, Xinguang Wang, Ping Cui, Yupu Yang, Bowen Sun, et al. Apan: Asyn- chronous propagation attention network for real-time tem- poral graph embedding. In ACM SIGMOD, pages 2628- 2638, 2021.
  26. [Wu et al., 2020] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and S Yu Philip. A comprehensive survey on graph neural networks. IEEE TNNLS, 32(1):4-24, 2020.
  27. [Zhang and Chen, 2018] Muhan Zhang and Yixin Chen. Link prediction based on graph neural networks. MIT Press NeurIPS, 31, 2018.
  28. [Zhang et al., 2023] Yao Zhang, Yun Xiong, Yongxiang Liao, Yiheng Sun, Yucheng Jin, Xuehao Zheng, and Yangyong Zhu. Tiger: temporal interaction graph embed- ding with restarts. In ACM WWW, pages 478-488, 2023.
  29. [Zheng et al., 2022] Tongya Zheng, Zunlei Feng, Tianli Zhang, Yunzhi Hao, Mingli Song, Xingen Wang, Xinyu Wang, Ji Zhao, and Chun Chen. Transition propaga- tion graph neural networks for temporal networks. IEEE Transactions on Neural Networks and Learning Systems, 35(4):4567-4579, 2022.
  30. [Zheng et al., 2023] Tongya Zheng, Xinchao Wang, Zunlei Feng, Jie Song, Yunzhi Hao, Mingli Song, Xingen Wang, Xinyu Wang, and Chun Chen. Temporal aggregation and propagation graph neural networks for dynamic represen- tation. IEEE Transactions on Knowledge and Data Engi- neering, 35(10):10151-10165, 2023.
  31. [Zhou et al., 2022] Hongkuan Zhou, Da Zheng, Israt Nisa, Vasileios Ioannidis, Xiang Song, and George Karypis. Tgl: a general framework for temporal gnn training on billion-scale graphs. Proceedings of the VLDB Endow- ment, 15(8):1572-1580, 2022.
  32. [Zhou et al., 2023] Hongkuan Zhou, Da Zheng, Xiang Song, George Karypis, and Viktor Prasanna. Disttgl: Distributed memory-based temporal graph neural network training. In IEEE SC, pages 1-12, 2023.
  33. [Zhu et al., 2022] Yuecai Zhu, Fuyuan Lyu, Chengming Hu, Xi Chen, and Xue Liu. Encoder-decoder architecture for supervised dynamic graph learning: A survey. arXiv preprint arXiv:2203.10480, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards