paper-with-me

Papers

mSAM: Micro-Batch-Averaged Sharpness-Aware Minimization

2023-02-19 · Kayhan Behdin, Qingquan Song, Aman Gupta, Sathiya Keerthi, Ayan Acharya, Borja Ocejo, Gregory Dexter, Rajiv Khanna, David Durfee, Rahul Mazumder

Modern deep learning models are over-parameterized, where different optima can result in widely varying generalization performance. The Sharpness-Aware Minimization (SAM) technique modifies the fundamental loss function that steers gradient descent methods toward flatter minima, which are believed to exhibit enhanced generalization prowess. Our study delves into a specific variant of SAM known as micro-batch SAM (mSAM). This variation involves aggregating updates derived from adversarial perturbations across multiple shards (micro-batches) of a mini-batch during training. We extend a recently developed and well-studied general framework for flatness analysis to theoretically show that SAM achieves flatter minima than SGD, and mSAM achieves even flatter minima than SAM. We provide a thorough empirical evaluation of various image classification and natural language processing tasks to substantiate this theoretical advancement. We also show that contrary to previous work, mSAM can be implemented in a flexible and parallelizable manner without significantly increasing computational costs. Our implementation of mSAM yields superior generalization performance across a wide range of tasks compared to SAM, further supporting our theoretical framework.

📄 PDF Abstract BibTeX arXiv:2302.09693

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

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…
Sharpness-Aware Minimization Sharpness-Aware Minimization, or SAM, is a procedure that improves model generalization by simultaneously minimizing loss value and loss sharpness. SAM functions by…

Similar Papers 제목 키워드 기반

Improved Deep Neural Network Generalization Using m-Sharpness-Aware Minimization

2022-12-07 · Kayhan Behdin, Qingquan Song, Aman Gupta, David Durfee 외

Modern deep learning models are over-parameterized, where the optimization setup strongly affects the generalization performance. A key element of reliable optimization for these systems is the modification of the loss f…

image-classificationImage Classification

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…

Mini-batch Noise Lowers Sharpness via Dominant-Subspace Fluctuations

2026-07-25 · Junho So, Dongwook Shin arxiv

During SGD training, the gradients often align strongly with the dominant subspace spanned by the top-$k$ eigenvectors of the Hessian of the loss. While this seems to naturally imply that loss reduction mainly occurs wit…

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

Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise

2025-09-22 · Haocheng Luo, Mehrtash Harandi, Dinh Phung, Trung Le arxiv

Sharpness-aware minimization (SAM) has emerged as a highly effective technique to improve model generalization, but its underlying principles are not fully understood. We investigate m-sharpness, where SAM performance im…