DaSGD:使用延迟平均的分布式训练中的压缩SGD并行化性能
DaSGD: Squeezing SGD Parallelization Performance in Distributed Training Using Delayed Averaging
摘要:
最先进的深度学习算法依赖于分布式训练系统来处理不断增加的模型和训练数据集。小批量随机梯度下降(SGD)算法要求工作者停止前向/反向传播,等待所有工作者聚集的梯度,并在下一批任务之前接收权重更新。这种同步执行模型暴露了分布式训练系统中大量工作者之间的梯度/权重通信的开销。我们提出了一个新的SGD算法,DaSGD(本地SGD与延迟平均),并行SGD和前/后传播隐藏100%的通信开销。该算法通过调整梯度更新机制,有效地利用了硬件资源,减少了对低延迟高吞吐量互连的依赖。理论分析和实验结果表明,该算法的收敛速度为O(1/sqrt(K)),与SGD算法相同。性能评估表明,它可以实现随集群大小的线性性能扩展。
英文摘要:
The state-of-the-art deep learning algorithms rely on distributed training systems to tackle the increasing sizes of models and training data sets. Minibatch stochastic gradient descent (SGD) algorithm requires workers to halt forward/back propagations, to wait for gradients aggregated from all workers, and to receive weight updates before the next batch of tasks. This synchronous execution model exposes the overheads of gradient/weight communication among a large number of workers in a distributed training system. We propose a new SGD algorithm, DaSGD (Local SGD with Delayed Averaging), which parallelizes SGD and forward/back propagations to hide 100% of the communication overhead. By adjusting the gradient update scheme, this algorithm uses hardware resources more efficiently and reduces the reliance on the low-latency and high-throughput inter-connects. The theoretical analysis and the experimental results show its convergence rate O(1/sqrt(K)), the same as SGD. The performance evaluation demonstrates it enables a linear performance scale-up with the cluster size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。