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

稀疏梯度法的收敛性

The Convergence of Sparsified Gradient Methods

IST Austria(奥地利科学技术研究所);ETH Zurich(苏黎世联邦理工学院);KTH(瑞典皇家理工学院)

Dan Alistarh, Torsten Hoefler, Mikael Johansson, Sarit Khirirat, Nikola Konstantinov, Cédric Renggli

摘要:

通过随机梯度下降(SGD)对大规模机器学习模型(特别是深度神经网络)进行分布式训练正变得越来越普遍。已经提出了几种减少通信的方法,如量化、大批量方法和梯度稀疏化。到目前为止,梯度稀疏化方法-其中每个节点按大小对梯度进行排序,并且只传递分量的子集,在本地累积其余分量-被称为产生一些最大的实际收益。这种方法可以将每步的通信量减少多达三个数量级,同时保持模型的准确性。然而,这一系列的方法目前还没有理论依据。这就是我们在本文中要解决的问题。我们证明,在分析假设下,稀疏梯度的幅度与局部误差校正提供了收敛保证,凸和非凸光滑的目标,数据并行SGD。主要的见解是,稀疏化方法隐式地保持了陈旧更新的最大影响的界限,这要归功于按大小选择。我们的分析和实证验证也表明,这些方法确实需要分析条件收敛良好,证明现有的算法。

英文摘要:

Distributed training of massive machine learning models, in particular deep neural networks, via Stochastic Gradient Descent (SGD) is becoming commonplace. Several families of communication-reduction methods, such as quantization, large-batch methods, and gradient sparsification, have been proposed. To date, gradient sparsification methods - where each node sorts gradients by magnitude, and only communicates a subset of the components, accumulating the rest locally - are known to yield some of the largest practical gains. Such methods can reduce the amount of communication per step by up to three orders of magnitude, while preserving model accuracy. Yet, this family of methods currently has no theoretical justification. This is the question we address in this paper. We prove that, under analytic assumptions, sparsifying gradients by magnitude with local error correction provides convergence guarantees, for both convex and non-convex smooth objectives, for data-parallel SGD. The main insight is that sparsification methods implicitly maintain bounds on the maximum impact of stale updates, thanks to selection by magnitude. Our analysis and empirical validation also reveal that these methods do require analytical conditions to converge well, justifying existing heuristics.

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

↑