arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.01274stat.MLcs.LG
收藏

基于最小二乘的重尾随机梯度下降的动力学稳定性

Algorithmic Stability of Heavy-Tailed Stochastic Gradient Descent on Least Squares

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Inria(法国国家信息与自动化研究所);Ecole Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学);Boğaziçi University(博阿齐奇大学);Rutgers University(罗格斯大学);Florida State University(佛罗里达州立大学);CNRS(法国国家科学研究中心)

Anant Raj, Melih Barsbey, Mert Gürbüzbalaban, Lingjiong Zhu, Umut Şimşekli

摘要:

最近的研究表明,重尾可以出现在随机最优化和尾部的沉重有联系的泛化错误。虽然这些研究揭示了现代环境中泛化行为的有趣方面,但它们依赖于强拓扑和统计规律性假设,这些假设很难在实践中得到验证。此外,经验表明,重尾和泛化之间的关系在实践中可能并不总是单调的,与现有理论的结论相反。在这项研究中,我们建立了新的尾部行为和随机梯度下降(SGD)的泛化性能之间的联系,通过镜头的算法稳定性。我们考虑一个二次优化问题,并使用一个重尾随机微分方程(及其欧拉离散化)作为一个代理建模的重尾行为出现在SGD。然后,我们证明了一致的稳定性界限,这揭示了以下结果:(i)没有任何外来的假设,我们表明,SGD将不会是稳定的,如果稳定性是衡量平方损失$x\mapsto x^2$,而它反过来成为稳定的,如果稳定性,而不是衡量与一些$p<2$的替代损失$x\mapsto |x|^p$。(ii)根据数据的方差,存在\emph{`threshold of heavy-tailedness'},使得泛化误差随着尾部变重而减小,只要尾部比该阈值轻。这表明,重尾和泛化之间的关系不是全局单调的。(iii)我们证明了匹配的一致稳定的下界,这意味着我们的界限是紧的沉重的尾巴。我们支持我们的理论与合成和真实的神经网络实验。

英文摘要:

Recent studies have shown that heavy tails can emerge in stochastic optimization and that the heaviness of the tails have links to the generalization error. While these studies have shed light on interesting aspects of the generalization behavior in modern settings, they relied on strong topological and statistical regularity assumptions, which are hard to verify in practice. Furthermore, it has been empirically illustrated that the relation between heavy tails and generalization might not always be monotonic in practice, contrary to the conclusions of existing theory. In this study, we establish novel links between the tail behavior and generalization properties of stochastic gradient descent (SGD), through the lens of algorithmic stability. We consider a quadratic optimization problem and use a heavy-tailed stochastic differential equation (and its Euler discretization) as a proxy for modeling the heavy-tailed behavior emerging in SGD. We then prove uniform stability bounds, which reveal the following outcomes: (i) Without making any exotic assumptions, we show that SGD will not be stable if the stability is measured with the squared-loss $x\mapsto x^2$, whereas it in turn becomes stable if the stability is instead measured with a surrogate loss $x\mapsto |x|^p$ with some $p<2$. (ii) Depending on the variance of the data, there exists a \emph{`threshold of heavy-tailedness'} such that the generalization error decreases as the tails become heavier, as long as the tails are lighter than this threshold. This suggests that the relation between heavy tails and generalization is not globally monotonic. (iii) We prove matching lower-bounds on uniform stability, implying that our bounds are tight in terms of the heaviness of the tails. We support our theory with synthetic and real neural network experiments.

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

↑