Stochastic gradient descent with momentum, also known as Stochastic Heavy Ball method (SHB), is one of the most popular algorithms for solving large-scale stochastic optimization problems in various machine learning tasks. In practical scenarios, tuning the step-size and momentum parameters of the method is a prohibitively expensive and time-consuming process. In this work, inspired by the recent advantages of stochastic Polyak step-size in the performance of stochastic gradient descent (SGD), we propose and explore new Polyak-type variants suitable for the update rule of the SHB method. In particular, using the Iterate Moving Average (IMA) viewpoint of SHB, we propose and analyze three novel step-size selections: MomSPS$_{\max}$, MomDecSPS, and MomAdaSPS. For MomSPS$_{\max}$, we provide convergence guarantees for SHB to a neighborhood of the solution for convex and smooth problems (without assuming interpolation). If interpolation is also satisfied, then using MomSPS$_{\max}$, SHB converges to the true solution at a fast rate matching the deterministic HB. The other two variants, MomDecSPS and MomAdaSPS, are the first adaptive step-size for SHB that guarantee convergence to the exact minimizer - without a priori knowledge of the problem parameters and without assuming interpolation. Our convergence analysis of SHB is tight and obtains the convergence guarantees of stochastic Polyak step-size for SGD as a special case. We supplement our analysis with experiments validating our theory and demonstrating the effectiveness and robustness of our algorithms.
Stochastic Polyak Step-size for SGD: An Adaptive Learning Rate for Fast Convergence
Mila(米拉研究所);DIRO(计算机科学与运筹学系(蒙特利尔大学));Université de Montréal(蒙特利尔大学);University of Alberta(阿尔伯塔大学);McGill(麦吉尔大学);Element AI(Element AI公司);CIFAR(加拿大高级研究院)
Momentum-based gradient descent methods for Lie groups
Departament de Matemàtiques, Universitat de València(瓦伦西亚大学数学系);Departamento de Matemática Aplicada, Ciencia e Ingeniería de los Materiales y Tecnología Electrónica, Universidad Rey Juan Carlos(雷乌恩卡洛斯大学应用数学系);Instituto de Ciencias Matemáticas (CSIC-UAM-UC3M-UCM)(数学科学研究所);Departamento de Matemáticas, Universidad de Córdoba(科尔多瓦大学数学系)
Taking the Road Less Scheduled with Adaptive Polyak Steps
Johns Hopkins University(约翰霍普金斯大学);University of British Columbia(不列颠哥伦比亚大学);Australian National University(澳大利亚国立大学);Center for Computational Mathematics(计算数学中心);Flatiron Institute, Simons Foundation(Flatiron 机构,Simons 基金会)
Proxy Convexity: A Unified Framework for the Analysis of Neural Networks Trained by Gradient Descent
Simons Institute for the Theory of Computing(西蒙斯计算理论研究所);University of California, Berkeley(加州大学伯克利分校);University of California, Los Angeles(加州大学洛杉矶分校)
SGD for Structured Nonconvex Functions: Learning Rates, Minibatching and Interpolation
LTCI, Télécom Paris, Institut Polytechnique de Paris(巴黎综合理工学院电信学院LTCI研究所);ENS Paris, CREST-ENSAE, CNRS(巴黎高等师范学院、CREST-ENSAE、法国国家科学研究中心);Mila and DIRO, Université de Montréal(蒙特利尔大学Mila研究所与计算机科学与运筹学系)
Cyclic Block Coordinate Descent With Variance Reduction for Composite Nonconvex Optimization
University of Wisconsin-Madison(威斯康星大学麦迪逊分校)
非凸优化是解决许多机器学习问题的核心,在这些问题中通常会遇到块结构。在这项工作中,我们提出了非渐近梯度范数保证的非凸最优化问题的循环块坐标方法。我们的收敛性分析是基于梯度利普希茨条件的Mahalanobis规范,启发循环块坐标方法的最新进展。在确定性设置中,我们的收敛保证与(全梯度)梯度下降的保证相匹配,但梯度Lipschitz常数被定义为w.r.t.~ a Mahalanobis规范.在随机环境下,我们使用递归方差缩减来降低每次迭代的代价,并与当前最优随机全梯度法的运算复杂度相匹配,同时对有限和和无限和情况进行了统一的分析。我们证明了一个更快的线性收敛的结果时,Polyak-Pjojasiewicz(Pjs)条件成立。据我们所知,这项工作是第一个提供非渐近收敛保证-方差减少或不-循环块坐标方法在一般复合(光滑+非光滑)非凸设置。我们的实验结果证明了所提出的循环方案在训练深度神经网络方面的有效性。
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(纽约大学斯特恩商学院)
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(中山大学计算机科学与工程学院)
Statistical Guarantees for High-Dimensional Stochastic Gradient Descent
Department of Statistics University of Chicago(统计学系芝加哥大学);Department of Mathematics University of California, San Diego(数学系加州大学圣地亚哥分校);Department of Applied Mathematics University of Twente(应用数学系埃因霍温大学)
Loss Gradient Gaussian Width based Generalization and Optimization Guarantees
Siebel School of Computing and Data Science(西贝尔计算与数据科学学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Minnesota, Twin Cities(明尼苏达大学双城分校)
High-dimensional limit theorems for SGD: Momentum and Adaptive Step-sizes
Department of Statistics and Actuarial Science, University of Waterloo, Canada(统计与精算科学系,滑铁卢大学,加拿大);Cheriton School of Computer Science, University of Waterloo, Canada(切尔顿计算机科学学院,滑铁卢大学,加拿大)
Universal Average-Case Optimality of Polyak Momentum
Polyak momentum(PM),也称为重球方法,是一种广泛使用的最优化方法,在二次目标上具有渐近最优的最坏情况复杂度。然而,其显着的经验成功并不能完全解释这种最优性,作为最坏情况下的分析-相反的平均情况-是不代表的预期复杂性的算法。在这项工作中,我们建立了一个新的PM和平均情况下的分析之间的联系。我们的主要贡献是证明,任何最佳的平均情况下的方法收敛于PM的迭代次数,在温和的假设。这为这种经典方法带来了一个新的视角,表明PM是渐近最坏情况和平均情况下的最优。