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

Armada:大规模图神经网络的内存高效分布式训练

Armada: Memory-Efficient Distributed Training of Large-Scale Graph Neural Networks

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Apple(苹果公司)

Roger Waleffe, Devesh Sarda, Jason Mohoney, Emmanouil-Vasileios Vlatakis-Gkaragkounis, Theodoros Rekatsinas, Shivaram Venkataraman

AI总结:

Armada提出GREM分区算法与解耦架构,实现高效大规模GNN分布式训练,分区质量媲美METIS,内存减少8-65倍,速度提升8-46倍,运行时间改进达4.5倍。

摘要:

我们研究在跨机器分区的十亿级图上的图神经网络(GNN)分布式训练。在此设置下,高效训练依赖于最小边割分区算法,该算法最小化由于GNN邻域采样导致的跨机器通信。然而,在大规模图上的最小边割分区仍然是一个挑战:最先进的离线方法(如METIS)是有效的,但它们需要比GNN训练本身多几个数量级的内存和运行时间,而计算高效的算法(如流式贪心方法)则遭受边割增加的问题。因此,在这项工作中,我们引入了Armada,一个用于分布式GNN训练的新端到端系统,其关键贡献是GREM,一种新颖的最小边割分区算法,能够高效扩展到大规模图。GREM建立在流式贪心方法之上,并有一个关键补充:先前的顶点分配在流式处理过程中持续细化,而不是在初始贪心选择后冻结。我们的理论分析和实验结果表明,这种细化对于最小化边割至关重要,并使GREM能够达到与METIS相当的分区质量,但内存减少8-65倍,速度提高8-46倍。给定分区图,Armada利用一种新的分布式GNN训练解耦架构来进一步提高效率;我们发现,在常见的云机器上,即使零通信,GNN邻域采样和特征加载也会成为训练瓶颈。解耦允许Armada独立地为这些操作分配资源,并确保昂贵的GPU保持计算饱和。我们评估了Armada与最先进的分布式GNN训练系统,发现解耦架构带来了高达4.5倍的运行时间改进和高达3.1倍的成本降低。

英文摘要:

We study distributed training of Graph Neural Networks (GNNs) on billion-scale graphs that are partitioned across machines. Efficient training in this setting relies on min-edge-cut partitioning algorithms, which minimize cross-machine communication due to GNN neighborhood sampling. Yet, min-edge-cut partitioning over large graphs remains a challenge: State-of-the-art (SoTA) offline methods (e.g., METIS) are effective, but they require orders of magnitude more memory and runtime than GNN training itself, while computationally efficient algorithms (e.g., streaming greedy approaches) suffer from increased edge cuts. Thus, in this work we introduce Armada, a new end-to-end system for distributed GNN training whose key contribution is GREM, a novel min-edge-cut partitioning algorithm that can efficiently scale to large graphs. GREM builds on streaming greedy approaches with one key addition: prior vertex assignments are continuously refined during streaming, rather than frozen after an initial greedy selection. Our theoretical analysis and experimental results show that this refinement is critical to minimizing edge cuts and enables GREM to reach partition quality comparable to METIS but with 8-65x less memory and 8-46x faster. Given a partitioned graph, Armada leverages a new disaggregated architecture for distributed GNN training to further improve efficiency; we find that on common cloud machines, even with zero communication, GNN neighborhood sampling and feature loading bottleneck training. Disaggregation allows Armada to independently allocate resources for these operations and ensure that expensive GPUs remain saturated with computation. We evaluate Armada against SoTA systems for distributed GNN training and find that the disaggregated architecture leads to runtime improvements up to 4.5x and cost reductions up to 3.1x.

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

↑