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

通过两步梯度更新超越稳定性边缘

Beyond the Edge of Stability via Two-step Gradient Updates

Courant Institute of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所);Center for Data Science, New York University(纽约大学数据科学中心)

Lei Chen, Joan Bruna

AI总结:

本文通过分析两步梯度更新,研究了梯度下降在步长超过稳定性边缘时仍能收敛的条件,提出了涉及三阶导数的局部条件,并在教师-学生设置及矩阵分解中验证了其动力学行为。

摘要:

梯度下降(GD)是现代机器学习中强大的主力工具,这得益于其在高维空间中的可扩展性和效率。它找到局部极小值的能力仅在损失函数具有Lipschitz梯度时得到保证,此时它可以被视为底层梯度流的“真正”离散化。然而,许多涉及过参数化模型的机器学习设置并不属于这一类别,这激发了超越所谓“稳定性边缘”(EoS)的研究,在该边缘之上,步长跨越了与Lipschitz常数成反比的容许阈值。令人惊讶的是,经验观察表明,尽管存在局部不稳定性和振荡行为,GD仍然收敛。对这一现象的初步理论分析主要集中在过参数化机制下,在适当的渐近极限下,选择大学习率的效果可能与极小值流形内的“锐度最小化”隐式正则化相关。相比之下,在本工作中,我们直接研究这种不稳定收敛的条件,通过分析两步梯度更新,聚焦于简单但具有代表性的学习问题。具体来说,我们刻画了一个涉及三阶导数的局部条件,该条件保证两步更新不动点的存在性和收敛性,并在教师-学生设置中、在总体损失下利用这一性质。最后,从矩阵分解出发,我们提供了高维设置中GD周期2轨道的观察及其动力学直觉,并探索了更一般的设置。

英文摘要:

Gradient Descent (GD) is a powerful workhorse of modern machine learning thanks to its scalability and efficiency in high-dimensional spaces. Its ability to find local minimisers is only guaranteed for losses with Lipschitz gradients, where it can be seen as a `bona-fide' discretisation of an underlying gradient flow. Yet, many ML setups involving overparametrised models do not fall into this problem class, which has motivated research beyond the so-called ``Edge of Stability'' (EoS), where the step-size crosses the admissibility threshold inversely proportional to the Lipschitz constant above. Perhaps surprisingly, GD has been empirically observed to still converge regardless of local instability and oscillatory behavior. The incipient theoretical analysis of this phenomena has mainly focused in the overparametrised regime, where the effect of choosing a large learning rate may be associated to a `Sharpness-Minimisation' implicit regularisation within the manifold of minimisers, under appropriate asymptotic limits. In contrast, in this work we directly examine the conditions for such unstable convergence, focusing on simple, yet representative, learning problems, via analysis of two-step gradient updates. Specifically, we characterize a local condition involving third-order derivatives that guarantees existence and convergence to fixed points of the two-step updates, and leverage such property in a teacher-student setting, under population loss. Finally, starting from Matrix Factorization, we provide observations of period-2 orbit of GD in high-dimensional settings with intuition of its dynamics, along with exploration into more general settings.

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

↑