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

GraNNDis:面向大规模集群上深度图神经网络的高效统一分布式训练框架

GraNNDis: Efficient Unified Distributed Training Framework for Deep GNNs on Large Clusters

Seoul National University(首尔大学);Yonsei University(延世大学)

Jaeyong Song, Hongsun Jang, Jaewon Jung, Youngsok Kim, Jinho Lee

AI总结:

针对多服务器集群下分布式GNN训练存在的通信瓶颈、内存计算冗余及采样误差问题,提出含灵活预加载、协同批处理等策略的GraNNDis框架,实现显著加速并已开源。

摘要:

图神经网络(GNNs)是深度学习领域发展最为迅速的方向之一。尽管目前已有多种分布式GNN训练框架被提出以提升训练吞吐量,但它们在应用于多服务器集群时存在三方面局限:其一,这类框架未考虑多服务器集群的典型特征——服务器间与服务器内的带宽差异,因此存在服务器间通信瓶颈;其二,冗余的内存占用与计算量限制了分布式框架的可扩展性;其三,作为小批量训练事实标准的采样方法,在多服务器集群中会引入不必要的误差。我们发现,利用多服务器集群的特性可以解决上述局限。为此,我们提出GraNNDis——一种适用于多服务器集群的快速分布式GNN训练框架。首先,我们提出灵活预加载(Flexible Preloading)策略,按服务器维度预加载必要的顶点依赖关系,以减少低带宽的服务器间通信;其次,我们引入协同批处理(Cooperative Batching)机制,利用高带宽的服务器内通信,实现内存高效、冗余度更低的小批量训练;第三,我们提出扩展感知采样(Expansion-aware Sampling),这是一种集群感知的采样方法,仅对影响系统加速比的边进行采样。由于服务器内依赖通过高速服务器内链路传输,其采样对加速比贡献有限,因此该方法仅以服务器边界为采样目标;最后,我们引入一跳图掩码(One-Hop Graph Masking),这是一种计算与通信结构,用于在多服务器环境中实现上述方法。我们在多服务器集群上对GraNNDis进行了评估,结果显示其相比当前最优的分布式GNN训练框架实现了显著的加速。GraNNDis已在https://github.com/AIS-SNU/GraNNDis_Artifact 开源,以方便相关使用。

英文摘要:

Graph neural networks (GNNs) are one of the rapidly growing fields within deep learning. While many distributed GNN training frameworks have been proposed to increase the training throughput, they face three limitations when applied to multi-server clusters. 1) They suffer from an inter-server communication bottleneck because they do not consider the inter-/intra-server bandwidth gap, a representative characteristic of multi-server clusters. 2) Redundant memory usage and computation hinder the scalability of the distributed frameworks. 3) Sampling methods, de facto standard in mini-batch training, incur unnecessary errors in multi-server clusters. We found that these limitations can be addressed by exploiting the characteristics of multi-server clusters. Here, we propose GraNNDis, a fast distributed GNN training framework for multi-server clusters. Firstly, we present Flexible Preloading, which preloads the essential vertex dependencies server-wise to reduce the low-bandwidth inter-server communications. Secondly, we introduce Cooperative Batching, which enables memory-efficient, less redundant mini-batch training by utilizing high-bandwidth intra-server communications. Thirdly, we propose Expansion-aware Sampling, a cluster-aware sampling method, which samples the edges that affect the system speedup. As sampling the intra-server dependencies does not contribute much to the speedup as they are communicated through fast intra-server links, it only targets a server boundary to be sampled. Lastly, we introduce One-Hop Graph Masking, a computation and communication structure to realize the above methods in multi-server environments. We evaluated GraNNDis on multi-server clusters, and it provided significant speedup over the state-of-the-art distributed GNN training frameworks. GraNNDis is open-sourced at https://github.com/AIS-SNU/GraNNDis_Artifact to facilitate its use.

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

↑