Lune

ICML2026Top-tier venue

Understanding SAM through Minimax Perspective

Ying Chen, Aoxi Li, Javad Lavaei

2026Year

Abstract

Sharpness-Aware Minimization (SAM) empirically boosts generalization by seeking parameters that minimize the worst-case loss in a small neighborhood, yet existing theory explains its behavior under either Polyak-Lojasiewicz (PL) condition or upper bounded perturbation radius. We revisit SAM through the bilevel minimax problem min⁡θmax⁡∥Δ∥≤ρl(θ+Δ)\min_{\theta}\max_{\|\Delta\|\le\rho}l(\theta+\Delta) and derive a (θ,Δ)(\theta,\Delta) gradient flow ODE whose equilibria coincide with the problem’s optimality conditions. A Lyapunov argument-free of convexity assumptions, quantifies how the optimality gap depends on the radius ρ\rho and local curvature. Discretizing the flow yields a Multi-step SAM algorithm that recovers classical SAM as ρ→0\rho\to 0. Moreover, our analysis and the resulting algorithm remain valid even for large ρ\rho, providing guidance for aggressive neighborhood exploration. Experiments on synthetic objectives and CIFAR-10 validate the predicted gains from multiple inner updates, bridging the gap between SAM’s minimax intuition and its practical implementation.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 7eceeb30-346a-4466-8dcb-52172fec9f7c

Builds on24

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines