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

光互连系统中分布式DNN训练的高效全约简算法

Efficient All-reduce for Distributed DNN Training in Optical Interconnect System

University of Otago(奥塔哥大学);Qilu University of Technology(齐鲁工业大学)

Fei Dai, Yawen Chen, Zhiyi Huang, Haibo Zhang, Fangfang Zhang

摘要:

通信效率在加速深度神经网络(DNN)的分布式训练中起着重要作用。All-reduce是分布式DNN训练中减少模型参数的关键通信原语。大多数现有的全约简算法是针对传统的电气互连系统设计的,由于电气互连系统的低数据带宽,其不能满足大型DNN的分布式训练的通信需求。光互连是电互连的一种很有前途的替代方案,它可以提供高带宽、低传输延迟和低功耗。我们提出了一种有效的方案称为WRHT(波长重用层次树),实现所有减少操作的光互连系统。WRHT可以利用WDM(波分复用),以减少分布式数据并行DNN训练的通信时间。我们进一步推导出所需的波长数,最少的通信步骤,和通信时间的所有减少操作的光互连。分析中还考虑了插入损耗的约束。仿真结果表明,与传统的三种全约简算法相比,基于WRHT的全约简算法的通信时间分别减少了80.81%、64.36%和82.12%。我们的研究结果还表明,WRHT可以减少92.42%和91.31%的通信时间相比,现有的所有减少算法运行在电气互连系统中的所有减少操作。

英文摘要:

Communication efficiency plays an important role in accelerating the distributed training of Deep Neural Networks (DNN). All-reduce is the crucial communication primitive to reduce model parameters in distributed DNN training. Most existing all-reduce algorithms are designed for traditional electrical interconnect systems, which cannot meet the communication requirements for distributed training of large DNNs due to the low data bandwidth of the electrical interconnect systems. One of the promising alternatives for electrical interconnect is optical interconnect, which can provide high bandwidth, low transmission delay, and low power cost. We propose an efficient scheme called WRHT (Wavelength Reused Hierarchical Tree) for implementing all-reduce operation in optical interconnect systems. WRHT can take advantage of WDM (Wavelength Division Multiplexing) to reduce the communication time of distributed data-parallel DNN training. We further derive the required number of wavelengths, the minimum number of communication steps, and the communication time for the all-reduce operation on optical interconnect. The constraint of insertion loss is also considered in our analysis. Simulation results show that the communication time of all-reduce by WRHT is reduced by 80.81%, 64.36%, and 82.12%, respectively, compared with three traditional all-reduce algorithms according to our simulation results of an optical interconnect system. Our results also show that WRHT can reduce the communication time of all-reduce operation by 92.42% and 91.31% compared to two existing all-reduce algorithms running in the electrical interconnect system.

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

↑