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

随机重排主导随机梯度下降

Random Reshuffling Dominates Stochastic Gradient Descent

Stern School of Business, New York University(纽约大学斯特恩商学院)

Zijian Liu

AI总结:

针对光滑凸优化中随机重排(RR)的收敛理论局限,本文首次证明在任意合理步长下,经过任意有限轮次后RR始终优于随机梯度下降(SGD),解决了长期悬而未决的问题。

摘要:

随机梯度下降($\textsf{SGD}$)是最经典的优化算法之一,具有优越的理论保证,然而其实际实现与广为人知的形式略有不同,通常被称为洗牌随机梯度下降($\textsf{Shuffling SGD}$)。$\textsf{Shuffling SGD}$中一种特别流行的策略是随机重排($\textsf{RR}$),它在众多实验中取得了巨大的实证成功。尽管性能强劲,但由于缺乏理论支持,$\textsf{RR}$长期以来被视为一种启发式方法。在过去十年中,人们终于建立了$\textsf{RR}$的可证明收敛率,从而证明了其观察到的优越性。然而,对于光滑凸优化,$\textsf{RR}$的收敛理论至今仍存在两个疑云。更准确地说,根据现有理论,$\textsf{RR}$下的$\textsf{Shuffling SGD}$仅在步长小于与$1/n$成比例的阈值时收敛,其中$n$是目标函数中求和项的数量(或数据点数量)。因此,当轮次数小于与$n$成比例的另一个阈值时,$\textsf{RR}$下$\textsf{Shuffling SGD}$的最优调参理论率严格劣于$\textsf{SGD}$。这两个限制严重限制了现有理论的适用性,并与实践存在关键性不匹配。在这项工作中,我们首次证明,在光滑凸优化中,经过任意有限轮次后,$\textsf{RR}$在任何合理步长下都优于$\textsf{SGD}$,从而解决了一个长期悬而未决的问题。

英文摘要:

Stochastic Gradient Descent ($\textsf{SGD}$) is one of the most classical optimization algorithms with favorable theoretical guarantees, yet the practical implementation of $\textsf{SGD}$ differs subtly from its well-known form and is often referred to as Shuffling Stochastic Gradient Descent ($\textsf{Shuffling SGD}$). A particularly popular strategy in $\textsf{Shuffling SGD}$ is Random Reshuffling ($\textsf{RR}$), which has achieved great empirical success across numerous experiments. Despite its strong performance, $\textsf{RR}$ has long been considered a heuristic due to a lack of theoretical support. Over the last decade, people have finally established provable convergence rates for $\textsf{RR}$, thus justifying its observed superiority. However, for smooth convex optimization, two clouds over the convergence theory of $\textsf{RR}$ remain to this day. More precisely, according to the current theory, $\textsf{Shuffling SGD}$ under $\textsf{RR}$ converges only when the stepsize is smaller than a threshold proportional to $1/n$, where $n$ is the number of summands in the objective (or the number of data points). Consequently, the optimally tuned theoretical rate of $\textsf{Shuffling SGD}$ under $\textsf{RR}$ is strictly worse than that of $\textsf{SGD}$ when the number of epochs is smaller than another threshold proportional to $n$. These two restrictions heavily limit the applicability of existing theories and leave a critical mismatch with practice. In this work, for the first time, we prove that $\textsf{RR}$ dominates $\textsf{SGD}$ in smooth convex optimization under any reasonable stepsize after any finite number of epochs, thereby addressing a longstanding open question.

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

↑