GNNPipe:利用流水线模型并行扩展深度图神经网络训练
GNNPipe: Scaling Deep GNN Training with Pipelined Model Parallelism
AI总结:
GNNPipe 首次将层级流水线模型并行用于全图深度 GNN 训练,通过层划分、依赖分块和历史嵌入等技术大幅降低通信量,并结合图并行实现高效可扩展训练。
摘要:
通信是分布式图神经网络(GNN)训练的关键瓶颈。本文提出 GNNPipe,一种扩展分布式全图深度 GNN 训练的新方法。作为首个在 GNN 训练中使用层级模型并行的方法,GNNPipe 将 GNN 层划分到多个 GPU 上,每个设备在整个图上对一组互不相交的连续 GNN 层执行计算。与每个 GPU 处理一个图分区的图并行相比,GNNPipe 将通信量减少了 GNN 层数倍。GNNPipe 通过将全图划分为相互依赖的块、允许使用历史顶点嵌入以及应用特定训练技术来确保收敛,从而克服了在全图上进行流水线层级模型并行所面临的独特挑战。我们还提出了一种混合方法,将 GNNPipe 与图并行相结合,以处理大规模图、实现更好的计算资源利用率并确保模型收敛。我们构建了一个支持全部三种并行设置的通用 GNN 训练系统。大量实验表明,与图并行相比,我们的方法将每轮训练时间最多减少 2.45 倍(平均 1.58 倍),将通信量和通信开销分别最多减少 22.89 倍和 27.21 倍(平均 8.69 倍和 11.60 倍),同时达到相当的模型精度和收敛速度。
英文摘要:
Communication is a key bottleneck for distributed graph neural network (GNN) training. This paper proposes GNNPipe, a new approach that scales the distributed full-graph deep GNN training. Being the first to use layer-level model parallelism for GNN training, GNNPipe partitions GNN layers among GPUs, each device performs the computation for a disjoint subset of consecutive GNN layers on the whole graph. Compared to graph parallelism with each GPU handling a graph partition, GNNPipe reduces the communication volume by a factor of the number of GNN layers. GNNPipe overcomes the unique challenges for pipelined layer-level model parallelism on the whole graph by partitioning it into dependent chunks, allowing the use of historical vertex embeddings, and applying specific training techniques to ensure convergence. We also propose a hybrid approach by combining GNNPipe with graph parallelism to handle large graphs, achieve better computer resource utilization and ensure model convergence. We build a general GNN training system supporting all three parallelism setting. Extensive experiments show that our method reduces the per-epoch training time by up to 2.45x (on average 1.58x) and reduces the communication volume and overhead by up to 22.89x and 27.21x (on average 8.69x and 11.60x), respectively, while achieving a comparable level of model accuracy and convergence speed compared to graph parallelism.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。