μP2: Effective Sharpness Aware Minimization Requires Layerwise Perturbation Scaling
Not on the map. Why?
Abstract (arXiv)
Sharpness Aware Minimization (SAM) enhances performance across various neural architectures and datasets. As models are continually scaled up to improve performance, a rigorous understanding of SAM's scaling behaviour is paramount. To this end, we study the infinite-width limit of neural networks trained with SAM, using the Tensor Programs framework. Our findings reveal that the dynamics of standard SAM effectively reduce to applying SAM solely in the last layer in wide neural networks, even with optimal hyperparameters. In contrast, we identify a stable parameterization with layerwise perturbation scaling, which we call textitMaximal Update and Perturbation Parameterization (μP2), that ensures all layers are both feature learning and effectively perturbed in the limit. Through experiments with MLPs, ResNets and Vision Transformers, we empirically demonstrate that μP2 achieves hyperparameter transfer of the joint optimum of learning rate and perturbation radius across model scales. Moreover, we provide an intuitive condition to derive μP2 for other perturbation rules like Adaptive SAM and SAM-ON, also ensuring balanced perturbation effects across all layers.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Oct 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025Practical Efficiency of Muon for Pretrainingcited by 80
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 78
- 2025Robust Layerwise Scaling Rules by Proper Weight Decay Tuningcited by 8
- 2025Scaling Diffusion Transformers Efficiently via μPcited by 6
- 2025Function-Space Learning Ratescited by 4
- 2025Do Flat Minima Improve Sparse Novel View Synthesis?cited by 1
- 2026Towards a Principled Muon under μmathsfP: Ensuring Spectral Conditions throughout Trainingcited by 0
- 2026Unlocking Feature Learning in Gated Delta Networks at Scalecited by 0
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimizationcited by 0
- 2026Learning Rate Transfer for Hybrid Transformer-SSM Architecturescited by 0
- 2026Learning Rate Transfer for Hybrid Transformer-SSM Architectures1 Oct 2026
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization17 Jul 2026
- 2026Unlocking Feature Learning in Gated Delta Networks at Scale2 Jun 2026
- 2026Towards a Principled Muon under μmathsfP: Ensuring Spectral Conditions throughout Training4 Jan 2026
- 2025Do Flat Minima Improve Sparse Novel View Synthesis?22 Nov 2025
- 2025Robust Layerwise Scaling Rules by Proper Weight Decay Tuning17 Oct 2025
- 2025Scaling Diffusion Transformers Efficiently via μP21 May 2025
- 2025Practical Efficiency of Muon for Pretraining4 May 2025
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformers2 May 2025
- 2025Function-Space Learning Rates24 Feb 2025