arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.09745cs.LGmath.OC
收藏

理解深度学习中稳定边缘上的梯度下降

Understanding Gradient Descent on Edge of Stability in Deep Learning

Princeton University(普林斯顿大学)

Sanjeev Arora, Zhiyuan Li, Abhishek Panigrahi

摘要:

Cohen等人[2021]使用确定性梯度下降(GD)的深度学习实验揭示了当学习率(LR)和锐度(即,Hessian的最大特征值)不再表现为传统的优化。Shark稳定在$2/$ LR附近,损失在迭代中上下波动,但总体趋势仍是下降的。本文从数学上分析了EoS阶段隐式正则化的一种新机制,即由于非光滑损失景观而导致的GD更新沿着最小损失流形上的某些确定性流发展。这与许多以前的结果相反,隐式偏差依赖于无穷小更新或噪声梯度。形式上,对于具有一定正则性条件的任何光滑函数$L$,这种效应被证明为(1)归一化GD,即,GD伴不同LR $η_t =\fracη{\| \nabla L(x(t)) \|}$和$L$丢失;(2)GD伴恒定LR和$\sqrt{L- \min_x L(x)}$丢失。两者都可证明进入稳定边缘,流形上的相关流使$λ_{1}(\nabla^2 L)$最小化。上述理论结果得到了实验研究的证实。

英文摘要:

Deep learning experiments by Cohen et al. [2021] using deterministic Gradient Descent (GD) revealed an Edge of Stability (EoS) phase when learning rate (LR) and sharpness (i.e., the largest eigenvalue of Hessian) no longer behave as in traditional optimization. Sharpness stabilizes around $2/$LR and loss goes up and down across iterations, yet still with an overall downward trend. The current paper mathematically analyzes a new mechanism of implicit regularization in the EoS phase, whereby GD updates due to non-smooth loss landscape turn out to evolve along some deterministic flow on the manifold of minimum loss. This is in contrast to many previous results about implicit bias either relying on infinitesimal updates or noise in gradient. Formally, for any smooth function $L$ with certain regularity condition, this effect is demonstrated for (1) Normalized GD, i.e., GD with a varying LR $η_t =\fracη{\| \nabla L(x(t)) \|}$ and loss $L$; (2) GD with constant LR and loss $\sqrt{L- \min_x L(x)}$. Both provably enter the Edge of Stability, with the associated flow on the manifold minimizing $λ_{1}(\nabla^2 L)$. The above theoretical results have been corroborated by an experimental study.

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

↑