Skip to content
Conference Open access

EMASAM: a Computationally Efficient Sharpness-Aware Minimization via EMA-Guided Perturbations

Aug 2026 · International Conference on Pattern Recognition · pp. 175-190 · 0 citations · 41 references
Computer Science

TL;DR

EMASAM eliminates the need for an extra backpropagation while also preserving the generalization ability of the SAM-style training, eliminating the need for an extra backpropagation while also preserving the generalization ability of the SAM-style training.

Abstract

Recent progress in optimization research has highlighted the sharpness of the loss landscape as a key factor in narrowing the generalization gap. Motivated by this insight, Sharpness-Aware Minimization (SAM) was proposed as a training strategy that enhances generalization. Despite the promising performance, SAM suffers from its twice computational cost due to its core algorithm requiring an extra gradient computation during the perturbation step. To overcome this limitation, we introduce Exponential Moving Average Sharpness-Aware Minimization (EMASAM), a computationally efficient variant of SAM. EMASAM does not require the loss gradient in the perturbation step. Instead, EMASAM defines the perturbation direction based on the discrepancy between the main model and the EMA shadow model. This perturbation travels away from the stable average position toward the less stable area, acting as a softer yet cheaper alternative to SAM's worst-case scenario perturbation. Moreover, since EMASAM's perturbation does not rely on noisy mini-batch gradients, it mitigates the gradient-induced instability inherent in SAM. Hence, EMASAM eliminates the need for an extra backpropagation while also preserving the generalization ability of the SAM-style training. Several experiments have been performed and confirm the efficiency and robustness of our method.

Read PDF

Similar papers

Preprint Oct 2026

Curvature-Scaled Sharpness-Aware Minimization: Convergence Beyond Smoothness

This work uses relative gradient distortion to quantify how the sharpness-aware direction departs from the original gradient and proposes Curvature-Scaled SAM (CS-SAM), which scales both the perturbation and the descent step by suitable curvature upper bounds, and proves that it uniformly bounds the distortion.

Dimitris Oikonomou, Nicolas Loizou · 0 citations
Conference Open access Jun 2026

Sparsity-Adaptive Sharpness-Aware Minimization

Sparsity-Adaptive Sharpness-Aware Minimization (SA-SAM), which derives a sparsity-dependent SAM/ASAM perturbation radius by keeping the mean absolute perturbation approximately invariant as sparsity increases, is introduced.

Shiryu Ueno, Yoshikazu Hayashi, Kunihito Kato · 0 citations
Sep 2026

Slaw: sharpness- and loss-adaptive weighting for robust deep learning

Results show the applicability and efficiency of SLAW in building reliable deep learning systems that are appropriate for real-world use, where data is often imperfect, noisy, or of a low quality.

Zaryab Rahman, Fakhrud Din, Shah Khalid · 0 citations
#machine learning Preprint Sep 2026

Explaining f-Divergence-Based Regularization via Local Curvature and Sharpness-Aware Minimization

Divergence-based regularization and Sharpness-Aware Minimization (SAM) are two prominent approaches for improving generalization in deep learning, both motivated by robustness to perturbations. However, their relationship has remained largely unexplored. Building on classical second-order expansions of $f$-divergences,...

Nour Jamoussi, Marios Kountouris · 1 citation
#machine learning Preprint Oct 2026

Contrastive Linearized Laplace: Loss Geometry, Valid Repairs, and Reliable Cores

While contrastive learning is widely used to learn deterministic representations, it does not inherently provide estimates of uncertainty. Post-hoc uncertainty estimation methods, such as the Linearized Laplace approximation (LLA), offer a way to quantify uncertainty without retraining the encoder. However, we show tha...

F. J. Sáez-Maldonado, Luis A. Ortega, Andrés R. Masegosa et al. · 0 citations
#machine learning Preprint Sep 2026

High-Probability Convergence of SGD via Batched Updates

This work proposes Batched SGD, a simple variant that partitions online samples into epochs and performs a single update per epoch using a refined, low-variance gradient estimate, and provides the first high-probability guarantees for FL.

Feng Zhu, Robert W. Heath, Aritra Mitra · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.