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

BNS-GCN:基于随机边界点采样的图卷积网络的高效全图训练

BNS-GCN: Efficient Full-Graph Training of Graph Convolutional Networks with Partition-Parallelism and Random Boundary Node Sampling

Rice University(莱斯大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Pacific Northwest National Laboratory(太平洋西北国家实验室)

Cheng Wan, Youjie Li, Ang Li, Nam Sung Kim, Yingyan Lin

摘要:

图卷积网络(GCN)已经成为基于图的学习任务的最先进的方法。然而,大规模训练GCN仍然具有挑战性,阻碍了更复杂的GCN架构的探索及其在现实世界大型图中的应用。虽然考虑图分区和分布式训练来应对这一挑战可能是很自然的,但由于现有设计的限制,这个方向在以前的工作中只是稍微触及了表面。在这项工作中,我们首先分析了为什么分布式GCN训练是无效的,并确定其根本原因是每个分区子图的边界节点数量过多,这很容易爆炸的内存和通信成本的GCN训练。此外,我们提出了一个简单而有效的方法称为BNS-GCN,采用随机边界节点采样,使高效和可扩展的分布式GCN训练。实验和消融研究一致地验证了BNS-GCN的有效性,例如,将吞吐量提高多达16.2倍,并将内存使用量减少多达58%,同时保持完整图形的准确性。此外,理论和实证分析表明,BNS-GCN享有更好的收敛性比现有的采样为基础的方法。我们相信,我们的BNS-GCN为大规模GCN培训开辟了一个新的范例。该代码可在https://github.com/RICE-EIC/BNS-GCN上获得。

英文摘要:

Graph Convolutional Networks (GCNs) have emerged as the state-of-the-art method for graph-based learning tasks. However, training GCNs at scale is still challenging, hindering both the exploration of more sophisticated GCN architectures and their applications to real-world large graphs. While it might be natural to consider graph partition and distributed training for tackling this challenge, this direction has only been slightly scratched the surface in the previous works due to the limitations of existing designs. In this work, we first analyze why distributed GCN training is ineffective and identify the underlying cause to be the excessive number of boundary nodes of each partitioned subgraph, which easily explodes the memory and communication costs for GCN training. Furthermore, we propose a simple yet effective method dubbed BNS-GCN that adopts random Boundary-Node-Sampling to enable efficient and scalable distributed GCN training. Experiments and ablation studies consistently validate the effectiveness of BNS-GCN, e.g., boosting the throughput by up to 16.2x and reducing the memory usage by up to 58%, while maintaining a full-graph accuracy. Furthermore, both theoretical and empirical analysis show that BNS-GCN enjoys a better convergence than existing sampling-based methods. We believe that our BNS-GCN has opened up a new paradigm for enabling GCN training at scale. The code is available at https://github.com/RICE-EIC/BNS-GCN.

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

↑