NeutronTP: Load-Balanced Distributed Full-Graph GNN Training with Tensor Parallelism

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ai, Xin, Yuan, Hao, Ling, Zeyu, Wang, Qiange, Zhang, Yanfeng, Fu, Zhenbo, Chen, Chaoyi, Gu, Yu, Yu, Ge
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909443906600960
author Ai, Xin
Yuan, Hao
Ling, Zeyu
Wang, Qiange
Zhang, Yanfeng
Fu, Zhenbo
Chen, Chaoyi
Gu, Yu
Yu, Ge
author_facet Ai, Xin
Yuan, Hao
Ling, Zeyu
Wang, Qiange
Zhang, Yanfeng
Fu, Zhenbo
Chen, Chaoyi
Gu, Yu
Yu, Ge
contents Graph neural networks (GNNs) have emerged as a promising direction. Training large-scale graphs that relies on distributed computing power poses new challenges. Existing distributed GNN systems leverage data parallelism by partitioning the input graph and distributing it to multiple workers. However, due to the irregular nature of the graph structure, existing distributed approaches suffer from unbalanced workloads and high overhead in managing cross-worker vertex dependencies. In this paper, we leverage tensor parallelism for distributed GNN training. GNN tensor parallelism eliminates cross-worker vertex dependencies by partitioning features instead of graph structures. Different workers are assigned training tasks on different feature slices with the same dimensional size, leading to a complete load balance. We achieve efficient GNN tensor parallelism through two critical functions. Firstly, we employ a generalized decoupled training framework to decouple NN operations from graph aggregation operations, significantly reducing the communication overhead caused by NN operations which must be computed using complete features. Secondly, we employ a memory-efficient task scheduling strategy to support the training of large graphs exceeding single GPU memory, while further improving performance by overlapping communication and computation. By integrating the above techniques, we propose a distributed GNN training system NeutronTP. Our experimental results on a 16-node Aliyun cluster demonstrate that NeutronTP achieves 1.29X-8.72X speedup over state-of-the-art GNN systems including DistDGL, NeutronStar, and Sancus.
format Preprint
id arxiv_https___arxiv_org_abs_2412_20379
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NeutronTP: Load-Balanced Distributed Full-Graph GNN Training with Tensor Parallelism
Ai, Xin
Yuan, Hao
Ling, Zeyu
Wang, Qiange
Zhang, Yanfeng
Fu, Zhenbo
Chen, Chaoyi
Gu, Yu
Yu, Ge
Distributed, Parallel, and Cluster Computing
Graph neural networks (GNNs) have emerged as a promising direction. Training large-scale graphs that relies on distributed computing power poses new challenges. Existing distributed GNN systems leverage data parallelism by partitioning the input graph and distributing it to multiple workers. However, due to the irregular nature of the graph structure, existing distributed approaches suffer from unbalanced workloads and high overhead in managing cross-worker vertex dependencies. In this paper, we leverage tensor parallelism for distributed GNN training. GNN tensor parallelism eliminates cross-worker vertex dependencies by partitioning features instead of graph structures. Different workers are assigned training tasks on different feature slices with the same dimensional size, leading to a complete load balance. We achieve efficient GNN tensor parallelism through two critical functions. Firstly, we employ a generalized decoupled training framework to decouple NN operations from graph aggregation operations, significantly reducing the communication overhead caused by NN operations which must be computed using complete features. Secondly, we employ a memory-efficient task scheduling strategy to support the training of large graphs exceeding single GPU memory, while further improving performance by overlapping communication and computation. By integrating the above techniques, we propose a distributed GNN training system NeutronTP. Our experimental results on a 16-node Aliyun cluster demonstrate that NeutronTP achieves 1.29X-8.72X speedup over state-of-the-art GNN systems including DistDGL, NeutronStar, and Sancus.
title NeutronTP: Load-Balanced Distributed Full-Graph GNN Training with Tensor Parallelism
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2412.20379