Lune

NeurIPS2023Top-tier venue

Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization

Kaiyue Wen, Zhiyuan Li, Tengyu Ma

Abstract

Despite extensive studies, the underlying reason as to why overparameterized neural networks can generalize remains elusive. Existing theory shows that common stochastic optimizers prefer flatter minimizers of the training loss, and thus a natural potential explanation is that flatness implies generalization. This work critically examines this explanation. Through theoretical and empirical investigation, we identify the following three scenarios for two-layer ReLU networks: (1) flatness provably implies generalization; (2) there exist non-generalizing flattest models and sharpness minimization algorithms fail to generalize, and (3) perhaps most surprisingly, there exist non-generalizing flattest models, but sharpness minimization algorithms still generalize. Our results suggest that the relationship between sharpness and generalization subtly depends on the data distributions and the model architectures and sharpness minimization algorithms do not only minimize sharpness to achieve better generalization. This calls for the search for other explanations for the generalization of over-parameterized neural networks.

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.

34 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

  • What Happens after SGD Reaches Zero Loss? --A Mathematical Framework cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • Improving Generalization and Convergence by Enhancing Implicit Regularization cites What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
  • Improving Generalization and Convergence by Enhancing Implicit Regularization cites Fantastic Generalization Measures and Where to Find Them
  • Improving Generalization and Convergence by Enhancing Implicit Regularization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Improving Generalization and Convergence by Enhancing Implicit Regularization cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems cites What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
  • Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems cites Fantastic Generalization Measures and Where to Find Them
  • Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and Flatness cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • How to Escape Sharp Minima with Random Perturbations cites What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
  • How to Escape Sharp Minima with Random Perturbations cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • How to Escape Sharp Minima with Random Perturbations cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-aware Minimization for Efficiently Improving Generalization cites Fantastic Generalization Measures and Where to Find Them
  • Label Noise SGD Provably Prefers Flat Global Minimizers cites Sharpness-aware Minimization for Efficiently Improving Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers34

  1. Improving Generalization and Convergence by Enhancing Implicit RegularizationMingze Wang, Jinbo Wang, Haotian He, Zilin Wang et al.NeurIPS 2024 · 21 citations
  2. How to Escape Sharp Minima with Random PerturbationsKwangjun Ahn, Ali Jadbabaie, Suvrit SraICML 2024 · 17 citations
  3. Outliers with Opposing Signals Have an Outsized Effect on Neural Network OptimizationElan Rosenfeld, Andrej RisteskiICLR 2024 · 16 citations
  4. Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant ProblemsBingcong Li, Liang Zhang, Niao HeNeurIPS 2024 · 14 citations
  5. Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and FlatnessMingyuan Fan, Xiaodan Li, Cen Chen, Wenmeng Zhou et al.NeurIPS 2024 · 13 citations

Builds on12

  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. Label Noise SGD Provably Prefers Flat Global MinimizersAlex Damian, Tengyu Ma, Jason D. LeeNeurIPS 2021 · 155 citations
  4. What Happens after SGD Reaches Zero Loss? --A Mathematical FrameworkZhiyuan Li, Tianhao Wang, Sanjeev AroraICLR 2022 · 121 citations
  5. Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with TransformersColin Wei, Yining Chen, Tengyu MaNeurIPS 2022 · 117 citations

Related papers

  1. Beyond Sharpness: The Role of Nonuniformity in GeneralizationYingcong Zhou, Pingfan Wu, Li Wang, Zhiguo Fu et al.AAAI 2026
  2. Why Does Sharpness-Aware Minimization Generalize Better Than SGD?Zixiang Chen, Junkai Zhang, Yiwen Kou, Xiangning Chen et al.NeurIPS 2023 · 32 citations
  3. When Do Flat Minima Optimizers Work?Jean Kaddour, Linqing Liu, Ricardo Silva, Matt J. KusnerNeurIPS 2022 · 102 citations
  4. A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity BiasWei-Kai Chang, Rajiv KhannaNeurIPS 2025 · 3 citations
  5. Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization TermYun Yue, Jiadi Jiang, Zhiling Ye, Ning Gao et al.KDD 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines