arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.05823cs.LGcs.DCstat.ML
收藏

压缩梯度分布式训练中的步进误差反馈

Step-Ahead Error Feedback for Distributed Training with Compressed Gradient

University of Pittsburgh(匹兹堡大学);Google(谷歌);JD Finance America Corporation(京东金融美国公司)

An Xu, Zhouyuan Huo, Heng Huang

摘要:

分布式机器学习方法虽然可以加快大型深度神经网络的训练速度,但通信代价已成为制约性能的不可忽视的瓶颈。为了解决这一问题,基于梯度压缩的通信高效的分布式学习方法被设计来降低通信成本,最近的本地错误反馈被纳入以补偿相应的性能损失。然而,在本文中,我们将表明,一个新的“梯度失配”的问题是由集中式分布式训练中的局部误差反馈,并可能导致性能下降相比,全精度训练。为了解决这个关键问题,我们提出了两种新的技术,1)提前一步和2)误差平均,严格的理论分析。我们的理论和实证结果都表明,我们的新方法可以处理“梯度不匹配”问题。实验结果表明,我们甚至可以训练更快地与普通的梯度压缩方案比全精度训练和局部误差反馈的训练时期和没有性能损失。

英文摘要:

Although the distributed machine learning methods can speed up the training of large deep neural networks, the communication cost has become the non-negligible bottleneck to constrain the performance. To address this challenge, the gradient compression based communication-efficient distributed learning methods were designed to reduce the communication cost, and more recently the local error feedback was incorporated to compensate for the corresponding performance loss. However, in this paper, we will show that a new "gradient mismatch" problem is raised by the local error feedback in centralized distributed training and can lead to degraded performance compared with full-precision training. To solve this critical problem, we propose two novel techniques, 1) step ahead and 2) error averaging, with rigorous theoretical analysis. Both our theoretical and empirical results show that our new methods can handle the "gradient mismatch" problem. The experimental results show that we can even train faster with common gradient compression schemes than both the full-precision training and local error feedback regarding the training epochs and without performance loss.

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

↑