cs.LGMar 9, 2026

Minor First, Major Last: A Depth-Induced Implicit Bias of Sharpness-Aware Minimization

Authors: Chaewon Moon, Dongkuk Si, Chulhee Yun

Organizations: Kim Jaechul Graduate School of AI, KAIST · Mobilint, Inc.

Abstract

We study the implicit bias of Sharpness-Aware Minimization (SAM) when training LL-layer linear diagonal networks on linearly separable binary classification. For linear models (L=1L=1), both ℓ∞\ell_\infty- and ℓ2\ell_2-SAM recover the ℓ2\ell_2 max-margin classifier, matching gradient descent (GD). However, for depth L=2L = 2, the behavior changes drastically -- even on a single-example dataset. For ℓ∞\ell_\infty-SAM, the limit direction depends critically on initialization and can converge to 0\mathbf{0} or to any standard basis vector, in stark contrast to GD, whose limit aligns with the basis vector of the dominant data coordinate. For ℓ2\ell_2-SAM, we show that although its limit direction matches the ℓ1\ell_1 max-margin solution as in the case of GD, its finite-time dynamics exhibit a phenomenon we call "sequential feature amplification", in which the predictor initially relies on minor coordinates and gradually shifts to larger ones as training proceeds or initialization increases. Our theoretical analysis attributes this phenomenon to ℓ2\ell_2-SAM's gradient normalization factor applied in its perturbation, which amplifies minor coordinates early and allows major ones to dominate later, giving a concrete example where infinite-time implicit-bias analyses are insufficient. Synthetic and real-data experiments corroborate our findings.

Figures & tables

Appendix figures & tables30 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation

    Mar 9, 2026Jianlong Chen, Zhiming ZhouSharpness-Aware MinimizationDeep Learning Optimization