Calibrating the Adaptive Learning Rate to Improve Convergence of ADAM
Qianqian Tong, Guannan Liang, Jinbo Bi
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/neilliang90/SadamOfficialIn paperpytorch★ 0
- github.com/lessw2020/Ranger-Deep-Learning-Optimizerpytorch★ 1,207
Abstract
Adaptive gradient methods (AGMs) have become popular in optimizing the nonconvex problems in deep learning area. We revisit AGMs and identify that the adaptive learning rate (A-LR) used by AGMs varies significantly across the dimensions of the problem over epochs (i.e., anisotropic scale), which may lead to issues in convergence and generalization. All existing modified AGMs actually represent efforts in revising the A-LR. Theoretically, we provide a new way to analyze the convergence of AGMs and prove that the convergence rate of Adam also depends on its hyper-parameter , which has been overlooked previously. Based on these two facts, we propose a new AGM by calibrating the A-LR with an activation ( softplus) function, resulting in the Sadam and SAMSGrad methods Code is available at https://github.com/neilliang90/Sadam.git.. We further prove that these algorithms enjoy better convergence speed under nonconvex, non-strongly convex, and Polyak- ojasiewicz conditions compared with Adam. Empirical studies support our observation of the anisotropic A-LR and show that the proposed methods outperform existing AGMs and generalize even better than S-Momentum in multiple deep learning tasks.