arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.08313cs.LGcs.DCstat.ML
收藏

局部更新SGD中实现最佳容错折衷的自适应通信策略

Adaptive Communication Strategies to Achieve the Best Error-Runtime Trade-off in Local-Update SGD

Carnegie Mellon University(卡内基梅隆大学)

Jianyu Wang, Gauri Joshi

摘要:

大规模机器学习训练,特别是分布式随机梯度下降,需要对固有的系统可变性(如节点离散和随机通信延迟)具有鲁棒性。这项工作考虑了一个分布式的训练框架,其中每个工作节点被允许执行本地模型更新,并定期平均得到的模型。我们分析了误差收敛的真实速度与挂钟时间(而不是迭代次数)的关系,并分析了它如何受到平均频率的影响。主要贡献是设计的AdaComm,一个自适应的通信策略,开始与不频繁的平均,以节省通信延迟和提高收敛速度,然后增加通信频率,以实现低错误平层。训练深度神经网络的严格实验表明,AdaComm可以比完全同步的SGD花费更少的时间$3 \times$,并且仍然达到相同的最终训练损失。

英文摘要:

Large-scale machine learning training, in particular distributed stochastic gradient descent, needs to be robust to inherent system variability such as node straggling and random communication delays. This work considers a distributed training framework where each worker node is allowed to perform local model updates and the resulting models are averaged periodically. We analyze the true speed of error convergence with respect to wall-clock time (instead of the number of iterations), and analyze how it is affected by the frequency of averaging. The main contribution is the design of AdaComm, an adaptive communication strategy that starts with infrequent averaging to save communication delay and improve convergence speed, and then increases the communication frequency in order to achieve a low error floor. Rigorous experiments on training deep neural networks show that AdaComm can take $3 \times$ less time than fully synchronous SGD, and still reach the same final training loss.

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

↑