arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.11124cs.LGmath.OCstat.ML
收藏

通过生成函数观察小批量SGD:收敛条件,相变,负动量的好处

A view of mini-batch SGD via generating functions: conditions of convergence, phase transitions, benefit from negative momenta

Technology Innovation Institute(技术创新研究院);CMAP, Ecole Polytechnique(巴黎综合理工学院CMAP);Skoltech(斯科尔科沃科技学院);Yandex Research(Yandex研究院)

Maksim Velikanov, Denis Kuznedelev, Dmitry Yarotsky

摘要:

带动量的小批量SGD是学习大型预测模型的基本算法。在本文中,我们开发了一个新的分析框架,分析噪声平均性能的小批量SGD线性模型在恒定的学习率,动量和批量大小。我们的主要思想是考虑一个特殊的家庭的“频谱可表达”近似模型参数的二阶矩的动态。这允许获得损失值序列的生成函数的显式表达式。通过对生成函数的分析,我们发现:1)SGD动力学根据问题的谱分布表现出几种收敛和发散区域; 2)在幂律谱分布的情况下,这些收敛区域具有显式的稳定性条件和显式的损失渐近性; 3)在负动量下可以达到最优收敛速度.我们验证了我们的理论预测与MNIST,CIFAR 10和合成问题的广泛实验,并找到了一个很好的定量协议。

英文摘要:

Mini-batch SGD with momentum is a fundamental algorithm for learning large predictive models. In this paper we develop a new analytic framework to analyze noise-averaged properties of mini-batch SGD for linear models at constant learning rates, momenta and sizes of batches. Our key idea is to consider the dynamics of the second moments of model parameters for a special family of "Spectrally Expressible" approximations. This allows to obtain an explicit expression for the generating function of the sequence of loss values. By analyzing this generating function, we find, in particular, that 1) the SGD dynamics exhibits several convergent and divergent regimes depending on the spectral distributions of the problem; 2) the convergent regimes admit explicit stability conditions, and explicit loss asymptotics in the case of power-law spectral distributions; 3) the optimal convergence rate can be achieved at negative momenta. We verify our theoretical predictions by extensive experiments with MNIST, CIFAR10 and synthetic problems, and find a good quantitative agreement.

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

↑