arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.16715cs.DCcs.AIcs.LG
收藏

可扩展且自适应的图变换器在大规模图上的并行训练

Scalable and Adaptive Parallel Training of Graph Transformer on Large Graphs

The Pennsylvania State University(宾夕法尼亚州立大学)

Jun-Liang Lin, Kamesh Madduri, Mahmut Taylan Kandemir

AI总结:

本文提出一种分布式训练框架,通过自动选择和优化并行策略提升图变换器在大规模图上的可扩展性,实现3.8倍的加速和78%的内存节省。

摘要:

图基础模型通过在图上大规模预训练展现出跨多样化下游任务的显著适应性。然而,现有图变换器背骨模型通常局限于单GPU系统,导致在大规模图上训练时间长或出现内存不足问题。此外,对图变换器进行全图并行训练具有挑战性,因为效率依赖于图结构和系统特性,如带宽和内存容量。在本文中,我们介绍了一种图变换器的分布式训练框架,该框架根据图结构和硬件配置自动选择和优化并行化策略。通过我们的分布式稀疏操作实现,我们相比最先进的框架,将稀疏图注意力加速了3.8倍,内存消耗减少了78%。在大规模图基准上,我们的框架在8个GPU系统扩展时实现了高达6倍的加速。这些结果表明,所提出的框架提高了图变换器的可扩展性,使它们更接近成为实用的图基础模型。

英文摘要:

Graph foundation models have demonstrated remarkable adaptability across diverse downstream tasks through large-scale pretraining on graphs. However, existing implementations of the backbone model, graph transformers, are typically limited to single-GPU systems, leading to long training times or out-of-memory issues on large graphs. Moreover, parallelizing graph transformer training over the full graph is challenging, as efficiency depends heavily on both the graph structure and system characteristics, such as bandwidth and memory capacity. In this work, we introduce a distributed training framework for graph transformers, which automatically selects and optimizes parallelization strategies based on the graph structure and hardware configuration. With our implementation of distributed sparse operations, we accelerate sparse graph attention by up to 3.8x and reduce memory consumption by 78% compared to state-of-the-art frameworks. On large graph benchmarks, our proposed framework achieves up to 6x speedup with system scaling up to 8 GPUs. These results demonstrate that the proposed framework improves the scalability of graph transformers, bringing them closer to serving as practical graph foundation models.

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

↑