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

学习率衰减如何帮助现代神经网络?

How Does Learning Rate Decay Help Modern Neural Networks?

Tsinghua University(清华大学);University of California, Berkeley(加州大学伯克利分校)

Kaichao You, Mingsheng Long, Jianmin Wang, Michael I. Jordan

摘要:

学习率衰减(lrDecay)是一种用于训练现代神经网络的\emph{de facto}技术。它以一个大的学习率开始,然后多次衰减。根据经验观察,它有助于优化和泛化。lrDecay如何工作的共同信念来自(随机)梯度下降的优化分析:1)初始大的学习率加速训练或帮助网络摆脱虚假的局部最小值; 2)衰减学习率有助于网络收敛到局部最小值并避免振荡。尽管这些普遍的观点很受欢迎,但实验表明,它们不足以解释lrDecay在训练深度、广度和非凸的现代神经网络方面的普遍有效性。我们提供了另一种新颖的解释:初始较大的学习率抑制了网络记忆噪声数据,而衰减的学习率提高了复杂模式的学习。所提出的解释验证了精心构造的数据集与易处理的模式复杂性。它的含义是,在lrDecay的后期阶段学习到的额外模式更加复杂,因此可转移性较低,这在现实世界的数据集中是合理的。我们相信,这种替代解释将为现代神经网络设计更好的训练策略提供启示。

英文摘要:

Learning rate decay (lrDecay) is a \emph{de facto} technique for training modern neural networks. It starts with a large learning rate and then decays it multiple times. It is empirically observed to help both optimization and generalization. Common beliefs in how lrDecay works come from the optimization analysis of (Stochastic) Gradient Descent: 1) an initially large learning rate accelerates training or helps the network escape spurious local minima; 2) decaying the learning rate helps the network converge to a local minimum and avoid oscillation. Despite the popularity of these common beliefs, experiments suggest that they are insufficient in explaining the general effectiveness of lrDecay in training modern neural networks that are deep, wide, and nonconvex. We provide another novel explanation: an initially large learning rate suppresses the network from memorizing noisy data while decaying the learning rate improves the learning of complex patterns. The proposed explanation is validated on a carefully-constructed dataset with tractable pattern complexity. And its implication, that additional patterns learned in later stages of lrDecay are more complex and thus less transferable, is justified in real-world datasets. We believe that this alternative explanation will shed light into the design of better training strategies for modern neural networks.

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

↑