Lune

NeurIPS2023顶会

How Does Adaptive Optimization Impact Local Neural Network Geometry?

Kaiqi Jiang, Dhruv Malik, Yuanzhi Li

摘要

Adaptive optimization methods are well known to achieve superior convergence relative to vanilla gradient methods. The traditional viewpoint in optimization, particularly in convex optimization, explains this improved performance by arguing that, unlike vanilla gradient schemes, adaptive algorithms mimic the behavior of a second-order method by adapting to the global geometry of the loss function. We argue that in the context of neural network optimization, this traditional viewpoint is insufficient. Instead, we advocate for a local trajectory analysis. For iterate trajectories produced by running a generic optimization algorithm OPT, we introduce RmedOPTR^{\text{OPT}}_{\text{med}}, a statistic that is analogous to the condition number of the loss Hessian evaluated at the iterates. Through extensive experiments, we show that adaptive methods such as Adam bias the trajectories towards regions where RmedAdamR^{\text{Adam}}_{\text{med}} is small, where one might expect faster convergence. By contrast, vanilla gradient methods like SGD bias the trajectories towards regions where RmedSGDR^{\text{SGD}}_{\text{med}} is comparatively large. We complement these empirical observations with a theoretical result that provably demonstrates this phenomenon in the simplified setting of a two-layer linear network. We view our findings as evidence for the need of a new explanation of the success of adaptive methods, one that is different than the conventional wisdom.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguise 引用了 Adam with model exponential moving average is effective for nonconvex optimization
  • Adam with model exponential moving average is effective for nonconvex optimization 引用了 Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguise
  • On the Implicit Bias of Adam 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Adam with model exponential moving average is effective for nonconvex optimization 引用了 Why Transformers Need Adam: A Hessian Perspective
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. Why Transformers Need Adam: A Hessian PerspectiveYushun Zhang, Congliang Chen, Tian Ding, Ziniu Li 等NeurIPS 2024 · 149 次引用
  2. Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention LandscapeJuno Kim, Taiji SuzukiICML 2024 · 42 次引用
  3. Adam with model exponential moving average is effective for nonconvex optimizationKwangjun Ahn, Ashok CutkoskyNeurIPS 2024 · 36 次引用
  4. On the Implicit Bias of AdamMatias D. Cattaneo, Jason M. Klusowski, Boris ShigidaICML 2024 · 26 次引用
  5. Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in DisguiseKwangjun Ahn, Zhiyu Zhang, Yunbum Kook, Yan DaiICML 2024 · 25 次引用

它引用的 Paper6

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
  3. Understanding self-supervised learning dynamics without contrastive pairsYuandong Tian, Xinlei Chen, Surya GanguliICML 2021 · 338 次引用
  4. Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networksZiwei Ji, Matus TelgarskyICLR 2020 · 193 次引用
  5. Adaptive Gradient Methods for Constrained Convex Optimization and Variational InequalitiesAlina Ene, Huy L. Nguyen, Adrian VladuAAAI 2021 · 35 次引用

相关 Paper

  1. Convergence of Adam Under Relaxed AssumptionsHaochuan Li, Alexander Rakhlin, Ali JadbabaieNeurIPS 2023 · 132 次引用
  2. The Expected Loss of Preconditioned Langevin Dynamics Reveals the Hessian RankAmitay Bar, Rotem Mulayoff, Tomer Michaeli, Ronen TalmonAAAI 2024 · 1 次引用
  3. Escaping Saddle Points Faster with Stochastic MomentumJun-Kun Wang, Chi-Heng Lin, Jacob D. AbernethyICLR 2020 · 25 次引用
  4. Understanding the Generalization of Adam in Learning Neural Networks with Proper RegularizationDifan Zou, Yuan Cao, Yuanzhi Li, Quanquan GuICLR 2023 · 6 次引用
  5. ACMo: Angle-Calibrated Moment Methods for Stochastic OptimizationXunpeng Huang, Runxin Xu, Hao Zhou, Zhe Wang 等AAAI 2021 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖