Reproduce “An Adaptive Policy to Employ Sharpness-Aware Minimization” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Weisen Jiang, Hansi Yang, Yu Zhang, James Kwok

Researchers from Southern University of Science and Technology and Hong Kong University of Science and Technology developed an adaptive policy to dynamically select between Sharpness-aware Minimization (SAM) and Empirical Risk Minimization (ERM) updates based on the loss landscape's geometry. This approach reduces SAM's computational cost by approximately 50-80% while achieving comparable or superior generalization performance and robustness to label noise across CIFAR and ImageNet datasets.

Key insights

  • The local sharpness of the loss landscape, proxied by the expected squared norm of the stochastic gradient, provides an efficient and effective signal for adaptively applying SAM updates.
  • Dynamically adjusting SAM update frequency based on landscape geometry can significantly reduce computational cost while maintaining or improving generalization compared to fixed or random schedules.
  • A carefully managed reduction in SAM updates, guided by an adaptive policy, can lead to better generalization and robustness to label noise, especially in later training stages.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.