arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.09507stat.MLcs.LG
收藏

平移曲率、SGD和泛化

Shift-Curvature, SGD, and Generalization

Apple, Inc.(苹果公司)

Arwen V. Bradley, Carlos Alberto Gomez-Uribe, Manish Reddy Vuyyuru

摘要:

一个长期的争论围绕着相关的假设,即低曲率最小值推广得更好,SGD不鼓励曲率。我们提供了一个更完整和细致入微的观点来支持两者。首先,我们通过两个新的机制,偏移曲率和偏置曲率,除了一个已知的参数协方差机制,曲率损害测试性能。这三个曲率介导的贡献测试性能的重新参数化不变,虽然曲率不是。偏移曲率的偏移是连接训练和测试局部最小值的线,其由于数据集采样或分布偏移而不同。尽管在训练时偏移是未知的,但仍然可以通过最小化总体曲率来减轻偏移曲率。其次,我们推导出一个新的,明确的SGD稳态分布表明,SGD优化有效的潜在的相关,但不同的训练损失,SGD噪声介导的权衡深与低曲率区域的这种有效的潜力。第三,结合我们的测试性能分析与SGD稳态表明,对于小SGD噪声,位移曲率可能是最显着的三种机制。我们的实验证实了位移曲率对测试损失的影响,并进一步探讨了SGD噪声和曲率之间的关系。

英文摘要:

A longstanding debate surrounds the related hypotheses that low-curvature minima generalize better, and that SGD discourages curvature. We offer a more complete and nuanced view in support of both. First, we show that curvature harms test performance through two new mechanisms, the shift-curvature and bias-curvature, in addition to a known parameter-covariance mechanism. The three curvature-mediated contributions to test performance are reparametrization-invariant although curvature is not. The shift in the shift-curvature is the line connecting train and test local minima, which differ due to dataset sampling or distribution shift. Although the shift is unknown at training time, the shift-curvature can still be mitigated by minimizing overall curvature. Second, we derive a new, explicit SGD steady-state distribution showing that SGD optimizes an effective potential related to but different from train loss, and that SGD noise mediates a trade-off between deep versus low-curvature regions of this effective potential. Third, combining our test performance analysis with the SGD steady state shows that for small SGD noise, the shift-curvature may be the most significant of the three mechanisms. Our experiments confirm the impact of shift-curvature on test loss, and further explore the relationship between SGD noise and curvature.

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

↑