arXiv:2610.29192math.OCOct 2026

Manuscript Offprint

arXiv:2610.29192

Curvature-Scaled Sharpness-Aware Minimization: Convergence Beyond Smoothness

Dimitris Oikonomou, Nicolas Loizou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Sharpness-Aware Minimization (SAM) has established itself as a widely used method for training deep neural networks. Despite its popularity, existing convergence guarantees for SAM-type methods require smoothness, a restrictive assumption. Generalized smoothness conditions have recently been proposed in the analysis of gradient methods but remain underexplored for SAM. To analyze the effect of SAM's perturbation under generalized smoothness, we use relative gradient distortion to quantify how the sharpness-aware direction departs from the original gradient. Under (L0,L1)(L_0, L_1)-smoothness, we show that this distortion can become unbounded near stationarity for SAM and at large gradients for its unnormalized variant (USAM), with examples where SAM cycles and USAM diverges. We then establish a necessary condition for uniform distortion control among perturbations along the gradient whose nonnegative multipliers depend only on its norm. Motivated by this condition, we propose Curvature-Scaled SAM (CS-SAM), which scales both the perturbation and the descent step by suitable curvature upper bounds, and prove that it uniformly bounds the distortion. Under both (L0,L1)(L_0, L_1)- and (H0,H1)(H_0, H_1)-smoothness, we establish deterministic O(1/T)\mathcal{O}(1/T) rates for the best squared gradient norm on nonconvex objectives, last-iterate O(1/T)\mathcal{O}(1/T) rates for the function gap on convex objectives with a minimizer, and linear convergence under the Polyak–Lojasiewicz condition. With zero perturbation, our guarantees recover the rates for gradient descent with (L0,L1)(L_0, L_1)- or (H0,H1)(H_0, H_1)-based step-sizes. Minibatch experiments on computer vision tasks demonstrate competitive performance for both variants, with the (H0,H1)(H_0, H_1) variant achieving the highest mean best-test accuracy in all four settings against tuned SAM and USAM with constant and cosine annealing schedules.

1 Introduction

Sharpness-Aware Minimization (SAM) was introduced to improve generalization by seeking parameters whose training loss remains low throughout a local neighborhood [Foret et al., 2021]. It pursues this objective through a simple two-step procedure: first perturb the parameters in a direction of increasing loss, then update the original parameters using the gradient evaluated at the perturbed point. The choice of perturbation therefore determines how the resulting update departs from ordinary gradient descent. For a differentiable objective f:Rd→Rf: \mathbb{R}^d \to \mathbb{R}, standard SAM uses a fixed-radius perturbation of length rr along the normalized gradient, whereas its unnormalized variant (USAM) uses a fixed multiple ρ\rho of the gradient itself [Andriushchenko and Flammarion, 2022]:

yt=xt+r∇f(xt)∥∇f(xt)∥,xt+1=xt−ηt∇f(yt),y_t=x_t+r\frac{\nabla f(x_t)}{\|\nabla f(x_t)\|},\qquad x_{t+1}=x_t-\eta_t\nabla f(y_t),

(SAM)

yt=xt+ρ∇f(xt),xt+1=xt−ηt∇f(yt),y_t=x_t+\rho\nabla f(x_t),\qquad x_{t+1}=x_t-\eta_t\nabla f(y_t),

(USAM) with radius r>0r > 0, multiplier ρ≥0\rho \geq 0, and outer step ηt>0\eta_t > 0. Both rules cost two gradient evaluations per iteration, one at the iterate xtx_t and one at the perturbed point yty_t.

Throughout, we consider the problem

min⁡x∈Rdf(x),f⋆:=inf⁡x∈Rdf(x)>−∞,(1)\min_{x\in\mathbb{R}^{d}}f(x),\qquad f_{\star}:=\inf_{x\in\mathbb{R}^{d}}f(x)>-\infty, \tag{1}

where f:Rd→Rf : \mathbb{R}^d \to \mathbb{R} is twice continuously differentiable. In model training, xx represents the model parameters and ff the training loss. We call the Hessian operator norm ∥∇2f(x)∥\|\nabla^2 f(x)\| the local curvature at xx. Classical smoothness bounds this quantity by a constant L>0L > 0:

∥∇2f(x)∥≤L∀x∈Rd.(2)\left\|\nabla^{2}f(x)\right\|\leq L\qquad\forall x\in\mathbb{R}^{d}. \tag{2}

Classical L-smoothness can fail even for simple neural-network training objectives [Alimisis et al., 2026]. Motivated by empirical observations that local curvature grows with the gradient norm during neural-network training, Zhang et al. [2020b] introduced (L0,L1)(L_0, L_1)-smoothness, which allows the Hessian norm to grow with the gradient norm. Subsequent theoretical results support this condition for specific neural-network models. In particular, the bounds of Taheri and Thrampoulidis [2023] imply (L0,L1)(L_0, L_1)-smoothness for two-layer networks with fixed output weights and smoothed leaky-ReLU activations, trained with exponential loss on linearly separable data. Complementary results establish (H0,H1)(H_0, H_1)-smoothness for two-layer networks trained with ℓ2\ell_2-regularized cross-entropy loss under suitable activation assumptions [Alimisis et al., 2026]. These findings motivate the gradient-dependent and loss-dependent curvature bounds considered here:

∥∇2f(x)∥≤ML(x):=L0+L1∥∇f(x)∥,\left\|\nabla^{2}f(x)\right\|\leq M_{L}(x):=L_{0}+L_{1}\left\|\nabla f(x)\right\|,

(L0,L1)(L_{0}, L_{1})-smoothness,

(3)

∥∇2f(x)∥≤MH(x):=H0+H1(f(x)−f⋆),\left\|\nabla^{2}f(x)\right\|\leq M_{H}(x):=H_{0}+H_{1}\big(f(x)-f_{\star}\big),

(H0,H1)(H_{0}, H_{1})-smoothness,

(4)

for every x∈Rdx \in \mathbb{R}^d, with L0>0L_0 > 0, L1≥0L_1 \geq 0, and H0,H1≥0H_0, H_1 \geq 0. Note that both models contain classical smoothness as a special case ( L1=0L_1 = 0 or H1=0H_1 = 0). With slight abuse of notation, in several parts of the paper we write ML:=ML(x)M_L := M_L(x) and MH:=MH(x)M_H := M_H(x). We refer to a positive function that upper-bounds the local curvature everywhere as a curvature scale; MLM_L and, for nonconstant objectives, MHM_H provide the two scales studied in this work (Proposition 2.4).

The difficulty is that the curvature bound must control the gradient change along the perturbation, as well as the subsequent descent step. Even under classical smoothness, a fixed perturbation radius can prevent exact convergence: Bartlett et al. [2023] analyzed cycling of fixed-radius SAM on convex quadratics, and Si and Yun [2023] established stationarity neighborhoods in several settings. The inexact-gradient viewpoint of Khanh et al. [2024] makes the perturbation-induced error explicit, while the clipped rule of Adly and Le [2026] controls it near stationarity by making the perturbation proportional to the gradient. Under (3), however, a gradient-proportional perturbation can also become too large when the gradient grows. Thus, extending SAM to generalized smoothness requires control at both ends of the gradient scale.

For ordinary gradient methods, adapting to curvature growth is already well studied. The (L0,L1)(L_{0}, L_{1}) model was introduced by Zhang et al. [2020b] to explain gradient clipping and has since supported analyses of clipped, normalized, and adaptive methods [Chen et al., 2023, Crawshaw et al., 2022, Koloskova et al., 2023, Li et al., 2023, Zhang et al., 2020a]. In particular, Gorbunov et al. [2025] and Vankov et al. [2025] analyzed steps inversely proportional to gradient-dependent curvature bounds. The loss-dependent model has likewise been used to explain learning-rate warm-up [Alimisis et al., 2026] and to analyze line search and adaptive gradient methods [Vaswani and Babanezhad Harikandeh, 2025, Vaswani et al., 2026]. These results motivate scaling the outer descent step by a curvature bound. The remaining question for SAM is how that bound should also determine the perturbation.

References (41)