CR-SAM: Curvature Regularized Sharpness-Aware Minimization
Tao Wu, Tie Luo, Donald C. Wunsch II
摘要
The capacity to generalize to future unseen data stands as one of the utmost crucial attributes of deep neural networks. Sharpness-Aware Minimization (SAM) aims to enhance the generalizability by minimizing worst-case loss using onestep gradient ascent as an approximation. However, as training progresses, the non-linearity of the loss landscape increases, rendering one-step gradient ascent less effective. On the other hand, multi-step gradient ascent will incur higher training cost. In this paper, we introduce a normalized Hessian trace to accurately measure the curvature of loss landscape on both training and test sets. In particular, to counter excessive non-linearity of loss landscape, we propose Curvature Regularized SAM (CR-SAM), integrating the normalized Hessian trace as a SAM regularizer. Additionally, we present an efficient way to compute the trace via finite differences with parallelism. Our theoretical analysis based on PAC-Bayes bounds establishes the regularizer's efficacy in reducing generalization error. Empirical evaluation on CI-FAR and ImageNet datasets shows that CR-SAM consistently enhances classification performance for ResNet and Vision Transformer (ViT) models across various datasets. Our code is available at https://github.com/TrustAIoT/CR-SAM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Bilevel Optimization for Adversarial Learning Problems: Sharpness, Generation, and Beyond 引用了 Fantastic Generalization Measures and Where to Find Them
- Bilevel Optimization for Adversarial Learning Problems: Sharpness, Generation, and Beyond 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Modality-Balanced Collaborative Distillation for Multi-Modal Domain Generalization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation 引用了 Fantastic Generalization Measures and Where to Find Them
- Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Bayesian Deep Learning and a Probabilistic Perspective of Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
- Boosting Adversarial Transferability via Negative Hessian Trace Regularization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Boosting Adversarial Transferability via Negative Hessian Trace Regularization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Sharpness-aware Minimization for Efficiently Improving Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
引用它的顶会 Paper8
- Modality-Balanced Collaborative Distillation for Multi-Modal Domain GeneralizationXiaohan Wang, Zhangtao Cheng, Ting Zhong, Leiting Chen 等AAAI 2026 · 3 次引用
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用
- Bilevel Optimization for Adversarial Learning Problems: Sharpness, Generation, and BeyondRisheng Liu, Zhu Liu, Weihao Mao, Wei Yao 等NeurIPS 2025 · 2 次引用
- Revisiting Sharpness-Aware Minimization: A More Faithful and Effective ImplementationJianlong Chen, Zhiming ZhouICLR 2026 · 1 次引用
- Boosting Adversarial Transferability via Negative Hessian Trace RegularizationYunfei Long, Zilin Tian, Liguo Zhang, Huosheng XuICCV 2025 · 1 次引用
它引用的 Paper14
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 次引用
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
相关 Paper
- Random Sharpness-Aware MinimizationYong Liu, Siqi Mai, Minhao Cheng, Xiangning Chen 等NeurIPS 2022 · 38 次引用
- Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization TermYun Yue, Jiadi Jiang, Zhiling Ye, Ning Gao 等KDD 2023 · 7 次引用
- Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves GeneralizationXingxuan Zhang, Renzhe Xu, Han Yu, Hao Zou 等CVPR 2023
- How Sharpness-Aware Minimization Minimizes Sharpness?Kaiyue Wen, Tengyu Ma, Zhiyuan LiICLR 2023 · 3 次引用
- Sharpness-Aware Training for FreeJiawei Du, Daquan Zhou, Jiashi Feng, Vincent Y. F. Tan 等NeurIPS 2022 · 132 次引用
