Lune

ICLR2025顶会

Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In Training

Zhanpeng Zhou, Mingze Wang, Yuchen Mao, Bingrui Li, Junchi Yan

摘要

Sharpness-Aware Minimization (SAM) has substantially improved the generalization of neural networks under various settings. Despite the success, its effectiveness remains poorly understood. In this work, we discover an intriguing phenomenon in the training dynamics of SAM, shedding light on understanding its implicit bias towards flatter minima over Stochastic Gradient Descent (SGD). Specifically, we find that SAM efficiently selects flatter minima late in training 1 . Remarkably, even a few epochs of SAM applied at the end of training yield nearly the same generalization and solution sharpness as full SAM training. Subsequently, we delve deeper into the underlying mechanism behind this phenomenon. Theoretically, we identify two phases in the learning dynamics after applying SAM late in training: i) SAM first escapes the minimum found by SGD exponentially fast; and ii) then rapidly converges to a flatter minimum within the same valley. Furthermore, we empirically investigate the role of SAM during the early training phase. We conjecture that the optimization method chosen in the late phase is more crucial in shaping the final solution's properties. Based on this viewpoint, we extend our findings from SAM to Adversarial Training. We released our source code at https://github.com/zzp1012/SAM-in-Late-Phase .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting 引用了 Fantastic Generalization Measures and Where to Find Them
  • Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • 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
  • Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization 引用了 When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations
  • Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passes 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passes 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias 引用了 Fantastic Generalization Measures and Where to Find Them
  • A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-aware Minimization for Efficiently Improving Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

  1. Sharpness-Aware Pretraining Mitigates Catastrophic ForgettingIshaan Watts, Catherine Li, Sachin Goyal, Jacob Mitchell Springer 等ICML 2026 · 6 次引用
  2. SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only PassesYifan Yang, Zhen Zhang, Rupak Vignesh Swaminathan, Jing Liu 等NeurIPS 2025 · 4 次引用
  3. Towards Understanding The Calibration Benefits of Sharpness-Aware MinimizationChengli Tan, Yubo Zhou, Haishan Ye, Guang Dai 等ICLR 2026 · 3 次引用
  4. A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity BiasWei-Kai Chang, Rajiv KhannaNeurIPS 2025 · 3 次引用
  5. Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用

它引用的 Paper41

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
  3. Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 次引用
  4. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
  5. When Vision Transformers Outperform ResNets without Pre-training or Strong Data AugmentationsXiangning Chen, Cho-Jui Hsieh, Boqing GongICLR 2022 · 388 次引用

相关 Paper

  1. Improving Sharpness-Aware Minimization by LookaheadRunsheng Yu, Youzhi Zhang, James T. KwokICML 2024 · 1 次引用
  2. Sharpness-Aware Minimization Can Hallucinate MinimizersChanwoong Park, Uijeong Jang, Ernest Ryu, Insoon YangICML 2026
  3. Sharpness-Aware Minimization Enhances Feature Quality via Balanced LearningJacob Mitchell Springer, Vaishnavh Nagarajan, Aditi RaghunathanICLR 2024 · 13 次引用
  4. How Sharpness-Aware Minimization Minimizes Sharpness?Kaiyue Wen, Tengyu Ma, Zhiyuan LiICLR 2023 · 3 次引用
  5. Stability Analysis of Sharpness-Aware MinimizationHoki Kim, Jinseong Park, Yujin Choi, Jaewook LeeICML 2026 · 18 次引用
黄昏的海面,两侧是细线勾勒的悬崖