arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15730cs.LGcs.DC
收藏

面向时序图神经网络的依赖感知多GPU训练框架

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

University of Science and Technology of China(中国科学技术大学);Illinois Institute of Technology(伊利诺伊理工大学)

Yang Zhao, Yue Dai, Liang Qiao, Buxin Tu, Bo Liu, Sen Zhang, Yi Zhang, Xiaoyu Hao, Jun Shi, Junshi Chen, Hong An

AI总结:

针对时序图神经网络多GPU训练的依赖限制问题,提出DepBloom框架,通过三项技术实现平均2.84倍、最高5.16倍加速,且保持相当或更优准确率。

摘要:

时序图神经网络(TGNNs)在许多动态图学习任务中取得了优异性能,这些模型利用节点状态向量(即记忆)来捕获和记录图的变化(即事件),随后借助这些记忆辅助预测。然而,这种以记忆为中心的设计使得多GPU训练颇具挑战性,因为后续事件的预测往往依赖于早期事件的记忆更新。为维持模型质量,现有的多GPU TGNN训练方案会严格保留所有事件依赖关系,这限制了并行度并导致高昂的跨GPU内存同步开销。在本研究中,我们观察到许多此类依赖关系可以更灵活地处理而不损害训练质量。具体而言,(a)TGNN训练中的依赖关系在时间和图拓扑结构上都具有高局部性;(b)大批次内遗漏的短程依赖关系通常可以低成本地恢复;(c)许多记忆更新并非立即需要。基于这些观察,我们提出DepBloom,通过三项技术加速多GPU TGNN训练:(1)时间受限的空间划分,以减少不必要的跨GPU同步并提升并行度;(2)批次内记忆优化,以恢复扩大批次内遗漏的短程时间依赖关系;(3)关键路径优化,在多GPU流水线执行期间优先处理紧急的记忆更新,同时推迟非关键工作。在代表性模型和多样化数据集上的实验结果表明,与最先进的方法相比,DepBloom实现了平均2.84倍的加速,最高可达5.16倍,同时保持了相当或更优的模型准确率。

英文摘要:

Temporal graph neural networks (TGNNs) achieve superior performance in many dynamic graph learning tasks. These models use node state vectors (i.e., memories) to capture and record graph changes (i.e., events), and then exploit these memories to assist prediction. However, this memory-centric design makes multi-GPU training challenging because predictions for later events often depend on memory updates from earlier events. To maintain model quality, existing multi-GPU TGNN training schemes strictly preserve all event dependencies, which limits parallelism and causes expensive cross-GPU memory synchronization. In this work, we observe that many of these dependencies can be handled more flexibly without harming training quality. Specifically, (a) dependencies in TGNN training have high locality in both time and graph topology, (b) the short-range dependencies missed within a large batch can often be recovered cheaply, and (c) many memory updates are not immediately needed. Based on these observations, we propose DepBloom to accelerate multi-GPU TGNN training with three techniques: (1) temporally bounded spatial partitioning to reduce unnecessary cross-GPU synchronization and improve parallelism; (2) intra-batch memory refinement to recover missing short-range temporal dependencies inside enlarged batches; and (3) critical-path optimization to prioritize urgent memory updates while deferring non-critical work during multi-GPU pipeline execution. Experimental results across representative models and diverse datasets show that DepBloom achieves an average speedup of 2.84$\times$ and up to 5.16$\times$ over state-of-the-art methods, while maintaining comparable or better model accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑