1st-Order Magic: Analysis of Sharpness-Aware Minimization

Nalin Tiwary, Siddarth Aananth
11/3/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Sharpness-Aware Minimization (SAM) is an optimization technique designed to improve generalization by favoring flatter loss minima. To achieve this, SAM optimizes a modified objective that penalizes sharpness, using computationally efficient approximations. Interestingly, we find that more precise approximations of the proposed SAM objective degrade generalization performance, suggesting that the generalization benefits of SAM are rooted in these approximations rather than in the original intended mechanism. This highlights a gap in our understanding of SAM's effectiveness and calls for further investigation into the role of approximations in optimization.

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{tiwary2024storder,
  title  = {1st-Order Magic: Analysis of Sharpness-Aware Minimization},
  author = {Nalin Tiwary and Siddarth Aananth},
  year   = {2024},
  eprint = {2411.01714},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.01714v1}
}

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/2411.01714.svg)](https://codeofpaper.com/paper/2411.01714)

Discussion