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

理解延迟学习率衰减的泛化优势

Understanding the Generalization Benefits of Late Learning Rate Decay

Stanford University(斯坦福大学)

Yinuo Ren, Chao Ma, Lexing Ying

AI总结:

本文通过可视化训练与测试损失轨迹并构建非线性模型,证明延长的大学习率阶段可引导 SGD 趋向最小范数解并实现近最优泛化。

摘要:

为什么在更长时间内以大学习率训练的神经网络往往能带来更好的泛化?本文通过考察神经网络中训练损失与测试损失之间的关系来深入探讨这一问题。通过对这些损失进行可视化,我们注意到,大学习率下的训练轨迹会穿行于训练损失的极小值流形,最终到达测试损失极小值附近。受这些发现启发,我们提出一个非线性模型,其损失景观与真实神经网络中观察到的损失景观相似。在使用 SGD 研究该模型的训练过程后,我们证明,延长的大学习率阶段会引导模型走向训练损失的最小范数解,这可能实现近最优泛化,从而证实了经验观察到的延迟学习率衰减的优势。

英文摘要:

Why do neural networks trained with large learning rates for a longer time often lead to better generalization? In this paper, we delve into this question by examining the relation between training and testing loss in neural networks. Through visualization of these losses, we note that the training trajectory with a large learning rate navigates through the minima manifold of the training loss, finally nearing the neighborhood of the testing loss minimum. Motivated by these findings, we introduce a nonlinear model whose loss landscapes mirror those observed for real neural networks. Upon investigating the training process using SGD on our model, we demonstrate that an extended phase with a large learning rate steers our model towards the minimum norm solution of the training loss, which may achieve near-optimal generalization, thereby affirming the empirically observed benefits of late learning rate decay.

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

↑