Abstract
Adaptive learning rate methods like Adam are fundamental to modern deep learning, yet they often lack convergence guarantees in certain non-convex settings due to their reliance on Exponential Moving Averages (EMA). This paper introduces the Weighted Adaptive Algorithm (WADA), a novel optimization framework that replaces aggressive exponential weighting with a milder linearly growing weighting strategy. WADA maintains the practical efficiency of Adam while providing stronger theoretical convergence guarantees. Empirical evaluations across synthetic benchmarks and standard image classification tasks (MNIST, CIFAR-10/100) demonstrate that WADA consistently outperforms existing baselines like AMSGrad and AdamNC in both training stability and final accuracy.
Introduction
Adaptive optimization algorithms, most notably Adam and RMSProp, have become the default choice for training deep neural networks. By scaling learning rates based on the second moment of past gradients, these methods handle sparse gradients and non-stationary objectives effectively. However, the "dark side" of these algorithms is their potential for non-convergence. The use of an Exponential Moving Average (EMA) can cause the effective learning rate to increase unexpectedly, preventing the model from reaching an optimal solution.
While modifications like AMSGrad and AdamNC have been proposed to fix these issues, they often sacrifice the "recency bias" that makes Adam so effective in practice. This paper proposes a middle ground: the Weighted Adaptive Gradient Method Framework (WAGMF) and its specific instance, WADA.
The WADA Algorithm: A Linear Weighting Strategy
The core innovation of WADA lies in its weighting of historical gradient information. Traditional methods can be viewed through a weighting lens:
- AdaGrad assigns equal weight to all past gradients, leading to a monotonically decreasing learning rate that can become too small too quickly.
- Adam uses exponential weights, prioritizing the most recent gradients so aggressively that it can fail to converge.
- WADA employs linearly growing weights ($\gamma_t = t$).
By using linear weights, WADA ensures that recent gradients—which provide a more accurate local approximation of the loss landscape—are prioritized, but not to the extent that the algorithm loses its mathematical stability. This "milder" approach allows for a "weighted data-dependent regret bound," proving that WADA can outperform AdaGrad when gradients diminish as the model approaches a local minimum.
Experimental Evaluation
Synthetic Benchmarks: Fixing Non-Convergence
To validate the theoretical convergence of WADA, the authors tested it on a one-dimensional convex problem specifically designed to induce failure in Adam.
As shown in the synthetic results, Adam's regret fails to decrease, indicating it is stuck far from the optimum. In contrast, WADA and AMSGrad successfully minimize regret, with WADA demonstrating a stable trajectory toward the optimal parameter value.
Deep Learning Performance
WADA was further evaluated on standard image classification benchmarks including MNIST, CIFAR-10, and CIFAR-100 using various architectures such as MLPs and ResNet-20.
Across all datasets, WADA and its variants (WADA-V3, WADA-V4) consistently achieved lower training loss compared to Adam, AMSGrad, and AdamNC. Notably, on the more complex CIFAR-100 task, WADA variants showed a clear advantage in convergence speed and final loss value. The algorithm proved robust across different network depths, with WADA-V4 achieving the highest test accuracy on ResNet-20.
Conclusion
WADA offers a compelling alternative to Adam by bridging the gap between theoretical convergence and empirical performance. By shifting from exponential to linear weighting, it preserves the benefits of adaptive learning rates while eliminating the instability inherent in EMA-based methods. Given its nearly identical computational overhead, WADA serves as a robust "drop-in" replacement for existing deep learning pipelines. Future work will explore automated hyperparameter tuning for the gradient power parameters ($p$) to further generalize WADA's success across diverse data modalities.
Summary updated