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

SGD:一般分析和提高的比率

SGD: General Analysis and Improved Rates

Télécom Paris Tech(巴黎电信学院);University of Edinburgh(爱丁堡大学);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院)

Robert Mansel Gower, Nicolas Loizou, Xun Qian, Alibek Sailanbayev, Egor Shulgin, Peter Richtarik

摘要:

我们提出了一个一般而简单的定理描述任意采样范式下的SGD的收敛性。我们的定理描述了一个无限阵列的SGD变量的收敛性,其中每个变量都与一个特定的概率定律相关联,该概率定律支配用于形成小批量的数据选择规则。这是第一次进行这样的分析,我们的大多数SGD变体在文献中从未明确考虑过。我们的分析依赖于最近推出的预期平滑的概念,并不依赖于一个统一的约束的随机梯度的方差。通过将我们的定理专门化到不同的小批量策略,例如替换抽样和独立抽样,我们推导出步长作为小批量大小的函数的精确表达式。有了这个,我们还可以确定优化总复杂度的小批量大小,并明确表明,随着最小值处评估的随机梯度的方差的增长,最佳小批量大小也会增长。对于零方差,最佳小批量大小为1。此外,我们证明了有见地的步长切换规则,它描述了当一个人应该从一个常数切换到一个逐步减少的步长制度。

英文摘要:

We propose a general yet simple theorem describing the convergence of SGD under the arbitrary sampling paradigm. Our theorem describes the convergence of an infinite array of variants of SGD, each of which is associated with a specific probability law governing the data selection rule used to form mini-batches. This is the first time such an analysis is performed, and most of our variants of SGD were never explicitly considered in the literature before. Our analysis relies on the recently introduced notion of expected smoothness and does not rely on a uniform bound on the variance of the stochastic gradients. By specializing our theorem to different mini-batching strategies, such as sampling with replacement and independent sampling, we derive exact expressions for the stepsize as a function of the mini-batch size. With this we can also determine the mini-batch size that optimizes the total complexity, and show explicitly that as the variance of the stochastic gradient evaluated at the minimum grows, so does the optimal mini-batch size. For zero variance, the optimal mini-batch size is one. Moreover, we prove insightful stepsize-switching rules which describe when one should switch from a constant to a decreasing stepsize regime.

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

↑