arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.06722cs.LG
收藏

平面国:大步长梯度下降的冒险

Flatland: The Adventures of Gradient Descent with Large Step Sizes

University of British Columbia(不列颠哥伦比亚大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Canada CIFAR AI Chair (Amii)(加拿大CIFAR人工智能主席(Amii))

Leonardo Galli, Curtis Fox, Wiebke Bartolomaeus, Mark Schmidt, Holger Rauhut

AI总结:

针对非全局L-光滑的神经网络目标函数,提出一种只需梯度局部Lipschitz连续的定义,设计自适应一阶方法实现大步长并始终处于稳定性边缘,发现过早进入全局平坦区域会降低收敛速度和泛化能力。

摘要:

神经网络的训练通常涉及非全局$L$-光滑的目标函数。对于这些函数,从理论和实践上都很难回答这样一个问题:确保梯度下降(GD)收敛的最大可能步长是多少?我们通过提供“大”步长的统一定义来解决深度学习中长期存在的这个开放问题,该定义仅要求梯度的局部Lipschitz(甚至Hölder)连续性。我们设计了一阶自适应方法,这些方法可证明产生大步长,并表明它们从训练开始就处于稳定性边缘(EoS)。特别地,损失非单调下降,并且步长与锐度(即Hessian矩阵的最大特征值)的乘积在整个训练过程中保持在EoS阈值2以上。使用我们的方法,我们还能将锐度最小化到其全局最小值。与预期相反,我们发现训练过早遇到全局平坦区域可能会减慢收敛速度并损害网络的泛化能力。利用自稳定化论证,我们允许GD进入稍尖锐的谷底,并将不成功的训练运行转变为非常成功的运行。

英文摘要:

The training of neural networks often entails objective functions that are not globally $L$-smooth. For these functions, it is both theoretically and practically difficult to reply to the question: what is the largest possible step size that ensures the convergence of gradient descent (GD)? We address this longstanding open question in deep learning by providing a unifying definition of "large" step sizes that requires only local Lipschitz (or even Hölder) continuity of the gradient. We design first-order adaptive methods that provably yield large step sizes and show that they operate at the edge of stability (EoS) right from the start of the training. In particular, the loss decreases nonmonotonically and the product between the step size and sharpness, i.e., the largest eigenvalue of the Hessian, stays above the EoS threshold of 2 throughout training. Using our method, we are also able to minimize the sharpness all the way down to its global minimum. Contrary to expectation, we find that encountering globally-flat regions too early in the training may both slow down convergence and jeopardize the generalization ability of the network. Exploiting a self-stabilization argument, we allow GD to enter slightly sharper valleys and turn unsuccessful training runs into very successful ones.

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

↑