Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization

Zhen Huang, Jiaxin Deng, Junbiao Pang
7/17/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Sharpness-Aware Minimization (SAM) improves generalization by minimizing the worst-case loss in a local parameter neighborhood. Standard SAM implicitly allocates its global perturbation budget across parameter blocks according to instantaneous minibatch gradient norms.

Show full abstract

Such an allocation can be noisy and may not reflect the sensitivity that blocks accumulate throughout training. We propose Gradient-Energy Adaptive Radius SAM (GEAR-SAM), which maintains an exponential moving average (EMA) of squared block gradients as a lightweight, curvature-related sensitivity signal and allocates the fixed SAM budget through a closed-form constrained optimization. GEAR-SAM preserves the global SAM radius, requires no Hessian-vector products or explicit Fisher estimation, and adds only scalar state beyond SAM. Experiments on image classification, transfer learning, noisy-label learning, and partition studies demonstrate improved generalization and robustness across architectures and tasks. More broadly, GEAR-SAM provides a dynamic view of sharpness-aware optimization: a fixed perturbation budget should be redistributed as the sensitivity of functional network blocks evolves during training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026gradientenergy,
  title  = {Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization},
  author = {Zhen Huang and Jiaxin Deng and Junbiao Pang},
  year   = {2026},
  eprint = {2607.18306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.18306v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.18306.svg)](https://codeofpaper.com/paper/2607.18306)

Discussion