arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.03523cs.DCcs.AI
收藏

DGC:使用按块图划分训练具有时空非均匀性的动态图

DGC: Training Dynamic Graphs with Spatio-Temporal Non-Uniformity using Graph Partitioning by Chunks

The University of Aizu(会津大学);University of Electro-Communications(电气通信大学)

Fahao Chen, Peng Li, Celimuge Wu

AI总结:

针对动态图时空结构非均匀性导致训练加速困难的问题,提出分布式DGNN训练系统DGC,通过基于图粗化的按块图划分方法及块融合与自适应陈旧聚合技术,在3种模型和4个数据集上实现了1.25至7.52倍加速。

摘要:

动态图神经网络(DGNN)通过利用空间和时间特征,展现出了学习动态图的强大能力。尽管DGNN最近受到了AI社区的极大关注并提出了各种DGNN模型,但构建一个用于高效DGNN训练的分布式系统仍然具有挑战性。人们普遍认识到,如何划分动态图并将工作负载分配给多个GPU在训练加速中起着至关重要的作用。现有工作将动态图划分为快照或时间序列,这只在图具有均匀的时空结构时效果良好。然而,实际中的动态图结构并不均匀,有些快照非常密集,而另一些则很稀疏。为了解决这个问题,我们提出了DGC,这是一个分布式DGNN训练系统,在我们的测试平台中,它比最先进的系统实现了1.25倍到7.52倍的加速。DGC的成功源于一种新的图划分方法,该方法将动态图划分为块,这些块本质上是具有适度训练工作负载和少量相互连接的子图。该划分算法基于图粗化,可以在大型图上非常快速地运行。此外,DGC具有高效的运行时,由所提出的块融合和自适应陈旧聚合技术提供支持。我们展示了在3种典型DGNN模型和4个流行动态图数据集上的大量实验结果,以证明DGC的有效性。

英文摘要:

Dynamic Graph Neural Network (DGNN) has shown a strong capability of learning dynamic graphs by exploiting both spatial and temporal features. Although DGNN has recently received considerable attention by AI community and various DGNN models have been proposed, building a distributed system for efficient DGNN training is still challenging. It has been well recognized that how to partition the dynamic graph and assign workloads to multiple GPUs plays a critical role in training acceleration. Existing works partition a dynamic graph into snapshots or temporal sequences, which only work well when the graph has uniform spatio-temporal structures. However, dynamic graphs in practice are not uniformly structured, with some snapshots being very dense while others are sparse. To address this issue, we propose DGC, a distributed DGNN training system that achieves a 1.25x - 7.52x speedup over the state-of-the-art in our testbed. DGC's success stems from a new graph partitioning method that partitions dynamic graphs into chunks, which are essentially subgraphs with modest training workloads and few inter connections. This partitioning algorithm is based on graph coarsening, which can run very fast on large graphs. In addition, DGC has a highly efficient run-time, powered by the proposed chunk fusion and adaptive stale aggregation techniques. Extensive experimental results on 3 typical DGNN models and 4 popular dynamic graph datasets are presented to show the effectiveness of DGC.

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

↑