AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients
Juntang Zhuang, Tommy Tang, Yifan Ding, Sekhar Tatikonda, Nicha C. Dvornek, Xenophon Papademetris, James S. Duncan
摘要
Most popular optimizers for deep learning can be broadly categorized as adaptive methods (e.g. Adam) and accelerated schemes (e.g. stochastic gradient descent (SGD) with momentum). For many models such as convolutional neural networks (CNNs), adaptive methods typically converge faster but generalize worse compared to SGD; for complex settings such as generative adversarial networks (GANs), adaptive methods are typically the default because of their stability. We propose AdaBelief to simultaneously achieve three goals: fast convergence as in adaptive methods, good generalization as in SGD, and training stability. The intuition for AdaBelief is to adapt the stepsize according to the "belief" in the current gradient direction. Viewing the exponential moving average (EMA) of the noisy gradient as the prediction of the gradient at the next time step, if the observed gradient greatly deviates from the prediction, we distrust the current observation and take a small step; if the observed gradient is close to the prediction, we trust it and take a large step. We validate AdaBelief in extensive experiments, showing that it outperforms other methods with fast convergence and high accuracy on image classification and language modeling. Specifically, on ImageNet, AdaBelief achieves comparable accuracy to SGD. Furthermore, in the training of a GAN on Cifar10, AdaBelief demonstrates high stability and improves the quality of generated samples compared to a well-tuned Adam optimizer. Code is available at https://github.com/juntang-zhuang/Adabelief-Optimizer
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 87 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training 引用了 Symbolic Discovery of Optimization Algorithms
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training 引用了 ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learning
- AdamP: Slowing Down the Slowdown for Momentum Optimizers on Scale-invariant Weights 引用了 On the Variance of the Adaptive Learning Rate and Beyond
- Symbolic Discovery of Optimization Algorithms 引用了 On the Variance of the Adaptive Learning Rate and Beyond
- Surrogate Gap Minimization Improves Sharpness-Aware Training 引用了 AdamP: Slowing Down the Slowdown for Momentum Optimizers on Scale-invariant Weights
- Surrogate Gap Minimization Improves Sharpness-Aware Training 引用了 On the Variance of the Adaptive Learning Rate and Beyond
引用它的顶会 Paper87
- Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real 等NeurIPS 2023 · 734 次引用
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingHong Liu, Zhiyuan Li, David Leo Wright Hall, Percy Liang 等ICLR 2024 · 264 次引用
- Surrogate Gap Minimization Improves Sharpness-Aware TrainingJuntang Zhuang, Boqing Gong, Liangzhe Yuan, Yin Cui 等ICLR 2022 · 213 次引用
- AdamP: Slowing Down the Slowdown for Momentum Optimizers on Scale-invariant WeightsByeongho Heo, Sanghyuk Chun, Seong Joon Oh, Dongyoon Han 等ICLR 2021 · 165 次引用
- Efficient Dataset Distillation using Random Feature ApproximationNoel Loo, Ramin M. Hasani, Alexander Amini, Daniela RusNeurIPS 2022 · 156 次引用
它引用的 Paper5
- On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
- Gradient Descent Maximizes the Margin of Homogeneous Neural NetworksKaifeng Lyu, Jian LiICLR 2020 · 402 次引用
- ADAHESSIAN: An Adaptive Second Order Optimizer for Machine LearningZhewei Yao, Amir Gholami, Sheng Shen, Mustafa Mustafa 等AAAI 2021 · 358 次引用
- On the distance between two neural networks and the stability of learningJeremy Bernstein, Arash Vahdat, Yisong Yue, Ming-Yu LiuNeurIPS 2020 · 77 次引用
- SAdam: A Variant of Adam for Strongly Convex FunctionsGuanghui Wang, Shiyin Lu, Quan Cheng, Weiwei Tu 等ICLR 2020 · 2 次引用
相关 Paper
- Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and MomentumZeke Xie, Xinrui Wang, Huishuai Zhang, Issei Sato 等ICML 2022 · 65 次引用
- Momentum Centering and Asynchronous Update for Adaptive Gradient MethodsJuntang Zhuang, Yifan Ding, Tommy Tang, Nicha C. Dvornek 等NeurIPS 2021 · 9 次引用
- ADOPT: Modified Adam Can Converge with Any β2 with the Optimal RateShohei Taniguchi, Keno Harada, Gouki Minegishi, Yuta Oshima 等NeurIPS 2024 · 32 次引用
- Non-asymptotic Analysis of Biased Adaptive Stochastic ApproximationSobihan Surendran, Adeline Fermanian, Antoine Godichon-Baggioni, Sylvain Le CorffNeurIPS 2024 · 7 次引用
- Understanding the Generalization of Adam in Learning Neural Networks with Proper RegularizationDifan Zou, Yuan Cao, Yuanzhi Li, Quanquan GuICLR 2023 · 6 次引用
