paper-with-me

Papers

How Does Sharpness-Aware Minimization Minimize Sharpness?

2022-11-10 · Kaiyue Wen, Tengyu Ma, Zhiyuan Li

Sharpness-Aware Minimization (SAM) is a highly effective regularization technique for improving the generalization of deep neural networks for various settings. However, the underlying working of SAM remains elusive because of various intriguing approximations in the theoretical characterizations. SAM intends to penalize a notion of sharpness of the model but implements a computationally efficient variant; moreover, a third notion of sharpness was used for proving generalization guarantees. The subtle differences in these notions of sharpness can indeed lead to significantly different empirical results. This paper rigorously nails down the exact sharpness notion that SAM regularizes and clarifies the underlying mechanism. We also show that the two steps of approximations in the original motivation of SAM individually lead to inaccurate local conclusions, but their combination accidentally reveals the correct effect, when full-batch gradients are applied. Furthermore, we also prove that the stochastic version of SAM in fact regularizes the third notion of sharpness mentioned above, which is most likely to be the preferred notion for practical performance. The key mechanism behind this intriguing phenomenon is the alignment between the gradient and the top eigenvector of Hessian when SAM is applied.

📄 PDF Abstract BibTeX arXiv:2211.05729

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sharpness-Aware Minimization in Genetic Programming

2024-05-16 · Illya Bakurov, Nathan Haut, Wolfgang Banzhaf

Sharpness-Aware Minimization (SAM) was recently introduced as a regularization procedure for training deep neural networks. It simultaneously minimizes the fitness (or loss) function and the so-called fitness sharpness. …

Diversity

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

Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learning

2022-06-08 · Momin Abbas, Quan Xiao, Lisha Chen, Pin-Yu Chen 외

Model-agnostic meta learning (MAML) is currently one of the dominating approaches for few-shot meta-learning. Albeit its effectiveness, the optimization of MAML can be challenging due to the innate bilevel problem struct…

Meta-Learningmodel

Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization

2023-07-20 · NeurIPS 2023 11

Despite extensive studies, the underlying reason as to why overparameterized neural networks can generalize remains elusive. Existing theory shows that common stochastic optimizers prefer flatter minimizers of the traini…

Sharpness-Aware Training for Free

2022-05-27 · Jiawei Du, Daquan Zhou, Jiashi Feng, Vincent Y. F. Tan 외

Modern deep neural networks (DNNs) have achieved state-of-the-art performances but are typically over-parameterized. The over-parameterization may result in undesirably large generalization error in the absence of other …