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

用于深度学习模型分布式训练的领导者随机梯度下降:扩展

Leader Stochastic Gradient Descent for Distributed Training of Deep Learning Models: Extension

Yunfei Teng, Wenbo Gao, Francois Chalus, Anna Choromanska, Donald Goldfarb, Adrian Weller

摘要:

我们考虑在通信约束下训练深度学习模型的分布式优化。我们提出了一个新的算法,其参数更新依赖于两个力量:一个定期梯度步骤,并由目前表现最好的工人(领导者)的纠正方向。我们的方法不同于参数平均计划EASGD在许多方面:(i)我们的目标制定不改变的位置相比,原来的优化问题的驻点;(ii)我们避免了收敛减速所造成的拉当地工人下降到不同的局部最小值对方(即其参数的平均值);(iii)我们的设计更新打破了对称性的诅咒(在对称非凸景观中陷入不佳推广次优解的现象);以及(iv)我们的方法是更有效的通信,因为它只广播领导者的参数而不是所有工人。我们提供了理论分析的批处理版本的算法,我们称之为领导者梯度下降(LGD),其随机变体(LSGD)。最后,我们实现了我们的算法的异步版本,并将其扩展到多领导者设置,在那里我们形成工人组,每个工人由自己的本地领导者(一组中表现最好的)表示,并更新每个工人的纠正方向包括两个吸引力:一个到本地,一个到全球领导者(所有工人中表现最好的)。多领导者设置与当前的硬件架构很好地对齐,其中形成组的本地工作者位于单个计算节点内,并且不同的组对应于不同的节点。对于训练卷积神经网络,我们根据经验证明,我们的方法与最先进的基线相比是有利的。本文是[2]的一个推广。

英文摘要:

We consider distributed optimization under communication constraints for training deep learning models. We propose a new algorithm, whose parameter updates rely on two forces: a regular gradient step, and a corrective direction dictated by the currently best-performing worker (leader). Our method differs from the parameter-averaging scheme EASGD in a number of ways: (i) our objective formulation does not change the location of stationary points compared to the original optimization problem; (ii) we avoid convergence decelerations caused by pulling local workers descending to different local minima to each other (i.e. to the average of their parameters); (iii) our update by design breaks the curse of symmetry (the phenomenon of being trapped in poorly generalizing sub-optimal solutions in symmetric non-convex landscapes); and (iv) our approach is more communication efficient since it broadcasts only parameters of the leader rather than all workers. We provide theoretical analysis of the batch version of the proposed algorithm, which we call Leader Gradient Descent (LGD), and its stochastic variant (LSGD). Finally, we implement an asynchronous version of our algorithm and extend it to the multi-leader setting, where we form groups of workers, each represented by its own local leader (the best performer in a group), and update each worker with a corrective direction comprised of two attractive forces: one to the local, and one to the global leader (the best performer among all workers). The multi-leader setting is well-aligned with current hardware architecture, where local workers forming a group lie within a single computational node and different groups correspond to different nodes. For training convolutional neural networks, we empirically demonstrate that our approach compares favorably to state-of-the-art baselines. This work is a gentle extension of [2].

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

↑