arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.00065cs.LGstat.ML
收藏

神经网络的梯度下降

Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability

Carnegie Mellon University(卡内基梅隆大学);Bosch AI(博世人工智能);Determined AI

Jeremy M. Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter, Ameet Talwalkar

摘要:

我们经验证明,神经网络训练目标上的全批梯度下降通常在我们称之为稳定边缘的机制中运行。在这种情况下,训练损失Hessian的最大特征值刚好在数值$2 / \text{(step size)}$上方徘徊,并且训练损失在短时间尺度上表现为非单调的,但在长时间尺度上一致地减小。由于这种行为与优化领域的几个普遍假设不一致,我们的研究结果提出了这些假设是否与神经网络训练相关的问题。我们希望我们的研究结果将激励未来的努力,旨在严格理解稳定边缘的优化。代码可在https://github.com/locuslab/edge-of-stability上获得。

英文摘要:

We empirically demonstrate that full-batch gradient descent on neural network training objectives typically operates in a regime we call the Edge of Stability. In this regime, the maximum eigenvalue of the training loss Hessian hovers just above the numerical value $2 / \text{(step size)}$, and the training loss behaves non-monotonically over short timescales, yet consistently decreases over long timescales. Since this behavior is inconsistent with several widespread presumptions in the field of optimization, our findings raise questions as to whether these presumptions are relevant to neural network training. We hope that our findings will inspire future efforts aimed at rigorously understanding optimization at the Edge of Stability. Code is available at https://github.com/locuslab/edge-of-stability.

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

↑