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

关于带动量的随机梯度下降中的超参数

On the Hyperparameters in Stochastic Gradient Descent with Momentum

State Key Laboratory of Scientific and Engineering Computing(科学与工程计算国家重点实验室);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院)

Bin Shi

摘要:

遵循与[SSJ 20]相同的程序,本文继续对带动量的随机梯度下降(SGD with momentum)进行理论分析。随后,对于具有动量的SGD,我们证明了学习率和动量系数这两个超参数一起对非凸优化的线性收敛速度起着重要作用。我们的分析是基于使用的超参数依赖的随机微分方程(hp依赖的随机微分方程),作为一个连续的替代SGD与动量。同样,我们建立了具有动量的连续时间SGD公式的线性收敛性,并通过分析Kramers-Fokker-Planck算子的谱得到了最优线性速率的显式表达式。通过比较,我们证明了如何最佳的线性收敛速度和最终的差距SGD只有约学习率的动量系数从0到1时,引入动量的变化。然后,我们提出了一个数学解释,为什么有动量的SGD收敛速度更快,更强大的学习率比标准SGD在实践中。最后,我们证明了噪声存在下的Nesterov动量与标准动量没有本质的区别。

英文摘要:

Following the same routine as [SSJ20], we continue to present the theoretical analysis for stochastic gradient descent with momentum (SGD with momentum) in this paper. Differently, for SGD with momentum, we demonstrate it is the two hyperparameters together, the learning rate and the momentum coefficient, that play the significant role for the linear rate of convergence in non-convex optimization. Our analysis is based on the use of a hyperparameters-dependent stochastic differential equation (hp-dependent SDE) that serves as a continuous surrogate for SGD with momentum. Similarly, we establish the linear convergence for the continuous-time formulation of SGD with momentum and obtain an explicit expression for the optimal linear rate by analyzing the spectrum of the Kramers-Fokker-Planck operator. By comparison, we demonstrate how the optimal linear rate of convergence and the final gap for SGD only about the learning rate varies with the momentum coefficient increasing from zero to one when the momentum is introduced. Then, we propose a mathematical interpretation why the SGD with momentum converges faster and more robust about the learning rate than the standard SGD in practice. Finally, we show the Nesterov momentum under the existence of noise has no essential difference with the standard momentum.

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

↑