Adaptive Inertia:解开自适应学习率和动量的影响
Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentum
摘要:
自适应矩估计(Adam)结合了自适应学习率和动量,将是最受欢迎的随机优化器,用于加速深度神经网络的训练。然而,经验上已知,亚当通常比随机梯度下降(SGD)更差地概括。本文的目的是在扩散理论框架下揭开这一行为的神秘面纱。具体来说,我们解开的自适应学习率和亚当动力学的动量鞍点逃逸和平坦的最小值选择的影响。我们证明了自适应学习率可以有效地逃脱鞍点,但不能选择平坦的极小SGD。相比之下,Momentum提供了一个漂移效应来帮助训练过程通过鞍点,并且几乎不影响平坦最小值的选择。这在一定程度上解释了为什么SGD(带动量)的泛化能力更好,而Adam的泛化能力更差,但收敛速度更快。此外,在分析的基础上,我们设计了一个新的自适应优化框架Adaptive Inertia,它使用参数自适应惯性来加速训练,并可证明有利于平坦最小值和SGD。我们的大量实验表明,所提出的自适应惯性方法可以推广显着优于SGD和传统的自适应梯度方法。
英文摘要:
Adaptive Moment Estimation (Adam), which combines Adaptive Learning Rate and Momentum, would be the most popular stochastic optimizer for accelerating the training of deep neural networks. However, it is empirically known that Adam often generalizes worse than Stochastic Gradient Descent (SGD). The purpose of this paper is to unveil the mystery of this behavior in the diffusion theoretical framework. Specifically, we disentangle the effects of Adaptive Learning Rate and Momentum of the Adam dynamics on saddle-point escaping and flat minima selection. We prove that Adaptive Learning Rate can escape saddle points efficiently, but cannot select flat minima as SGD does. In contrast, Momentum provides a drift effect to help the training process pass through saddle points, and almost does not affect flat minima selection. This partly explains why SGD (with Momentum) generalizes better, while Adam generalizes worse but converges faster. Furthermore, motivated by the analysis, we design a novel adaptive optimization framework named Adaptive Inertia, which uses parameter-wise adaptive inertia to accelerate the training and provably favors flat minima as well as SGD. Our extensive experiments demonstrate that the proposed adaptive inertia method can generalize significantly better than SGD and conventional adaptive gradient methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。