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

Gradient Descent 单调降低标量网络及更广模型中 Gradient Flow 解的 Sharpness

Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and Beyond

Tel Aviv University(特拉维夫大学);Technion(以色列理工学院)

Itai Kreisler, Mor Shpigel Nacson, Daniel Soudry, Yair Carmon

AI总结:

针对梯度下降(GD)损失震荡的稳定性边缘现象,本文发现GD训练中梯度流解(GFS)的sharpness单调下降,在标量网络中给出理论证明并刻画了收敛设定,实验验证了该方法在回归模型及实际网络中的有效性。

摘要:

最近的研究表明,当 Gradient Descent (GD) 应用于神经网络时,损失几乎从不单调下降。相反,当 gradient descent 收敛至其“Edge of Stability” (EoS) 时,损失会发生震荡。在此,我们发现了一个在 GD 训练全过程中确实单调下降的量:gradient flow solution (GFS) 所达到的 sharpness——即如果从现在直到收敛,我们以无穷小步长进行训练,将会获得的解。在理论上,我们分析了带有 squared loss 的标量神经网络,这或许是最简单但依然会出现 EoS 现象的设定。在此模型中,我们证明了 GFS sharpness 单调下降。利用这一结果,我们刻画了在标量网络中 GD 可证明收敛至 EoS 的设定。在实验上,我们表明 GD 在 squared regression 模型以及实际神经网络架构中均能单调降低 GFS sharpness。

英文摘要:

Recent research shows that when Gradient Descent (GD) is applied to neural networks, the loss almost never decreases monotonically. Instead, the loss oscillates as gradient descent converges to its ''Edge of Stability'' (EoS). Here, we find a quantity that does decrease monotonically throughout GD training: the sharpness attained by the gradient flow solution (GFS)-the solution that would be obtained if, from now until convergence, we train with an infinitesimal step size. Theoretically, we analyze scalar neural networks with the squared loss, perhaps the simplest setting where the EoS phenomena still occur. In this model, we prove that the GFS sharpness decreases monotonically. Using this result, we characterize settings where GD provably converges to the EoS in scalar networks. Empirically, we show that GD monotonically decreases the GFS sharpness in a squared regression model as well as practical neural network architectures.

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

↑