Lune

NeurIPS2025Top-tier venue

Momentum-SAM: Sharpness Aware Minimization without Computational Overhead

Marlon Becker, Frederick Altrock, Benjamin Risse

Abstract

The recently proposed optimization algorithm for deep neural networks Sharpness Aware Minimization (SAM) suggests perturbing parameters before gradient calculation by a gradient ascent step to guide the optimization into parameter space regions of flat loss. While significant generalization improvements and thus reduction of overfitting could be demonstrated, the computational costs are doubled due to the additionally needed gradient calculation, making SAM unfeasible in case of limited computationally capacities. Motivated by Nesterov Accelerated Gradient (NAG) we propose Momentum-SAM (MSAM), which perturbs parameters in the direction of the accumulated momentum vector to achieve low sharpness without significant computational overhead or memory demands over SGD or Adam. We evaluate MSAM in detail and reveal insights on separable mechanisms of NAG, SAM and MSAM regarding training optimization and generalization. Code is available at https://github.com/MarlonBecker/MSAM.

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.

5 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

  • Adversarial Weight Perturbation Helps Robust Generalization cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In Training cites Adversarial Weight Perturbation Helps Robust Generalization
  • Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In Training cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In Training cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimization cites Adversarial Weight Perturbation Helps Robust Generalization
  • Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Avoiding spurious sharpness minimization broadens applicability of SAM cites Adversarial Weight Perturbation Helps Robust Generalization
  • Avoiding spurious sharpness minimization broadens applicability of SAM cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-Aware Machine Unlearning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Sharpness-Aware Machine Unlearning cites Sharpness-aware Minimization for Efficiently Improving Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Sharpness-Aware Machine UnlearningHaoran Tang, Rajiv KhannaICLR 2026 · 10 citations
  2. Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware MinimizationJiaxin Deng, Junbiao Pang, Baochang Zhang, Guodong GuoAAAI 2025 · 5 citations
  3. Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In TrainingZhanpeng Zhou, Mingze Wang, Yuchen Mao, Bingrui Li et al.ICLR 2025
  4. Avoiding spurious sharpness minimization broadens applicability of SAMSidak Pal Singh, Hossein Mobahi, Atish Agarwala, Yann N. DauphinICML 2025
  5. Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware MinimizationJinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang GaoICML 2026

Builds on26

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  3. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  4. Deep Double Descent: Where Bigger Models and More Data HurtPreetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang et al.ICLR 2020 · 1,108 citations
  5. Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 citations

Related papers

  1. Sharpness-Aware Training for FreeJiawei Du, Daquan Zhou, Jiashi Feng, Vincent Y. F. Tan et al.NeurIPS 2022 · 132 citations
  2. Efficient Sharpness-aware Minimization for Improved Training of Neural NetworksJiawei Du, Hanshu Yan, Jiashi Feng, Joey Tianyi Zhou et al.ICLR 2022 · 168 citations
  3. How Sharpness-Aware Minimization Minimizes Sharpness?Kaiyue Wen, Tengyu Ma, Zhiyuan LiICLR 2023 · 3 citations
  4. Stability Analysis of Sharpness-Aware MinimizationHoki Kim, Jinseong Park, Yujin Choi, Jaewook LeeICML 2026 · 18 citations
  5. Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation ApproachPeng Mi, Li Shen, Tianhe Ren, Yiyi Zhou et al.NeurIPS 2022 · 102 citations
Dusk over the sea between two cliffs drawn in fine vertical lines