atlas

Research map / Optimization / Implicit bias and generalization

A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias

NeurIPS 2025 · Optimization › Implicit bias and generalization · approach: SGD noise and flat minima · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Develops a linear stability framework for SGD, random-perturbation SGD, and SAM around minima, linking data coherence (alignment of per-example Hessians) to stability and an emergent simplicity bias, validated on quadratic toy problems and two-layer ReLU networks.

Problem

Why SGD and its variants (random perturbation, SAM) prefer flat and simple minima and how data structure governs which minima are stable attractors under training dynamics.

Approach

Defines a data-dependent coherence matrix from pairwise traces of per-example Hessians and shows its spectrum governs linear stability for SGD and SAM; SAM's effective Hessian (I + (rho/alpha)H)H penalizes high-curvature directions more strictly, amplifying preference for coherent, lower-complexity solutions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase SAM radius from ρ = 0.01 to ρ = 0.1 (ablation)SAM on the two-layer ReLU network · Two-layer ReLU network trainingCoherence Measure: 121.473 -> 65.656Hurt
Increase SAM radius from ρ = 0.01 to ρ = 0.1 (ablation)SAM on the two-layer ReLU network · Two-layer ReLU network trainingER: 6.2 -> 5.6Mixed
Use SAM with ρ = 0.1 instead of SGD (ablation)Two-layer ReLU network · Two-layer ReLU network trainingCoherence Measure: 133.942 -> 65.656Hurt
Use SAM with ρ = 0.1 instead of SGD (ablation)Two-layer ReLU network · Two-layer ReLU network trainingER: 6.167 -> 5.6Mixed
Use SAM with radius 0.05 instead of SGD (ablation)ResNet-18 · CIFAR-10Rank: 148.33 ± 3.22 -> 157.67 ± 9.29Hurt
Use SAM with radius 0.2 instead of SGD (ablation)ResNet-18 · CIFAR-10Rank: 148.33 ± 3.22 -> 128.67 ± 5.51Helped
Use SAM with radius 0.2 instead of SGD (ablation)ResNet-18 · CIFAR-10Coherence: 1.0045 ± 0.0020 -> 1.0907 ± 0.0890Mixed
Initialize near a lower-C rather than higher-C (C,r)-generalizing solution (ablation)SGD and SAM · Two-layer ReLU network local stabilityConvergence speedHelped
Use SAM rather than SGDTwo-layer ReLU network near (C,r)-generalizing solutions · Local stabilityConvergence speedHelped
Add random perturbation to SGDSGD · Quadratic-loss local stabilityStability thresholdNo clear effect
Add random perturbation to SGDSGD · Quadratic-loss local stabilityDivergence speedHelped
Use SAM rather than SGDOptimization near minima · Local stabilityStability of sharp minimaHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic binary inputs with y = x[0]x[1] CIFAR-10

Benchmarks: CIFAR-10

Metrics: coherence measure lambda_max(S) effective rank of features (90% PCA variance) weight norm divergence/convergence convergence speed

Baselines: SGD random perturbation SGD

Builds on: sharpness-aware minimization linear stability analysis of SGD simplicity bias

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy