通过统计回放探究SAM扰动机制
Probing SAM Perturbations Through Statistical Replay
研究提出统计回放诊断方法,用局部窗口的逐元素均值和标准差概括参考SAM轨迹的扰动,并在独立SGD训练中重建扰动。在CIFAR 10的ResNet 18实验中,纯回放无法复现SAM的验证行为,而混合回放与纯各向同性扰动在特定尺度下可接近其验证性能,却不复现其训练动态。等半径随机方向的表现与SGD相近,来源、时间与层干预表明回放行为依赖扰动构造方式。
arXiv:2611.19480v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org