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

截断重尾噪声条件下消除SGD的锐极小值

Eliminating Sharp Minima from SGD with Truncated Heavy-tailed Noise

Northwestern University(西北大学);University of Washington(华盛顿大学)

Xingyu Wang, Sewoong Oh, Chang-Han Rhee

摘要:

深度学习的经验成功通常归因于SGD在损失情况下避免尖锐局部最小值的神秘能力,因为众所周知尖锐最小值会导致泛化能力差。最近,在许多深度学习任务中报告了重尾梯度噪声的经验证据,并且在Jumimekli(2019 a,b)中表明,SGD可以在这种重尾梯度噪声的存在下逃脱尖锐的局部极小值,为这个谜团提供了部分解决方案。在这项工作中,我们分析了SGD的一个流行的变体,其中梯度在固定阈值以上被截断。我们证明了它实现了更强的避免尖锐极小值的概念:它可以有效地从其训练轨迹中完全消除尖锐的局部极小值。我们描述了截断SGD的动力学驱动重尾噪声。首先,我们表明,截断阈值和宽度的吸引场决定的顺序的第一次退出时间从相关的局部最小值。此外,当目标函数满足适当的结构条件,我们证明,作为学习率降低,重尾截断SGD的动态非常类似于那些连续时间马尔可夫链,从来没有访问任何尖锐的最小值。深度学习的真实数据实验证实了我们的理论预测,即具有梯度裁剪的重尾SGD找到了“更平坦”的局部极小值,并实现了更好的泛化。

英文摘要:

The empirical success of deep learning is often attributed to SGD's mysterious ability to avoid sharp local minima in the loss landscape, as sharp minima are known to lead to poor generalization. Recently, empirical evidence of heavy-tailed gradient noise was reported in many deep learning tasks, and it was shown in Şimşekli (2019a,b) that SGD can escape sharp local minima under the presence of such heavy-tailed gradient noise, providing a partial solution to the mystery. In this work, we analyze a popular variant of SGD where gradients are truncated above a fixed threshold. We show that it achieves a stronger notion of avoiding sharp minima: it can effectively eliminate sharp local minima entirely from its training trajectory. We characterize the dynamics of truncated SGD driven by heavy-tailed noises. First, we show that the truncation threshold and width of the attraction field dictate the order of the first exit time from the associated local minimum. Moreover, when the objective function satisfies appropriate structural conditions, we prove that as the learning rate decreases, the dynamics of heavy-tailed truncated SGD closely resemble those of a continuous-time Markov chain that never visits any sharp minima. Real data experiments on deep learning confirm our theoretical prediction that heavy-tailed SGD with gradient clipping finds a "flatter" local minima and achieves better generalization.

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

↑