arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.12332cs.LGmath.OC
收藏

利用损失曲面几何对 SGD 稳定性的精确刻画

A Precise Characterization of SGD Stability Using Loss Surface Geometry

Purdue University(普渡大学);LinkedIn(领英)

Gregory Dexter, Borja Ocejo, Sathiya Keerthi, Aman Gupta, Ayan Acharya, Rajiv Khanna

AI总结:

本文通过引入损失 Hessian 相干性度量,在更弱假设下精确刻画了 SGD 线性稳定性的充分必要条件,并将其适用范围从均方误差扩展到交叉熵损失等更广泛函数类。

摘要:

随机梯度下降(SGD)是一种基石性的优化算法,在现实世界中已取得实证成功,但其理论理解相对有限。近期研究揭示了其实际有效性的一个关键因素:它所引发的隐式正则化。若干研究考察了 SGD 在驻点附近的线性稳定性性质,将其作为过参数化神经网络中锐度与泛化误差的预测代理(Wu et al., 2022; Jastrzebski et al., 2019; Cohen et al., 2021)。本文更深入地探讨线性稳定性与锐度之间的关系。更具体地说,我们细致地刻画了线性稳定性的充分必要条件,该条件取决于 SGD 的超参数以及最优解处的锐度。为此,我们引入了一种新的损失 Hessian 相干性度量,该度量囊括了与 SGD 线性稳定性相关的损失函数的关键几何性质。它使我们能够提供一个用于识别最优解处线性不稳定性的简化充分条件。值得注意的是,与先前工作相比,我们的分析依赖于显著更弱的假设,并且适用于比以往已知更广泛的损失函数类别,不仅涵盖均方误差,还包括交叉熵损失。

英文摘要:

Stochastic Gradient Descent (SGD) stands as a cornerstone optimization algorithm with proven real-world empirical successes but relatively limited theoretical understanding. Recent research has illuminated a key factor contributing to its practical efficacy: the implicit regularization it instigates. Several studies have investigated the linear stability property of SGD in the vicinity of a stationary point as a predictive proxy for sharpness and generalization error in overparameterized neural networks (Wu et al., 2022; Jastrzebski et al., 2019; Cohen et al., 2021). In this paper, we delve deeper into the relationship between linear stability and sharpness. More specifically, we meticulously delineate the necessary and sufficient conditions for linear stability, contingent on hyperparameters of SGD and the sharpness at the optimum. Towards this end, we introduce a novel coherence measure of the loss Hessian that encapsulates pertinent geometric properties of the loss function that are relevant to the linear stability of SGD. It enables us to provide a simplified sufficient condition for identifying linear instability at an optimum. Notably, compared to previous works, our analysis relies on significantly milder assumptions and is applicable for a broader class of loss functions than known before, encompassing not only mean-squared error but also cross-entropy loss.

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

↑