We consider non-convex stochastic optimization using first-order algorithms for which the gradient estimates may have heavy tails. We show that a combination of gradient clipping, momentum, and normalized gradient descent yields convergence to critical points in high-probability with best-known rates for smooth losses when the gradients only have bounded $\mathfrak{p}$th moments for some $\mathfrak{p}\in(1,2]$. We then consider the case of second-order smooth losses, which to our knowledge have not been studied in this setting, and again obtain high-probability bounds for any $\mathfrak{p}$. Moreover, our results hold for arbitrary smooth norms, in contrast to the typical SGD analysis which requires a Hilbert space norm. Further, we show that after a suitable "burn-in" period, the objective value will monotonically decrease for every iteration until a critical point is identified, which provides intuition behind the popular practice of learning rate "warm-up" and also yields a last-iterate guarantee.
Emergence of heavy tails in homogenized stochastic gradient descent
School of Mathematics and Statistics, Northwestern Polytechnical University(西北工业大学数学与统计学院);TU Dresden(德累斯顿工业大学);ScaDS.ai Center for scalable data analytics and artificial intelligence(ScaDS.ai可扩展数据分析与人工智能中心)
Algorithmic Stability of Heavy-Tailed SGD with General Loss Functions
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Inria(法国国家信息与自动化研究所);Ecole Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学);Florida State University(佛罗里达州立大学);Rutgers University(罗格斯大学);Princeton University(普林斯顿大学);CNRS(法国国家科学研究中心)
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(法国国家科学研究中心)
最近的研究表明,重尾可以出现在随机最优化和尾部的沉重有联系的泛化错误。虽然这些研究揭示了现代环境中泛化行为的有趣方面,但它们依赖于强拓扑和统计规律性假设,这些假设很难在实践中得到验证。此外,经验表明,重尾和泛化之间的关系在实践中可能并不总是单调的,与现有理论的结论相反。在这项研究中,我们建立了新的尾部行为和随机梯度下降(SGD)的泛化性能之间的联系,通过镜头的算法稳定性。我们考虑一个二次优化问题,并使用一个重尾随机微分方程(及其欧拉离散化)作为一个代理建模的重尾行为出现在SGD。然后,我们证明了一致的稳定性界限,这揭示了以下结果:(i)没有任何外来的假设,我们表明,SGD将不会是稳定的,如果稳定性是衡量平方损失$x\mapsto x^2$,而它反过来成为稳定的,如果稳定性,而不是衡量与一些$p<2$的替代损失$x\mapsto |x|^p$。(ii)根据数据的方差,存在\emph{`threshold of heavy-tailedness'},使得泛化误差随着尾部变重而减小,只要尾部比该阈值轻。这表明,重尾和泛化之间的关系不是全局单调的。(iii)我们证明了匹配的一致稳定的下界,这意味着我们的界限是紧的沉重的尾巴。我们支持我们的理论与合成和真实的神经网络实验。