arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.02367stat.MLcs.DCcs.LGmath.OC
收藏

Qsparse-local-SGD:具有量化、稀疏化和局部计算的分布式SGD

Qsparse-local-SGD: Distributed SGD with Quantization, Sparsification, and Local Computations

Adobe Inc.(奥多比公司);UCLA(加州大学洛杉矶分校);Amazon Web Services(亚马逊云科技)

Debraj Basu, Deepesh Data, Can Karakus, Suhas Diggavi

摘要:

通信瓶颈是大规模学习模型分布式优化中的一个重要问题。最近,已经提出了几种缓解这个问题的方法,包括不同形式的梯度压缩或计算局部模型并迭代地混合它们。在本文中,我们提出了\emph{Qsparse-local-SGD}算法,该算法通过跟踪真实梯度和压缩梯度之间的差异,将积极的稀疏化与量化和局部计算以及误差补偿相结合。我们提出了同步和异步实现的\emph{Qsparse-local-SGD}。我们分析了收敛的\emph{Qsparse-local-SGD}在\emph{distributed}设置为光滑的非凸和凸的目标函数。我们证明了\emph{Qsparse-local-SGD}收敛速度相同的香草分布SGD的许多重要类的稀疏和量化。我们使用\emph{Qsparse-local-SGD}在ImageNet上训练ResNet-50,并表明它比最先进的方法节省了大量的比特数,以达到目标精度。

英文摘要:

Communication bottleneck has been identified as a significant issue in distributed optimization of large-scale learning models. Recently, several approaches to mitigate this problem have been proposed, including different forms of gradient compression or computing local models and mixing them iteratively. In this paper, we propose \emph{Qsparse-local-SGD} algorithm, which combines aggressive sparsification with quantization and local computation along with error compensation, by keeping track of the difference between the true and compressed gradients. We propose both synchronous and asynchronous implementations of \emph{Qsparse-local-SGD}. We analyze convergence for \emph{Qsparse-local-SGD} in the \emph{distributed} setting for smooth non-convex and convex objective functions. We demonstrate that \emph{Qsparse-local-SGD} converges at the same rate as vanilla distributed SGD for many important classes of sparsifiers and quantizers. We use \emph{Qsparse-local-SGD} to train ResNet-50 on ImageNet and show that it results in significant savings over the state-of-the-art, in the number of bits transmitted to reach target accuracy.

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

↑