[Paper Review] AdaShift: Decorrelation and Convergence of Adaptive Learning Rate Methods
This paper proposes AdaShift, a novel adaptive learning rate method that resolves the non-convergence issue of Adam by decorrelating the second-moment estimate $v_t$ from the current gradient $g_t$ through temporal shifting of gradients. By using a delayed gradient $g_{t-n}$ to compute $v_t$, AdaShift ensures unbiased step sizes, enabling convergence while maintaining Adam's training speed and generalization performance, as validated across multiple deep learning benchmarks including MNIST, CIFAR-10, Tiny-ImageNet, GANs, and NMT models.
Adam is shown not being able to converge to the optimal solution in certain cases. Researchers recently propose several algorithms to avoid the issue of non-convergence of Adam, but their efficiency turns out to be unsatisfactory in practice. In this paper, we provide new insight into the non-convergence issue of Adam as well as other adaptive learning rate methods. We argue that there exists an inappropriate correlation between gradient $g_t$ and the second-moment term $v_t$ in Adam ($t$ is the timestep), which results in that a large gradient is likely to have small step size while a small gradient may have a large step size. We demonstrate that such biased step sizes are the fundamental cause of non-convergence of Adam, and we further prove that decorrelating $v_t$ and $g_t$ will lead to unbiased step size for each gradient, thus solving the non-convergence problem of Adam. Finally, we propose AdaShift, a novel adaptive learning rate method that decorrelates $v_t$ and $g_t$ by temporal shifting, i.e., using temporally shifted gradient $g_{t-n}$ to calculate $v_t$. The experiment results demonstrate that AdaShift is able to address the non-convergence issue of Adam, while still maintaining a competitive performance with Adam in terms of both training speed and generalization.
Motivation & Objective
- To identify the root cause of non-convergence in Adam and other adaptive learning rate methods.
- To demonstrate that the biased step size due to correlation between $v_t$ and $g_t$ is the fundamental cause of convergence failure.
- To propose a method that decorrelates $v_t$ and $g_t$ to achieve unbiased, convergent step sizes.
- To design a practical adaptive optimizer that maintains training efficiency and generalization while ensuring convergence.
- To validate the proposed method across diverse deep learning tasks, including feedforward networks, CNNs, GANs, and RNNs.
Proposed method
- Introduce a new perspective: analyze convergence via the accumulated step size (net update factor) of each gradient.
- Propose AdaShift, which computes $v_t$ using a temporally shifted gradient $g_{t-n}$ instead of $g_t$, thereby decorrelating $v_t$ from the current gradient.
- Define $v_t = \beta_2 v_{t-1} + (1 - \beta_2) g_{t-n}^2$, breaking the direct correlation between $v_t$ and $g_t$.
- Maintain the same update rule as Adam: $\theta_{t+1} = \theta_t - \frac{\alpha_t}{\sqrt{v_t}} m_t$, but with decorrelated $v_t$.
- Apply spatial operations (e.g., max-pooling) to $v_t$ across layers to improve stability and generalization, resulting in max-AdaShift.
- Theoretically prove that decorrelation leads to unbiased expected step size, ensuring convergence under mild conditions.
Experimental results
Research questions
- RQ1Why does Adam fail to converge in certain optimization problems despite its widespread use?
- RQ2What is the fundamental cause of the non-convergence behavior in adaptive learning rate methods like Adam?
- RQ3Can decorrelating the second-moment estimate $v_t$ from the current gradient $g_t$ lead to unbiased step sizes and improved convergence?
- RQ4Is it possible to design a practical adaptive optimizer that maintains Adam’s efficiency while ensuring convergence?
- RQ5How does the proposed method compare to existing variants like AMSGrad and AdamNC in terms of training speed, generalization, and convergence?
Key findings
- AdaShift resolves the non-convergence issue of Adam by decorrelating $v_t$ and $g_t$ through temporal shifting, ensuring unbiased step sizes and theoretical convergence.
- On MNIST with Multilayer Perceptron, AdaShift (especially non-AdaShift) achieves better generalization than Adam and AMSGrad, with mild training loss oscillation.
- On ResNet and DenseNet with CIFAR-10, AdaShift matches or slightly outperforms Adam in test accuracy and training loss, while AMSGrad shows worse performance.
- On Tiny-ImageNet with DenseNet, AdaShift achieves higher test accuracy than Adam, despite similar training loss curves.
- In WGAN-GP training, AdaShift significantly outperforms both Adam and AMSGrad in discriminator performance.
- In Neural Machine Translation (NMT), AdaShift achieves the highest BLEU score, outperforming both Adam and AMSGrad.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.