Lune

ICML2023Top-tier venue

SAM operates far from home: eigenvalue regularization as a dynamical phenomenon

Atish Agarwala, Yann N. Dauphin

Abstract

The Sharpness Aware Minimization (SAM) optimization algorithm has been shown to control large eigenvalues of the loss Hessian and provide generalization benefits in a variety of settings. The original motivation for SAM was a modified loss function which penalized sharp minima; subsequent analyses have also focused on the behavior near minima. However, our work reveals that SAM provides a strong regularization of the eigenvalues throughout the learning trajectory. We show that in a simplified setting, SAM dynamically induces a stabilization related to the edge of stability (EOS) phenomenon observed in large learning rate gradient descent. Our theory predicts the largest eigenvalue as a function of the learning rate and SAM radius parameters. Finally, we show that practical models can also exhibit this EOS stabilization, and that understanding SAM must account for these dynamics far away from any minima. Recently the sharpness aware minimization (SAM) algorithm has emerged as a popular choice for regularizing the

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.

16 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

  • Neglected Hessian component explains mysteries in sharpness regularization cites Second-order regression models exhibit progressive sharpening to the edge of stability
  • Neglected Hessian component explains mysteries in sharpness regularization cites Towards Understanding Sharpness-Aware Minimization
  • Neglected Hessian component explains mysteries in sharpness regularization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Second-order regression models exhibit progressive sharpening to the edge of stability cites Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
  • Second-order regression models exhibit progressive sharpening to the edge of stability cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Catapults in SGD: spikes in the training loss and their impact on generalization through feature learning cites Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
  • Catapults in SGD: spikes in the training loss and their impact on generalization through feature learning cites Second-order regression models exhibit progressive sharpening to the edge of stability
  • Catapults in SGD: spikes in the training loss and their impact on generalization through feature learning cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima
  • Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima cites The Crucial Role of Normalization in Sharpness-Aware Minimization
  • The Crucial Role of Normalization in Sharpness-Aware Minimization cites Towards Understanding Sharpness-Aware Minimization
  • 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 The Crucial Role of Normalization in Sharpness-Aware Minimization
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites Towards Understanding Sharpness-Aware Minimization
  • Fundamental Convergence Analysis of Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima cites Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
  • Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima cites Towards Understanding Sharpness-Aware Minimization
  • Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Towards Understanding Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. The Crucial Role of Normalization in Sharpness-Aware MinimizationYan Dai, Kwangjun Ahn, Suvrit SraNeurIPS 2023 · 36 citations
  2. Practical Sharpness-Aware Minimization Cannot Converge All the Way to OptimaDongkuk Si, Chulhee YunNeurIPS 2023 · 34 citations
  3. Catapults in SGD: spikes in the training loss and their impact on generalization through feature learningLibin Zhu, Chaoyue Liu, Adityanarayanan Radhakrishnan, Mikhail BelkinICML 2024 · 29 citations
  4. Fundamental Convergence Analysis of Sharpness-Aware MinimizationPham Duy Khanh, Hoang-Chau Luong, Boris S. Mordukhovich, Dat Ba TranNeurIPS 2024 · 27 citations
  5. Neglected Hessian component explains mysteries in sharpness regularizationYann N. Dauphin, Atish Agarwala, Hossein MobahiNeurIPS 2024 · 16 citations

Builds on8

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  2. Towards Understanding Sharpness-Aware MinimizationMaksym Andriushchenko, Nicolas FlammarionICML 2022 · 190 citations
  3. Second-order regression models exhibit progressive sharpening to the edge of stabilityAtish Agarwala, Fabian Pedregosa, Jeffrey PenningtonICML 2023 · 37 citations
  4. Gradient Descent on Neural Networks Typically Occurs at the Edge of StabilityJeremy Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter et al.ICLR 2021 · 22 citations
  5. Trajectory of Mini-Batch Momentum: Batch Size Saturation and Convergence in High DimensionsKiwon Lee, Andrew N. Cheng, Elliot Paquette, Courtney PaquetteNeurIPS 2022 · 22 citations

Related papers

  1. Explicit Eigenvalue Regularization Improves Sharpness-Aware MinimizationHaocheng Luo, Tuan Truong, Tung Pham, Mehrtash Harandi et al.NeurIPS 2024 · 28 citations
  2. How Sharpness-Aware Minimization Minimizes Sharpness?Kaiyue Wen, Tengyu Ma, Zhiyuan LiICLR 2023 · 3 citations
  3. Understanding Edge-of-Stability Training Dynamics with a Minimalist ExampleXingyu Zhu, Zixuan Wang, Xiang Wang, Mo Zhou et al.ICLR 2023 · 1 citation
  4. Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of StabilityZixuan Wang, Zhouzi Li, Jian LiNeurIPS 2022 · 71 citations
  5. Flatland: The Adventures of Gradient Descent with Large Step SizesLeonardo Galli, Curtis Fox, Wiebke Bartolomaeus, Mark Schmidt et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines