arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.19261cs.LGmath.OCmath.STphysics.data-anstat.TH
收藏

高维分析揭示保守锐化与随机稳定性边缘

High dimensional analysis reveals conservative sharpening and a stochastic edge of stability

Google DeepMind(谷歌DeepMind)

Atish Agarwala, Jeffrey Pennington

AI总结:

本文研究了随机设置下训练损失Hessian大特征值增长减缓的“保守锐化”现象,通过高维模型理论分析其成因,发现小批次下存在依赖NTK迹的随机稳定性边缘,实验表明控制该边缘有助于优化。

摘要:

最近的实证和理论研究已经表明,在全批次(full batch)机制下,训练损失 Hessian 矩阵的大特征值动力学在不同模型和数据集上具有一些极其稳健的特征。通常存在一个早期的渐进锐化(progressive sharpening)阶段,此时大特征值不断增加,随后稳定在一个被称为稳定性边缘(edge of stability)的可预测值上。先前的研究表明,在随机设置下,特征值增长得更为缓慢——我们将这一现象称为保守锐化(conservative sharpening)。我们对一个简单的高维模型进行了理论分析,揭示了这种减缓现象的起源。我们还表明,在小批次大小下会出现一种替代性的随机稳定性边缘(stochastic edge of stability),它对 Neural Tangent Kernel 的迹敏感,而不是对大的 Hessian 特征值敏感。我们进行了一项实验研究,突出了其与全批次现象学之间的定性差异,并表明控制随机稳定性边缘有助于优化。

英文摘要:

Recent empirical and theoretical work has shown that the dynamics of the large eigenvalues of the training loss Hessian have some remarkably robust features across models and datasets in the full batch regime. There is often an early period of progressive sharpening where the large eigenvalues increase, followed by stabilization at a predictable value known as the edge of stability. Previous work showed that in the stochastic setting, the eigenvalues increase more slowly - a phenomenon we call conservative sharpening. We provide a theoretical analysis of a simple high-dimensional model which shows the origin of this slowdown. We also show that there is an alternative stochastic edge of stability which arises at small batch size that is sensitive to the trace of the Neural Tangent Kernel rather than the large Hessian eigenvalues. We conduct an experimental study which highlights the qualitative differences from the full batch phenomenology, and suggests that controlling the stochastic edge of stability can help optimization.

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

↑