Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning

Yao Fu, Chunxia Zhang, Junmin Liu, Yihang Jin, Haishan Ye +1 more
7/7/2026
cs.LGmath.PR

No official code found. Best implementation: YihangG-YaoF/EISAM (0 stars, last commit 2026-03-20).

Abstract

Generalization remains a pivotal challenge in deep learning, where traditional optimizers like Stochastic Gradient Descent (SGD) often converge to sharp minima, leading to overfitting and reduced performance on unseen data. Building on Sharpness-Aware Minimization (SAM), for seeking flat minima associated with improved generalization, we propose the Extragradient-Inspired Sharpness-Aware Minimization (EISAM), a novel optimizer that enhances generalization via the extragradient technique. EISAM uses a two-step update process: a prediction step investigating the geometry of the loss landscape and a perturbation step that refines updates with a base optimizer. This approach achieves better generalization performance than SAM. Crucially, EISAM reduces sensitivity to the perturbation radius, enhancing robustness, and simplifying the tuning across diverse settings. Extensive experiments on benchmark datasets demonstrate that EISAM consistently outperforms SGD, Adaptive Moment Estimation (Adam), and SAM in test accuracy and training efficiency across various architectures. Theoretical analysis further confirms that EISAM tightens the generalization bound by steering parameters toward flatter minima with reduced curvature. Accompanied by a thorough hyperparameter analysis, EISAM offers practical tuning guidance, establishing it as a robust, scalable, and broadly applicable optimization solution that advances both the theory and practice in deep learning.

View on arXivView PDF

Code Implementations(1)

YihangG-YaoF/EISAMCommunity69%

Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning

00Mar 20, 20267 months ago

Similar Papers

Cite this paper

@article{fu2026leveraging,
  title  = {Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning},
  author = {Yao Fu and Chunxia Zhang and Junmin Liu and Yihang Jin and Haishan Ye and Yuanao Yang},
  year   = {2026},
  eprint = {2607.06151},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.06151v1}
}

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

Discussion