arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.03294cs.LGmath.OCstat.ML
收藏

用极简示例理解稳定边缘训练动态

Understanding Edge-of-Stability Training Dynamics with a Minimalist Example

Duke University(杜克大学);Tsinghua University(清华大学)

Xingyu Zhu, Zixuan Wang, Xiang Wang, Mo Zhou, Rong Ge

摘要:

最近,研究人员观察到深度神经网络的梯度下降在“稳定边缘”(EoS)机制中运行:锐度(Hessian的最大特征值)通常大于稳定阈值$2/η$(其中$η$是步长)。尽管如此,损失在长期内振荡和收敛,末端的锐度仅略低于$2/η$。虽然许多其他众所周知的非凸目标(如矩阵分解或双层网络)也可以收敛,尽管清晰度很高,但端点的清晰度和$2/η$之间通常存在较大的差距。在本文中,我们研究了EoS现象,通过构造一个简单的函数,具有相同的行为。我们给出了严格的分析,其训练动力学在一个大的局部区域,并解释了为什么最终的收敛点的锐度接近$2/η$。从全局来看,我们观察到我们示例的训练动态具有有趣的分叉行为,这在神经网络的训练中也被观察到。

英文摘要:

Recently, researchers observed that gradient descent for deep neural networks operates in an ``edge-of-stability'' (EoS) regime: the sharpness (maximum eigenvalue of the Hessian) is often larger than stability threshold $2/η$ (where $η$ is the step size). Despite this, the loss oscillates and converges in the long run, and the sharpness at the end is just slightly below $2/η$. While many other well-understood nonconvex objectives such as matrix factorization or two-layer networks can also converge despite large sharpness, there is often a larger gap between sharpness of the endpoint and $2/η$. In this paper, we study EoS phenomenon by constructing a simple function that has the same behavior. We give rigorous analysis for its training dynamics in a large local region and explain why the final converging point has sharpness close to $2/η$. Globally we observe that the training dynamics for our example has an interesting bifurcating behavior, which was also observed in the training of neural nets.

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

↑