SAM远离家乡:作为动力学现象的特征值正则化
SAM operates far from home: eigenvalue regularization as a dynamical phenomenon
摘要:
已证明共享感知最小化(SAM)优化算法控制损失Hessian的大特征值,并在各种设置中提供泛化益处。SAM的最初动机是一个修改的损失函数,惩罚尖锐的最小值;随后的分析也集中在最小值附近的行为。然而,我们的工作表明,SAM在整个学习轨迹中提供了特征值的强正则化。我们表明,在一个简化的设置,SAM动态诱导稳定的边缘稳定(EOS)的现象在大学习率梯度下降。我们的理论预测的最大特征值的函数的学习率和SAM半径参数。最后,我们表明,实际的模型也可以表现出这种EOS稳定,并了解SAM必须考虑这些动态远离任何最小值。
英文摘要:
The Sharpness Aware Minimization (SAM) optimization algorithm has been shown to control large eigenvalues of the loss Hessian and provide generalization benefits in a variety of settings. The original motivation for SAM was a modified loss function which penalized sharp minima; subsequent analyses have also focused on the behavior near minima. However, our work reveals that SAM provides a strong regularization of the eigenvalues throughout the learning trajectory. We show that in a simplified setting, SAM dynamically induces a stabilization related to the edge of stability (EOS) phenomenon observed in large learning rate gradient descent. Our theory predicts the largest eigenvalue as a function of the learning rate and SAM radius parameters. Finally, we show that practical models can also exhibit this EOS stabilization, and that understanding SAM must account for these dynamics far away from any minima.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。