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

PipeGCN:基于流水线特征通信的图卷积网络高效全图训练

PipeGCN: Efficient Full-Graph Training of Graph Convolutional Networks with Pipelined Feature Communication

Rice University(莱斯大学);UIUC(伊利诺伊大学厄巴纳-香槟分校)

Cheng Wan, Youjie Li, Cameron R. Wolfe, Anastasios Kyrillidis, Nam Sung Kim, Yingyan Lin

摘要:

图卷积网络(GCN)是用于学习图结构数据的最先进的方法,并且训练大规模GCN需要跨多个加速器进行分布式训练,使得每个加速器能够保持分区的子图。然而,分布式GCN训练在每次训练迭代期间在每个GCN层的分区之间传递节点特征和特征梯度的开销过高,限制了可实现的训练效率和模型可扩展性。为此,我们提出了PipeGCN,一个简单而有效的计划,隐藏了通信开销的管道分区间通信与分区内计算。对于高效的GCN训练来说,流水线是不平凡的,因为所传送的节点特征/梯度将变得陈旧,从而可能损害收敛,从而否定流水线的益处。值得注意的是,关于GCN训练的收敛速度与陈旧的功能和陈旧的功能梯度知之甚少。这项工作不仅提供了一个理论上的收敛性分析,但也发现PipeGCN的收敛速度接近香草分布式GCN训练没有任何陈旧。此外,我们开发了一种平滑方法,以进一步提高PipeGCN的收敛性。大量的实验表明,PipeGCN可以大大提高训练吞吐量(1.7倍~ 28.5倍),同时达到与其vanilla对应物和现有全图训练方法相同的准确性。该代码可在https://github.com/RICE-EIC/PipeGCN上获得。

英文摘要:

Graph Convolutional Networks (GCNs) is the state-of-the-art method for learning graph-structured data, and training large-scale GCNs requires distributed training across multiple accelerators such that each accelerator is able to hold a partitioned subgraph. However, distributed GCN training incurs prohibitive overhead of communicating node features and feature gradients among partitions for every GCN layer during each training iteration, limiting the achievable training efficiency and model scalability. To this end, we propose PipeGCN, a simple yet effective scheme that hides the communication overhead by pipelining inter-partition communication with intra-partition computation. It is non-trivial to pipeline for efficient GCN training, as communicated node features/gradients will become stale and thus can harm the convergence, negating the pipeline benefit. Notably, little is known regarding the convergence rate of GCN training with both stale features and stale feature gradients. This work not only provides a theoretical convergence analysis but also finds the convergence rate of PipeGCN to be close to that of the vanilla distributed GCN training without any staleness. Furthermore, we develop a smoothing method to further improve PipeGCN's convergence. Extensive experiments show that PipeGCN can largely boost the training throughput (1.7x~28.5x) while achieving the same accuracy as its vanilla counterpart and existing full-graph training methods. The code is available at https://github.com/RICE-EIC/PipeGCN.

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

↑