AGD: an Auto-switchable Optimizer using Stepwise Gradient Difference for Preconditioning Matrix
Not on the map. Why?
Abstract (arXiv)
Adaptive optimizers, such as Adam, have achieved remarkable success in deep learning. A key component of these optimizers is the so-called preconditioning matrix, providing enhanced gradient information and regulating the step size of each gradient direction. In this paper, we propose a novel approach to designing the preconditioning matrix by utilizing the gradient difference between two successive steps as the diagonal elements. These diagonal elements are closely related to the Hessian and can be perceived as an approximation of the inner product between the Hessian row vectors and difference of the adjacent parameter vectors. Additionally, we introduce an auto-switching function that enables the preconditioning matrix to switch dynamically between Stochastic Gradient Descent (SGD) and the adaptive optimizer. Based on these two techniques, we develop a new optimizer named AGD that enhances the generalization performance. We evaluate AGD on public datasets of Natural Language Processing (NLP), Computer Vision (CV), and Recommendation Systems (RecSys). Our experimental results demonstrate that AGD outperforms the state-of-the-art (SOTA) optimizers, achieving highly competitive or significantly better predictive performance. Furthermore, we analyze how AGD is able to switch automatically between SGD and the adaptive optimizer and its actual effects on various scenarios. The code is available at https://github.com/intelligent-machine-learning/atorch/tree/main/atorch/optimizers.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 16 of its 38 references that are in the map. First posted on arXiv 4 Dec 2023.
Builds on
16 of 38 references.
References · 16
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2019On the Convergence of Adam and Beyondcited by 841
- 2016Wide & Deep Learning for Recommender Systemscited by 747
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
- 2017Deep & Cross Network for Ad Click Predictionscited by 393
- 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 283
- 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 202
- 2019Adaptive Gradient Methods with Dynamic Bound of Learning Ratecited by 183
- 2018On the Convergence of A Class of Adam-Type Algorithms for Non-Convex Optimizationcited by 174
- 2017Improving Generalization Performance by Switching from Adam to SGDcited by 125
- 2016Asynchronous Stochastic Gradient Descent with Delay Compensationcited by 99
4 more
- 2018On the Convergence of Adaptive Gradient Methods for Nonconvex Optimizationcited by 91
- 2018Closing the Generalization Gap of Adaptive Gradient Methods in Training Deep Neural Networkscited by 90
- 2020Open Benchmarking for Click-Through Rate Predictioncited by 53
- 2016Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-convex Optimizationcited by 37
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026LionMuon: Alternating Spectral and Sign Descent for Efficient Training28 Sep 2026
- 2026LionMuon: Alternating Spectral and Sign Descent for Efficient Training19 May 2026
- 2026Anon: Extrapolating Adaptivity Beyond SGD and Adam4 May 2026
- 2025HVAdam: A Full-Dimension Adaptive Optimizer25 Nov 2025