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

简化海量图上的分布式神经网络训练:随机化分区改进模型聚合

Simplifying Distributed Neural Network Training on Massive Graphs: Randomized Partitions Improve Model Aggregation

University of Michigan(密歇根大学);Amazon(亚马逊);University of California, Santa Cruz(加利福尼亚大学圣克鲁兹分校);Microsoft(微软)

Jiong Zhu, Aishwarya Reganti, Edward Huang, Charles Dickens, Nikhil Rao, Karthik Subbian, Danai Koutra

AI总结:

提出一种简化的分布式GNN训练框架,通过随机化分区和周期性模型聚合提升数据均匀性,在减少开销的同时实现优于基线的性能、2.31倍加速及更强鲁棒性。

摘要:

GNN的分布式训练使得在超出单机存储和计算能力的海量图(例如社交和电子商务网络)上进行学习成为可能。为了达到与集中式训练相当的性能,分布式框架侧重于通过实例间通信或周期性回退到集中式训练来最大程度地恢复跨实例节点依赖,这产生了额外开销并限制了框架的可扩展性。在本研究中,我们提出了一个简化的分布式GNN训练框架,它不依赖上述代价高昂的操作,并且在可扩展性、收敛速度和性能上优于现有最先进的方法。具体而言,我们的框架(1)组装独立的训练器,每个训练器在训练图的本地可用部分上异步学习一个本地模型,并且(2)仅执行周期性(基于时间的)模型聚合来同步本地模型。在理论分析的支持下,我们的框架没有去最大化恢复跨实例节点依赖——这一直被认为是缩小模型聚合与集中式训练之间性能差距的关键——而是利用节点或超级节点(即原始节点的集合)的随机分配来对训练图进行分区,从而提高数据均匀性并最小化跨实例的梯度和损失函数差异。我们在具有多达13亿条边的社交和电子商务网络上进行了实验,我们提出的RandomTMA和SuperTMA方法——尽管使用了较少的训练数据——实现了最先进的性能,与最快的基线相比获得了2.31倍的加速,并表现出对训练器故障更好的鲁棒性。

英文摘要:

Distributed training of GNNs enables learning on massive graphs (e.g., social and e-commerce networks) that exceed the storage and computational capacity of a single machine. To reach performance comparable to centralized training, distributed frameworks focus on maximally recovering cross-instance node dependencies with either communication across instances or periodic fallback to centralized training, which create overhead and limit the framework scalability. In this work, we present a simplified framework for distributed GNN training that does not rely on the aforementioned costly operations, and has improved scalability, convergence speed and performance over the state-of-the-art approaches. Specifically, our framework (1) assembles independent trainers, each of which asynchronously learns a local model on locally-available parts of the training graph, and (2) only conducts periodic (time-based) model aggregation to synchronize the local models. Backed by our theoretical analysis, instead of maximizing the recovery of cross-instance node dependencies -- which has been considered the key behind closing the performance gap between model aggregation and centralized training -- , our framework leverages randomized assignment of nodes or super-nodes (i.e., collections of original nodes) to partition the training graph such that it improves data uniformity and minimizes the discrepancy of gradient and loss function across instances. In our experiments on social and e-commerce networks with up to 1.3 billion edges, our proposed RandomTMA and SuperTMA approaches -- despite using less training data -- achieve state-of-the-art performance and 2.31x speedup compared to the fastest baseline, and show better robustness to trainer failures.

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

↑