Efficient Sharpness-aware Minimization for Improved Training of Neural Networks
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-Stochastic Weight 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 computational overhead to 40% vis-à-vis base optimizers, while test accuracies are preserved or even improved. Our codes are avaliable at https://github.com/dydjw9/Efficient_SAM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 87 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations 引用了 Adversarial Weight Perturbation Helps Robust Generalization
- When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Generalized Federated Learning via Sharpness Aware Minimization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Sharpness-Aware Training for Free 引用了 When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
- Sharpness-Aware Training for Free 引用了 Adversarial Weight Perturbation Helps Robust Generalization
- Sharpness-Aware Training for Free 引用了 Fantastic Generalization Measures and Where to Find Them
- Sharpness-Aware Training for Free 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach 引用了 When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
- Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach 引用了 Adversarial Weight Perturbation Helps Robust Generalization
- Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Revisiting Weighted Aggregation in Federated Learning with Neural Networks 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learning 引用了 When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
- Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learning 引用了 Fantastic Generalization Measures and Where to Find Them
- Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learning 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Sharpness-aware Minimization for Efficiently Improving Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
引用它的顶会 Paper87
- Generalized Federated Learning via Sharpness Aware MinimizationZhe Qu, Xingyu Li, Rui Duan, Yao Liu 等ICML 2022 · 219 次引用
- Sharpness-Aware Training for FreeJiawei Du, Daquan Zhou, Jiashi Feng, Vincent Y. F. Tan 等NeurIPS 2022 · 132 次引用
- Revisiting Weighted Aggregation in Federated Learning with Neural NetworksZexi Li, Tao Lin, Xinyi Shang, Chao WuICML 2023 · 119 次引用
- Sharp-MAML: Sharpness-Aware Model-Agnostic Meta LearningMomin Abbas, Quan Xiao, Lisha Chen, Pin-Yu Chen 等ICML 2022 · 105 次引用
- Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation ApproachPeng Mi, Li Shen, Tianhe Ren, Yiyi Zhou 等NeurIPS 2022 · 102 次引用
它引用的 Paper15
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen 等ICML 2021 · 5,401 次引用
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 次引用
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
- When Vision Transformers Outperform ResNets without Pre-training or Strong Data AugmentationsXiangning Chen, Cho-Jui Hsieh, Boqing GongICLR 2022 · 388 次引用
相关 Paper
- Momentum-SAM: Sharpness Aware Minimization without Computational OverheadMarlon Becker, Frederick Altrock, Benjamin RisseNeurIPS 2025 · 16 次引用
- Sharpness-Aware Minimization with Dynamic ReweightingWenxuan Zhou, Fangyu Liu, Huan Zhang, Muhao ChenEMNLP Findings 2022 · 2 次引用
- Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware MinimizationJiaxin Deng, Junbiao Pang, Baochang Zhang, Guodong GuoAAAI 2025 · 5 次引用
- How Sharpness-Aware Minimization Minimizes Sharpness?Kaiyue Wen, Tengyu Ma, Zhiyuan LiICLR 2023 · 3 次引用
- Friendly Sharpness-Aware MinimizationTao Li, Pan Zhou, Zhengbao He, Xinwen Cheng 等CVPR 2024
