Lune

NeurIPS2023Top-tier venue

Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima

Dongkuk Si, Chulhee Yun

Abstract

Sharpness-Aware Minimization (SAM) is an optimizer that takes a descent step based on the gradient at a perturbation yt=xt+ρ∇f(xt)∥∇f(xt)∥y_t = x_t + \rho \frac{\nabla f(x_t)}{\lVert \nabla f(x_t) \rVert} of the current point xtx_t. Existing studies prove convergence of SAM for smooth functions, but they do so by assuming decaying perturbation size ρ\rho and/or no gradient normalization in yty_t, which is detached from practice. To address this gap, we study deterministic/stochastic versions of SAM with practical configurations (i.e., constant ρ\rho and gradient normalization in yty_t) and explore their convergence properties on smooth functions with (non)convexity assumptions. Perhaps surprisingly, in many scenarios, we find out that SAM has limited capability to converge to global minima or stationary points. For smooth strongly convex functions, we show that while deterministic SAM enjoys tight global convergence rates of Θ~(1T2)\tilde \Theta(\frac{1}{T^2}), the convergence bound of stochastic SAM suffers an inevitable additive term O(ρ2)O(\rho^2), indicating convergence only up to neighborhoods of optima. In fact, such O(ρ2)O(\rho^2) factors arise for stochastic SAM in all the settings we consider, and also for deterministic SAM in nonconvex cases; importantly, we prove by examples that such terms are unavoidable. Our results highlight vastly different characteristics of SAM with vs. without decaying perturbation size or gradient normalization, and suggest that the intuitions gained from one version may not apply to the other.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Stability Analysis of Sharpness-Aware Minimization cites When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
  • Stability Analysis of Sharpness-Aware Minimization cites Surrogate Gap Minimization Improves Sharpness-Aware Training
  • Stability Analysis of Sharpness-Aware Minimization cites Fantastic Generalization Measures and Where to Find Them
  • Stability Analysis of Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks cites Fantastic Generalization Measures and Where to Find Them
  • ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Stability Analysis of Sharpness-Aware Minimization
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Surrogate Gap Minimization Improves Sharpness-Aware Training
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Fantastic Generalization Measures and Where to Find Them
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites The Crucial Role of Normalization in Sharpness-Aware Minimization
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning cites When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
  • PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Surrogate Gap Minimization Improves Sharpness-Aware Training cites When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
  • Surrogate Gap Minimization Improves Sharpness-Aware Training cites Fantastic Generalization Measures and Where to Find Them
  • Surrogate Gap Minimization Improves Sharpness-Aware Training cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization cites Surrogate Gap Minimization Improves Sharpness-Aware Training
  • Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization cites Fantastic Generalization Measures and Where to Find Them
  • Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-aware Minimization for Efficiently Improving Generalization cites Fantastic Generalization Measures and Where to Find Them
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement LearningHojoon Lee, Hanseul Cho, Hyunseung Kim, Daehoon Gwak et al.NeurIPS 2023 · 50 citations
  2. The Crucial Role of Normalization in Sharpness-Aware MinimizationYan Dai, Kwangjun Ahn, Suvrit SraNeurIPS 2023 · 36 citations
  3. Explicit Eigenvalue Regularization Improves Sharpness-Aware MinimizationHaocheng Luo, Tuan Truong, Tung Pham, Mehrtash Harandi et al.NeurIPS 2024 · 28 citations
  4. Fundamental Convergence Analysis of Sharpness-Aware MinimizationPham Duy Khanh, Hoang-Chau Luong, Boris S. Mordukhovich, Dat Ba TranNeurIPS 2024 · 27 citations
  5. Stability Analysis of Sharpness-Aware MinimizationHoki Kim, Jinseong Park, Yujin Choi, Jaewook LeeICML 2026 · 18 citations

Builds on23

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  2. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
  3. When Vision Transformers Outperform ResNets without Pre-training or Strong Data AugmentationsXiangning Chen, Cho-Jui Hsieh, Boqing GongICLR 2022 · 388 citations
  4. ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural NetworksJungmin Kwon, Jeongseop Kim, Hyunseo Park, In Kwon ChoiICML 2021 · 385 citations
  5. Surrogate Gap Minimization Improves Sharpness-Aware TrainingJuntang Zhuang, Boqing Gong, Liangzhe Yuan, Yin Cui et al.ICLR 2022 · 213 citations

Related papers

  1. Sharpness-Aware Minimization Can Hallucinate MinimizersChanwoong Park, Uijeong Jang, Ernest Ryu, Insoon YangICML 2026
  2. Adaptive Sharpness-Aware Minimization with a Polyak-type Step size: A Theory-Grounded SchedulerDimitris Oikonomou, Nicolas LoizouICML 2026
  3. An SDE for Modeling SAM: Theory and InsightsEnea Monzio Compagnoni, Luca Biggio, Antonio Orvieto, Frank Norbert Proske et al.ICML 2023 · 25 citations
  4. On Saddle Point Avoidance and Stationary Distribution of Sharpness-Aware MinimizationTao Sun, Fan Jia, Bao WangKDD 2026 · 1 citation
  5. Towards Understanding Sharpness-Aware MinimizationMaksym Andriushchenko, Nicolas FlammarionICML 2022 · 190 citations
Dusk over the sea between two cliffs drawn in fine vertical lines