Stochastic momentum methods have been widely adopted in training deep neural networks. However, their theoretical analysis of convergence of the training objective and the generalization error for prediction is still under-explored. This paper aims to bridge the gap between practice and theory by analyzing the stochastic gradient (SG) method, and the stochastic momentum methods including two famous variants, i.e., the stochastic heavy-ball (SHB) method and the stochastic variant of Nesterov's accelerated gradient (SNAG) method. We propose a framework that unifies the three variants. We then derive the convergence rates of the norm of gradient for the non-convex optimization problem, and analyze the generalization performance through the uniform stability approach. Particularly, the convergence analysis of the training objective exhibits that SHB and SNAG have no advantage over SG. However, the stability analysis shows that the momentum term can improve the stability of the learned model and hence improve the generalization performance. These theoretical insights verify the common wisdom and are also corroborated by our empirical analysis on deep learning.
Momentum and Stochastic Momentum for Stochastic Gradient, Newton, Proximal Point and Subspace Descent Methods
The University of Edinburgh(爱丁堡大学);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);Moscow Institute of Physics and Technology (MIPT)(莫斯科物理技术学院)
Acceleration of stochastic gradient descent with momentum by averaging: finite-sample rates and asymptotic normality
School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院);Daniels School of Business, Purdue University(普渡大学丹尼尔斯商学院);Stern School of Business, New York University(纽约大学斯特恩商学院)
Katyusha X: Practical Momentum Method for Stochastic Sum-of-Nonconvex Optimization
Microsoft Research AI(微软研究院AI)
最小化非凸函数之和的问题(即,凸函数(即非凸函数的平均值)在机器学习中变得越来越重要,并且是PCA、SVD、正则化牛顿法、加速非凸优化等的核心机制。我们展示了如何可证明地获得一个加速的随机算法最小化的总和的非凸函数,由$\textit{adding one additional line}$著名的SVRG方法。这条线对应于动量,并显示了如何直接将动量应用于非凸函数之和的有限和随机最小化。作为一个副作用,我们的方法享有线性并行加速使用小批量。
On the Generalization of Stochastic Gradient Descent with Momentum
University of Oslo(奥斯陆大学);Visual Intelligence Centre(视觉智能中心);Integreat, Norwegian Centre for Knowledge-driven Machine Learning(Integreat,挪威知识驱动机器学习中心);EPFL(洛桑联邦理工学院);Laboratory for Information and Inference Systems (LIONS), EPFL(信息与推理系统实验室(LIONS),洛桑联邦理工学院);University of Toronto(多伦多大学)
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(中国科学院数学与系统科学研究院)
遵循与[SSJ 20]相同的程序,本文继续对带动量的随机梯度下降(SGD with momentum)进行理论分析。随后,对于具有动量的SGD,我们证明了学习率和动量系数这两个超参数一起对非凸优化的线性收敛速度起着重要作用。我们的分析是基于使用的超参数依赖的随机微分方程(hp依赖的随机微分方程),作为一个连续的替代SGD与动量。同样,我们建立了具有动量的连续时间SGD公式的线性收敛性,并通过分析Kramers-Fokker-Planck算子的谱得到了最优线性速率的显式表达式。通过比较,我们证明了如何最佳的线性收敛速度和最终的差距SGD只有约学习率的动量系数从0到1时,引入动量的变化。然后,我们提出了一个数学解释,为什么有动量的SGD收敛速度更快,更强大的学习率比标准SGD在实践中。最后,我们证明了噪声存在下的Nesterov动量与标准动量没有本质的区别。
The Implicit Bias of Steepest Descent with Mini-batch Stochastic Gradient
School of Statistics, Renmin University of China(中国人民大学统计学院);School of Computing and Data Science, The University of Hong Kong(香港大学计算与数据科学学院);School of Computing and Data Science & Institute of Data Science, The University of Hong Kong(香港大学计算与数据科学学院及数据科学研究所)
Positive-Negative Momentum: Manipulating Stochastic Gradient Noise to Improve Generalization
The University of Tokyo(东京大学);RIKEN Center for AIP(理化学研究所人工智能中心);National University of Singapore(新加坡国立大学);Beijing Institute of Big Data Research(北京大数据研究院)
Global Convergence of Stochastic Gradient Hamiltonian Monte Carlo for Non-Convex Stochastic Optimization: Non-Asymptotic Performance Bounds and Momentum-Based Acceleration
The Chinese University of Hong Kong(香港中文大学);Rutgers University(罗格斯大学);Florida State University(佛罗里达州立大学)
随机梯度Hamilton Monte Carlo(SGHMC)是一种动量随机梯度算法,在随机梯度中加入受控的、适当缩放的高斯噪声,使迭代过程趋于全局极小值。许多工作报告了其在解决随机非凸优化问题的实践中的经验成功,特别是它已被观察到优于过阻尼Langevin蒙特卡罗方法,如随机梯度Langevin动力学(SGLD)在许多应用中。虽然SGHMC的渐近整体收敛性质是众所周知的,其有限时间性能还没有得到很好的理解。在这项工作中,我们研究了两个变种的SGHMC的基础上两个替代离散的欠阻尼朗之万扩散。我们提供了有限时间性能界的整体收敛的SGHMC解决显式常数随机非凸优化问题的变种。我们的研究结果导致人口和经验风险最小化问题的非渐近保证。对于一个固定的目标精度水平,对一类非凸问题,我们得到的复杂性界SGHMC可以比SGLD更紧。这些结果表明,在全局非凸优化的背景下,动量加速是可能的。
Losing momentum in continuous-time stochastic optimisation
Princeton University(普林斯顿大学);The University of Manchester(曼彻斯特大学);Technische Universiteit Delft(代尔夫特理工大学);Technische Universität München(慕尼黑工业大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)
Katyusha: The First Direct Acceleration of Stochastic Gradient Methods
Princeton University(普林斯顿大学);Institute for Advanced Study(高等研究院)
Nesterov的动量技巧以加速梯度下降而闻名,并已被证明在构建快速迭代算法方面很有用。然而,在随机设置中,存在反例,并阻止Nesterov的动量提供类似的加速度,即使潜在的问题是凸和有限和。我们引入$\mathtt{Katyusha}$,一个直接的,原始的唯一的随机梯度法来解决这个问题。在凸有限和随机最优化中,$\mathtt{Katyusha}$具有最优加速收敛速度,并且在小批量环境下具有最优并行线性加速比。主要成分是$\textit{Katyusha momentum}$,一种新的“负动力”,位于涅斯捷罗夫的动力之上。它可以被合并到一个方差减少为基础的算法,并加快它,无论是在$\textit{sequential and parallel}$性能方面。由于方差缩减已成功地应用于越来越多的实际问题,我们的论文建议,在每一个这样的情况下,人们可能会尝试给喀秋莎一个拥抱。
Zhejiang University/University of Illinois at Urbana-Champaign Institute(浙江大学-伊利诺伊大学厄巴纳香槟校区联合学院);Hong Kong Metropolitan University(香港都会大学);Singapore University of Technology and Design(新加坡科技设计大学);Princeton University(普林斯顿大学)
MoSSP: A Momentum-Based Single-Loop Stochastic Penalty Method for Nonconvex Constrained DC-Regularized Optimization
School of Mathematical Sciences, Beihang University, Beijing 100191, China(北京航空航天大学数学学院);School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China(中山大学计算机科学与工程学院)