SAM: Sharpness Aware Minimization

2026年10月の再サーベイ: 研究史・重要文献・最近の進展を整理した新版を追加しました(2026年10月3日基準)。以下は従来のメモです。定義・適用条件の訂正は新版を参照してください。

Sharpness-Aware Minimization(SAM)は $\min_w\max_{|\epsilon|\le\rho}L(w+\epsilon)$ を理想化した目的とし、実装では内側の最大化を一次近似して摂動点で勾配を評価するため、通常の学習より forward/backward が1回ずつ増えます。再パラメータ化で sharpness の値が変わる反例があるので、sharpness の数値だけで汎化を説明することはできません。ASAM のノルム選択、full batch と stochastic batch での挙動の違い、低ランク特徴や正規化層だけの摂動など、「何が効いているか」をめぐる研究が続いています。整理は再サーベイ最適化章 §9にあります。

Feb 8th, 2024 まとめ

  • Sharpness-aware minimization for efficiently improving generalization
  • Sharpness-aware minimization leads to low-rank features
  • [Wen22] How does sharpness-aware minimization minimize sharpness?
  • [Wen23] Sharpness minimization algorithms do not only minimize sharpness to achieve better generalization
  • Normalization layers are all that sharpness-aware minimization needs
  • Same pre-training loss, better downstream: Implicit bias matters for language models

Original Paper

Sharpness-Aware Minimization for Efficiently Improving Generalization

  • Authors:
    • Pierre Foret, Google Research
    • Ariel Kleiner, Google Research
    • Hossein Mobahi, Google Research
    • Behnam Neyshabur, Blueshift, Alphabet​1​.
  • Accepted at ICLR2021
  • Findings: The authors demonstrate through rigorous empirical study that SAM improves model generalization across a range of widely studied computer vision tasks and models. The use of SAM also provides robustness to label noise. The authors further elucidate the connection between loss sharpness and generalization through the lens provided by SAM.

Analysis

Why Does Sharpness-Aware Minimization Generalize Better Than SGD?

画像欠落: 旧スクリーンショット2点は期限切れの署名付きGitHub asset URLだったため、 credential queryを公開本文から除去しました(2026-09-30確認)。内容は上記原論文を参照してください。

Normalization Layers Are All That Sharpness-Aware Minimization Needs

How Does Sharpness-Aware Minimization Minimize Sharpness?

Sharpness-Aware Minimization Leads to Low-Rank Features

Rethinking Sharpness-Aware Minimization as Variational Inference

SAM as an Optimal Relaxation of Bayes

When Do Flat Minima Optimizers Work?

Curvature

On the Maximum Hessian Eigenvalue and Generalization

The Hessian perspective into the Nature of Convolutional Neural Networks

Escaping Saddle Points for Effective Generalization on Class-Imbalanced Data

Latent Space Oddity: on the Curvature of Deep Generative Models

Noise Stability Optimization for Flat Minima with Optimal Convergence Rates

Enhancement of SAM

Improved Deep Neural Network Generalization Using m-Sharpness-Aware Minimization

Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach

TRAM: Bridging Trust Regions and Sharpness Aware Minimization

Efficiency

Random Sharpness-Aware Minimization / NeurIPS2022

Randomized Sharpness-Aware Training for Boosting Computational Efficiency in Deep Learning

Towards Efficient and Scalable Sharpness-Aware Minimization

Auto-Tuning

Provable Sharpness-Aware Minimization with Adaptive Learning Rate

AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networks

ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks

Domain Specific

When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations

Sharpness-Aware Minimization in Large-Batch Training: Training Vision Transformer In Minutes

Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models

Improving Shape Awareness and Interpretability in Deep Networks Using Geometric Moments

  • Authors:
    • Rajhans Singh, Arizona State University
    • Ankita Shukla, Arizona State University
    • Pavan Turaga, Arizona State University.
  • Accepted at CVPR 2023 Deep learning for Geometric Computing workshop
  • Findings: The authors introduce the Deep Geometric Moment (DGM) architecture, a deep-learning model that relies on geometric moments to measure shape-related properties. The DGM model generates discriminative features for classification tasks, outperforms existing ResNet models on standard datasets, and provides interpretable features at any level. The DGM model also only requires fine-tuning of the coordinate basis pipeline, instead of retraining all the model parameters, In particular, the proposed Deep Geometric Moment (DGM) architecture provides four key benefits compared to existing models. First, the model generates discriminative features for classification task by accounting for shape information through the proposed deep geometric moments. Second, our model outperforms existing ResNet models on standard datasets without using any pooling layer or reducing the spatial dimension. Third, it provides an easy access to interpretable features at any level by simple re-projection of moments. Finally, compared to existing models, the DGM model only requires finetuning of the coordinate basis pipeline without retraining all the model parameters.

UnClassified

Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworks

Beyond Deep Ensembles: A Large-Scale Evaluation of Bayesian Deep Learning under Distribution Shift

The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization

The Implicit Regularization of Momentum Gradient Descent in Overparametrized Models