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

基于顶点割的无通信分布式图神经网络训练

Communication-Free Distributed GNN Training with Vertex Cut

Stanford University(斯坦福大学);Amazon(亚马逊)

Kaidi Cao, Rui Deng, Shirley Wu, Edward W Huang, Karthik Subbian, Jure Leskovec

AI总结:

本文提出CoFree-GNN框架,采用顶点割划分实现无通信分布式GNN训练,并通过重加权机制和改进DropEdge技术保持精度并进一步加速,实验表明训练速度最高可达现有方法的10倍。

摘要:

在由数十亿节点和边组成的真实世界图上训练图神经网络(GNN)相当具有挑战性,主要原因是存储图及其中间节点和边特征所需的内存非常庞大,并且迫切需要加快训练过程。一种常见的加速方法是将图划分为许多较小的子图,然后将这些子图分布到一台或多台机器上的多个GPU上并行处理。然而,现有的分布式方法需要频繁且大量的跨GPU通信,导致显著的时间开销,并且可扩展性逐渐下降。在此,我们提出CoFree-GNN,一种新颖的分布式GNN训练框架,通过实现无通信训练显著加快训练过程。该框架采用顶点割划分,即不是通过切割分区之间的边来划分图,而是由顶点割划分边并复制节点信息以保留图结构。此外,该框架通过引入重加权机制来处理因节点复制而产生的扭曲图分布,从而保持较高的模型精度。我们还提出了一种改进的DropEdge技术,以进一步加快训练过程。通过在真实世界网络上进行的大量实验,我们证明CoFree-GNN将GNN训练过程的速度提升至现有最先进GNN训练方法的10倍。

英文摘要:

Training Graph Neural Networks (GNNs) on real-world graphs consisting of billions of nodes and edges is quite challenging, primarily due to the substantial memory needed to store the graph and its intermediate node and edge features, and there is a pressing need to speed up the training process. A common approach to achieve speed up is to divide the graph into many smaller subgraphs, which are then distributed across multiple GPUs in one or more machines and processed in parallel. However, existing distributed methods require frequent and substantial cross-GPU communication, leading to significant time overhead and progressively diminishing scalability. Here, we introduce CoFree-GNN, a novel distributed GNN training framework that significantly speeds up the training process by implementing communication-free training. The framework utilizes a Vertex Cut partitioning, i.e., rather than partitioning the graph by cutting the edges between partitions, the Vertex Cut partitions the edges and duplicates the node information to preserve the graph structure. Furthermore, the framework maintains high model accuracy by incorporating a reweighting mechanism to handle a distorted graph distribution that arises from the duplicated nodes. We also propose a modified DropEdge technique to further speed up the training process. Using an extensive set of experiments on real-world networks, we demonstrate that CoFree-GNN speeds up the GNN training process by up to 10 times over the existing state-of-the-art GNN training approaches.

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

↑