arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.12960stat.MLcs.LG
收藏

基于内存的分布式SGD的收敛性研究

On the Convergence of Memory-Based Distributed SGD

Nanjing University(南京大学)

Shen-Yi Zhao, Hao Gao, Wu-Jun Li

摘要:

分布式随机梯度下降算法(DSGD)被广泛应用于大规模机器学习模型的优化,包括凸模型和非凸模型。随着模型规模的快速增长,巨大的通信开销已经成为传统DSGD的瓶颈。近年来,提出了许多通信压缩方法。基于记忆的分布式随机梯度下降算法M-DSGD是一种有效的方法,因为每个工作者在每次迭代中传递一个稀疏向量,所以通信代价很小。最近的工作提出了M-DSGD的收敛速度时,它采用香草SGD。然而,M-DSGD在采用动量SGD时的收敛性理论还很缺乏。本文通过引入\emph{transformation equation},给出了M-DSGD的一个普适收敛性分析.该转换方程描述了传统DSGD与M-DSGD之间的关系,从而可以将M-DSGD转换为相应的DSGD。从而得到了带动量的M-DSGD对凸和非凸问题的收敛速度。此外,我们结合M-DSGD和阶段式学习,M-DSGD在每一阶段的学习率是一个常数,并逐步减少,而不是迭代。利用该变换方程,我们给出了分段M-DSGD的收敛速度,弥补了理论与实践之间的差距。

英文摘要:

Distributed stochastic gradient descent~(DSGD) has been widely used for optimizing large-scale machine learning models, including both convex and non-convex models. With the rapid growth of model size, huge communication cost has been the bottleneck of traditional DSGD. Recently, many communication compression methods have been proposed. Memory-based distributed stochastic gradient descent~(M-DSGD) is one of the efficient methods since each worker communicates a sparse vector in each iteration so that the communication cost is small. Recent works propose the convergence rate of M-DSGD when it adopts vanilla SGD. However, there is still a lack of convergence theory for M-DSGD when it adopts momentum SGD. In this paper, we propose a universal convergence analysis for M-DSGD by introducing \emph{transformation equation}. The transformation equation describes the relation between traditional DSGD and M-DSGD so that we can transform M-DSGD to its corresponding DSGD. Hence we get the convergence rate of M-DSGD with momentum for both convex and non-convex problems. Furthermore, we combine M-DSGD and stagewise learning that the learning rate of M-DSGD in each stage is a constant and is decreased by stage, instead of iteration. Using the transformation equation, we propose the convergence rate of stagewise M-DSGD which bridges the gap between theory and practice.

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

↑