arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.07649cs.LG
收藏

DistTGL:基于记忆的分布式时序图神经网络训练

DistTGL: Distributed Memory-Based Temporal Graph Neural Network Training

University of Southern California(南加州大学);AWS AI(亚马逊云科技人工智能部门)

Hongkuan Zhou, Da Zheng, Xiang Song, George Karypis, Viktor Prasanna

AI总结:

针对基于记忆的 TGNN 在多 GPU 与分布式集群中面临的节点记忆同步和精度损失问题,本文提出 DistTGL,通过模型、训练算法和系统优化实现近线性加速,并提升精度与吞吐量。

摘要:

基于记忆的时序图神经网络是动态图表示学习中的强大工具,并已在许多真实应用中展示出卓越性能。然而,其节点记忆倾向于使用较小的批量大小,以捕获图事件中更多的依赖关系,并且需要在所有训练器之间同步维护。因此,现有框架在扩展到多个 GPU 时会出现精度损失。更糟糕的是,同步节点记忆的巨大开销使其难以实际部署到分布式 GPU 集群。在本工作中,我们提出 DistTGL——一种在分布式 GPU 集群上训练基于记忆的 TGNN 的高效且可扩展解决方案。与现有方案相比,DistTGL 具有三项改进:增强型 TGNN 模型、新颖的训练算法以及优化后的系统。实验中,DistTGL 实现了近线性的收敛加速,在精度上比最先进的单机方法高出 14.5%,训练吞吐量达到其 10.17 倍。

英文摘要:

Memory-based Temporal Graph Neural Networks are powerful tools in dynamic graph representation learning and have demonstrated superior performance in many real-world applications. However, their node memory favors smaller batch sizes to capture more dependencies in graph events and needs to be maintained synchronously across all trainers. As a result, existing frameworks suffer from accuracy loss when scaling to multiple GPUs. Evenworse, the tremendous overhead to synchronize the node memory make it impractical to be deployed to distributed GPU clusters. In this work, we propose DistTGL -- an efficient and scalable solution to train memory-based TGNNs on distributed GPU clusters. DistTGL has three improvements over existing solutions: an enhanced TGNN model, a novel training algorithm, and an optimized system. In experiments, DistTGL achieves near-linear convergence speedup, outperforming state-of-the-art single-machine method by 14.5% in accuracy and 10.17x in training throughput.

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

↑