Lune

ICML2022顶会

Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentum

Zeke Xie, Xinrui Wang, Huishuai Zhang, Issei Sato, Masashi Sugiyama

摘要

Adaptive Moment Estimation (Adam), which combines Adaptive Learning Rate and Momentum, would be the most popular stochastic optimizer for accelerating the training of deep neural networks. However, it is empirically known that Adam often generalizes worse than Stochastic Gradient Descent (SGD). The purpose of this paper is to unveil the mystery of this behavior in the diffusion theoretical framework. Specifically, we disentangle the effects of Adaptive Learning Rate and Momentum of the Adam dynamics on saddle-point escaping and flat minima selection. We prove that Adaptive Learning Rate can escape saddle points efficiently, but cannot select flat minima as SGD does. In contrast, Momentum provides a drift effect to help the training process pass through saddle points, and almost does not affect flat minima selection. This partly explains why SGD (with Momentum) generalizes better, while Adam generalizes worse but converges faster. Furthermore, motivated by the analysis, we design a novel adaptive optimization framework named Adaptive Inertia, which uses parameter-wise adaptive inertia to accelerate the training and provably favors flat minima as well as SGD. Our extensive experiments demonstrate that the proposed adaptive inertia method can generalize significantly better than SGD and conventional adaptive gradient methods.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Fantastic Pretraining Optimizers and Where to Find Them 引用了 AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients
  • Fantastic Pretraining Optimizers and Where to Find Them 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • Fantastic Pretraining Optimizers and Where to Find Them 引用了 Fantastic Generalization Measures and Where to Find Them
  • On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep Learning
  • On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 Fantastic Generalization Measures and Where to Find Them
  • AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • On the SDEs and Scaling Rules for Adaptive Gradient Algorithms 引用了 Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep Learning
  • Flatness-Aware Minimization for Domain Generalization 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • Why Transformers Need Adam: A Hessian Perspective 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • Why Transformers Need Adam: A Hessian Perspective 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. Why Transformers Need Adam: A Hessian PerspectiveYushun Zhang, Congliang Chen, Tian Ding, Ziniu Li 等NeurIPS 2024 · 149 次引用
  2. On the SDEs and Scaling Rules for Adaptive Gradient AlgorithmsSadhika Malladi, Kaifeng Lyu, Abhishek Panigrahi, Sanjeev AroraNeurIPS 2022 · 125 次引用
  3. Fantastic Pretraining Optimizers and Where to Find ThemKaiyue Wen, David Leo Wright Hall, Tengyu Ma, Percy LiangICLR 2026 · 92 次引用
  4. On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm PerspectiveZeke Xie, Zhiqiang Xu, Jingzhao Zhang, Issei Sato 等NeurIPS 2023 · 38 次引用
  5. Flatness-Aware Minimization for Domain GeneralizationXingxuan Zhang, Renzhe Xu, Han Yu, Yancheng Dong 等ICCV 2023 · 37 次引用

它引用的 Paper9

  1. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
  2. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
  3. AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed GradientsJuntang Zhuang, Tommy Tang, Yifan Ding, Sekhar Tatikonda 等NeurIPS 2020 · 697 次引用
  4. Why Gradient Clipping Accelerates Training: A Theoretical Justification for AdaptivityJingzhao Zhang, Tianxing He, Suvrit Sra, Ali JadbabaieICLR 2020 · 598 次引用
  5. Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep LearningPan Zhou, Jiashi Feng, Chao Ma, Caiming Xiong 等NeurIPS 2020 · 309 次引用

相关 Paper

  1. Escaping Saddle Points Faster with Stochastic MomentumJun-Kun Wang, Chi-Heng Lin, Jacob D. AbernethyICLR 2020 · 25 次引用
  2. FedAdamom: Adaptive Momentum for Improved Generalization in Federated OptimizationWenjie Hou, Tianxiang Chen, Feng Wang, Tiantong Wu 等CVPR 2026
  3. A Method for Enhancing Generalization of Adam by Multiple IntegrationsLong Jin, Han Nong, Liangming Chen, Zhenming SuAAAI 2025 · 2 次引用
  4. Stability Analysis of Sharpness-Aware MinimizationHoki Kim, Jinseong Park, Yujin Choi, Jaewook LeeICML 2026 · 18 次引用
  5. IO-Adam: Rethinking Memory-Efficient Adaptive Optimizers from Gradient ComputationYiting Chen, Zongwei Huo, Junchi YanICML 2026
黄昏的海面,两侧是细线勾勒的悬崖