paper-with-me

Papers

Momentum-SAM: Sharpness Aware Minimization without Computational Overhead

2024-01-22 · Marlon Becker, Frederick Altrock, Benjamin Risse

The recently proposed optimization algorithm for deep neural networks Sharpness Aware Minimization (SAM) suggests perturbing parameters before gradient calculation by a gradient ascent step to guide the optimization into parameter space regions of flat loss. While significant generalization improvements and thus reduction of overfitting could be demonstrated, the computational costs are doubled due to the additionally needed gradient calculation, making SAM unfeasible in case of limited computationally capacities. Motivated by Nesterov Accelerated Gradient (NAG) we propose Momentum-SAM (MSAM), which perturbs parameters in the direction of the accumulated momentum vector to achieve low sharpness without significant computational overhead or memory demands over SGD or Adam. We evaluate MSAM in detail and reveal insights on separable mechanisms of NAG, SAM and MSAM regarding training optimization and generalization. Code is available at https://github.com/MarlonBecker/MSAM.

📄 PDF Abstract BibTeX arXiv:2401.12033

Code (1)

marlonbecker/msam 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SAM 설명 없음
Nesterov Accelerated Gradient Nesterov Accelerated Gradient is a momentum-based SGD optimizer that "looks ahead" to where the parameters will be to calculate the…
AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…
Adam 설명 없음
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networks

2023-03-01 · Hao Sun, Li Shen, Qihuang Zhong, Liang Ding 외

Sharpness aware minimization (SAM) optimizer has been extensively explored as it can generalize better for training deep neural networks via introducing extra perturbation steps to flatten the landscape of deep learning …

A Fast and Flat Federated Learning Method via Weighted Momentum and Sharpness-Aware Minimization

2025-11-27 · Tianle Li, Yongzhi Huang, Linshan Jiang, Chang Liu 외 arxiv

In federated learning (FL), models must \emph{converge quickly} under tight communication budgets while \emph{generalizing} across non-IID client distributions. These twin requirements have naturally led to two widely us…

Federated Learning

DGSAM: Domain Generalization via Individual Sharpness-Aware Minimization

2025-03-30 · Youngjun Song, Youngsik Hwang, Jonghun Lee, Heechang Lee 외

Domain generalization (DG) aims to learn models that can generalize well to unseen domains by training only on a set of source domains. Sharpness-Aware Minimization (SAM) has been a popular approach for this, aiming to f…

Computational EfficiencyDomain Generalization

GCSAM: Gradient Centralized Sharpness Aware Minimization

2025-01-20 · Mohamed Hassan, Aleksandar Vakanski, Boyu Zhang, Min Xian

The generalization performance of deep neural networks (DNNs) is a critical factor in achieving robust model behavior on unseen data. Recent studies have highlighted the importance of sharpness-based measures in promotin…

Computational Efficiency

Sharpness-Aware Minimization Alone can Improve Adversarial Robustness

2023-05-09 · Zeming Wei, Jingyu Zhu, Yihao Zhang

Sharpness-Aware Minimization (SAM) is an effective method for improving generalization ability by regularizing loss sharpness. In this paper, we explore SAM in the context of adversarial robustness. We find that using on…

Adversarial RobustnessMathematical Proofs