paper-with-me

Papers

Efficient Sharpness-aware Minimization for Improved Training of Neural Networks

2021-10-07 · ICLR 2022 4 · Jiawei Du, Hanshu Yan, Jiashi Feng, Joey Tianyi Zhou, Liangli Zhen, Rick Siow Mong Goh, Vincent Y. F. Tan

Overparametrized Deep Neural Networks (DNNs) often achieve astounding performances, but may potentially result in severe generalization error. Recently, the relation between the sharpness of the loss landscape and the generalization error has been established by Foret et al. (2020), in which the Sharpness Aware Minimizer (SAM) was proposed to mitigate the degradation of the generalization. Unfortunately, SAM s computational cost is roughly double that of base optimizers, such as Stochastic Gradient Descent (SGD). This paper thus proposes Efficient Sharpness Aware Minimizer (ESAM), which boosts SAM s efficiency at no cost to its generalization performance. ESAM includes two novel and efficient training strategies-StochasticWeight Perturbation and Sharpness-Sensitive Data Selection. In the former, the sharpness measure is approximated by perturbing a stochastically chosen set of weights in each iteration; in the latter, the SAM loss is optimized using only a judiciously selected subset of data that is sensitive to the sharpness. We provide theoretical explanations as to why these strategies perform well. We also show, via extensive experiments on the CIFAR and ImageNet datasets, that ESAM enhances the efficiency over SAM from requiring 100% extra computations to 40% vis-a-vis base optimizers, while test accuracies are preserved or even improved.

📄 PDF Abstract BibTeX arXiv:2110.03141

Code (1)

dydjw9/efficient_sam 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Test 설명 없음
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…

Similar Papers 제목 키워드 기반

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

SADT: Combining Sharpness-Aware Minimization with Self-Distillation for Improved Model Generalization

2022-11-01 · Masud An-Nur Islam Fahim, Jani Boutellier

Methods for improving deep neural network training times and model generalizability consist of various data augmentation, regularization, and optimization approaches, which tend to be sensitive to hyperparameter settings…

Data Augmentation

Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization Term

2023-05-25 · Yun Yue, Jiadi Jiang, Zhiling Ye, Ning Gao 외

Deep Neural Networks (DNNs) generalization is known to be closely related to the flatness of minima, leading to the development of Sharpness-Aware Minimization (SAM) for seeking flatter minima and better generalization. …

GA-SAM: Gradient-Strength based Adaptive Sharpness-Aware Minimization for Improved Generalization

2022-10-13 · Zhiyuan Zhang, Ruixuan Luo, Qi Su, Xu sun

Recently, Sharpness-Aware Minimization (SAM) algorithm has shown state-of-the-art generalization abilities in vision tasks. It demonstrates that flat minima tend to imply better generalization abilities. However, it has …

Friendly Sharpness-Aware Minimization

2024-03-19 · CVPR 2024 1 · Tao Li, Pan Zhou, Zhengbao He, Xinwen Cheng 외

Sharpness-Aware Minimization (SAM) has been instrumental in improving deep neural network training by minimizing both training loss and loss sharpness. Despite the practical success, the mechanisms behind SAM's generaliz…