arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04142math.OCcs.LGstat.ML
收藏

随机Polyak步长与动量:收敛性保证与实际性能

Stochastic Polyak Step-sizes and Momentum: Convergence Guarantees and Practical Performance

Johns Hopkins University(约翰斯·霍普金斯大学)

Dimitris Oikonomou, Nicolas Loizou

AI总结:

本文针对带动量的随机梯度下降法(SHB)参数调优困难的问题,基于迭代移动平均视角提出了三种新型Polyak型步长选择,并提供了紧致的收敛性分析与实验验证。

摘要:

带动量的随机梯度下降法,也称为随机重球法(SHB),是解决各种机器学习任务中大规模随机优化问题的最流行算法之一。在实际场景中,调整该方法的步长和动量参数是一个极其昂贵且耗时的过程。在本研究中,受随机Polyak步长在随机梯度下降(SGD)性能中近期优势的启发,我们提出并探索了适用于SHB方法更新规则的新型Polyak类型变体。具体而言,利用SHB的迭代移动平均(IMA)视角,我们提出并分析了三种新颖的步长选择:MomSPS$_{\max}$、MomDecSPS和MomAdaSPS。对于MomSPS$_{\max}$,我们为SHB在凸且平滑问题(不假设插值条件)下收敛到解的邻域提供了收敛性保证。如果也满足插值条件,则使用MomSPS$_{\max}$时,SHB能以匹配确定性HB的快速率收敛到真实解。另外两种变体,MomDecSPS和MomAdaSPS,是首个保证收敛到精确极小值点的SHB自适应步长——无需预先了解问题参数且无需假设插值条件。我们对SHB的收敛性分析是紧致的,并将SGD的随机Polyak步长收敛保证作为特例获得。我们用实验补充了分析,验证了我们的理论并证明了我们算法的有效性和鲁棒性。

英文摘要:

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.

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

↑