Probing SAM Perturbations Through Statistical Replay
Abstract
Sharpness Aware Minimization (SAM) updates model parameters using gradients evaluated at adversarially perturbed weights, but it remains unclear which aspects of this procedure are sufficient to reproduce its generalization behavior. In our ResNet 18 experiments on CIFAR 10, simple curvature regularizers based on the Hessian trace and largest eigenvalue remain below SAM in validation accuracy, motivating a direct examination of its perturbations. We introduce statistical replay, a diagnostic that summarizes perturbations from reference SAM trajectories using elementwise means and standard deviations over local windows and constructs new perturbations during independent SGD training. Pure replay uses only these summaries, whereas mixed replay adds isotropic Gaussian noise. Pure replay does not reproduce SAM's validation behavior, while mixed replay and pure isotropic perturbations can approach its validation performance at selected scales without reproducing its training dynamics. An equal radius random direction within SAM performs similarly to SGD, and source, temporal, and layer interventions further suggest that replay behavior depends on perturbation construction. Together, these preliminary results weaken several simple explanations of SAM while leaving an important part of its mechanism unexplained.
Create a lesson
Metadata
- Comments
- Accepted at NeurIPS 2026 Workshop: AXIOM - Foundations of Efficient Deep Learning
Related papers
Start Where the Data Are: Statistical Priors for One-Step Generation on Manifolds
Shared title terminologycs.LGYuyao Wang, Haoliang Sun, Xiankai Lu et al.
Geo-SMILE: Statistical Model-Agnostic Interpretability with Local Explanations for Geospatial Machine Learning
Shared title terminologycs.LGShadieh Mohammadi, Koorosh Aslansefat
How Far Can Linear Go? BiPert, a Unified Framework for Single-Cell Perturbation Modelling
Shared title terminologycs.LGAbhishek Sharma, Aleksej Zelezniak
Pretty Linear Liars: Unregularized Probes Favor Intervention-Unfaithful Features
Shared title terminologycs.LGKarl Vilhelmsson Emneby, Julian Yocum, Cameron Allen
Reasoning in the loop: antibody lead optimization by probing mechanism and measurement
Shared title terminologycs.LGSamuel Stanton, Aaron Solomon, Emily Delaney et al.
Architectures and KV Replay for Depth-Recurrent Language Models
Shared title terminologycs.LGLucia Licakova, Niklas Schmidinger, Lukas Hauzenberger et al.