arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.01277cs.DCcs.AIcs.LG
收藏

用异步1比特通信增强分布式全图GNN训练

Boosting Distributed Full-graph GNN Training with Asynchronous One-bit Communication

Nanyang Technological University(南洋理工大学);Shanghai AI Laboratory(上海人工智能实验室);SenseTime Research(商汤科技研究院)

Meng Zhang, Qinghao Hu, Peng Sun, Yonggang Wen, Tianwei Zhang

摘要:

在大型图上训练图神经网络(GNN)具有挑战性,因为高内存需求和有限的GPU内存之间存在冲突。最近,分布式全图GNN训练已被广泛采用来解决这个问题。然而,大量的GPU间通信开销会导致严重的吞吐量下降。现有的通信压缩技术主要集中在传统的DNN训练,其瓶颈在于同步梯度和参数。我们发现它们在分布式GNN训练中效果不佳,因为障碍是前向传递过程中特征的逐层通信和后向传递过程中的特征梯度。为此,我们提出了一个高效的分布式GNN训练框架Sylvie,它在GNN中采用了一位量化技术,并进一步将缩减的通信与计算进行了流水线处理,以极大地减少开销,同时保持模型质量。详细地说,Sylvie提供了一个轻量级的Low-bit模块,用于在每一层中对发送的数据进行重定位,并将接收的数据重定位回全精度值。此外,我们提出了一个有界老化适配器来控制引入的老化,以实现进一步的性能增强。我们对各种模型和数据集进行了理论收敛分析和广泛的实验,以证明Sylvie可以将训练吞吐量大幅提高28.1倍。

英文摘要:

Training Graph Neural Networks (GNNs) on large graphs is challenging due to the conflict between the high memory demand and limited GPU memory. Recently, distributed full-graph GNN training has been widely adopted to tackle this problem. However, the substantial inter-GPU communication overhead can cause severe throughput degradation. Existing communication compression techniques mainly focus on traditional DNN training, whose bottleneck lies in synchronizing gradients and parameters. We find they do not work well in distributed GNN training as the barrier is the layer-wise communication of features during the forward pass & feature gradients during the backward pass. To this end, we propose an efficient distributed GNN training framework Sylvie, which employs one-bit quantization technique in GNNs and further pipelines the curtailed communication with computation to enormously shrink the overhead while maintaining the model quality. In detail, Sylvie provides a lightweight Low-bit Module to quantize the sent data and dequantize the received data back to full precision values in each layer. Additionally, we propose a Bounded Staleness Adaptor to control the introduced staleness to achieve further performance enhancement. We conduct theoretical convergence analysis and extensive experiments on various models & datasets to demonstrate Sylvie can considerably boost the training throughput by up to 28.1x.

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

↑