论文标题
在光学互连系统中进行分布式DNN培训的有效全减速
Efficient All-reduce for Distributed DNN Training in Optical Interconnect System
论文作者
论文摘要
沟通效率在加速深度神经网络(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.