Sharpness-Aware Minimization Leads to Low-Rank Features
Not on the map. Why?
Abstract (arXiv)
Sharpness-aware minimization (SAM) is a recently proposed method that minimizes the sharpness of the training loss of a neural network. While its generalization improvement is well-known and is the primary motivation, we uncover an additional intriguing effect of SAM: reduction of the feature rank which happens at different layers of a neural network. We show that this low-rank effect occurs very broadly: for different architectures such as fully-connected networks, convolutional networks, vision transformers and for different objectives such as regression, classification, language-image contrastive training. To better understand this phenomenon, we provide a mechanistic understanding of how low-rank features arise in a simple two-layer network. We observe that a significant number of activations gets entirely pruned by SAM which directly contributes to the rank reduction. We confirm this effect theoretically and check that it can also occur in deep networks, although the overall rank reduction mechanism can be more complex, especially for deep networks with pre-activation skip connections and self-attention layers. We make our code available at https://github.com/tml-epfl/sam-low-rank-features.
Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 25 May 2023.
Builds on
38 of 49 references.
References · 38
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2016Identity Mappings in Deep Residual Networkscited by 1,965
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
26 more
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2018On Lazy Training in Differentiable Programmingcited by 675
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2019Fantastic Generalization Measures and Where to Find Themcited by 513
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 427
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 184
- 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
- 2021The Low-Rank Simplicity Bias in Deep Networkscited by 154
- 2020Implicit Gradient Regularizationcited by 146
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 122
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2022SGD with Large Step Sizes Learns Sparse Featurescited by 68
- 2022Limitations of Neural Collapse for Understanding Generalization in Deep Learningcited by 63
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2022Implicit Regularization Towards Rank Minimization in ReLU Networkscited by 53
- 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
- 2019Bad Global Minima Exist and SGD Can Reach Themcited by 49
- 2022An Empirical Study of Implicit Regularization in Deep Offline RLcited by 24
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Modelscited by 20
Built on by
Citing papers per year: 2023: 9; 2024: 17; 2025: 5; 2026: 7.
38 papers.
Sort:
By area:
- 2023Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalizationcited by 39
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2024No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPOcited by 27
- 2024Why is SAM Robust to Label Noise?cited by 21
- 2023Sharpness-Aware Minimization and the Edge of Stabilitycited by 17
- 2024Neural Collapse versus Low-rank Bias: Is Deep Neural Collapse Really Optimal?cited by 17
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2024Deep Grokking: Would Deep Neural Networks Generalize Better?cited by 15
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 14
- 2024DeiT-LT Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasetscited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
26 more
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
- 2023A Theoretical Explanation of Activation Sparsity through Flat Minima and Adversarial Robustnesscited by 7
- 2024Learning Low-Rank Feature for Thorax Disease Classificationcited by 4
- 2024Simplicity Bias via Global Convergence of Sharpness Minimizationcited by 4
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimizationcited by 4
- 2023Gradient Descent with Polyak's Momentum Finds Flatter Minima via Large Catapultscited by 3
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimizationcited by 3
- 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
- 2024Towards Understanding the Role of Sharpness-Aware Minimization Algorithms for Out-of-Distribution Generalizationcited by 3
- 2023Membership Privacy Risks of Sharpness Aware Minimizationcited by 2
- 2024Towards Better Generalization: Weight Decay Induces Low-rank Bias for Neural Networkscited by 2
- 2025Attributing Data for Sharpness-Aware Minimizationcited by 2
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Biascited by 2
- 2026Overcoming Rank Collapse in Feedback Alignmentcited by 2
- 2023RankFeat&RankWeight: Rank-1 Feature/Weight Removal for Out-of-distribution Detectioncited by 1
- 2024ATP: Enabling Fast LLM Serving via Attention on Top Principal Keyscited by 1
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Ratecited by 1
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbationcited by 1
- 2026Adaptive Sharpness-Aware Minimization with a Polyak-type Step size: A Theory-Grounded Schedulercited by 1
- 2026Sharpness-Aware Minimization and Muon: Robustness under the Spectral Normcited by 1
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamicscited by 0
- 2024Loss Gradient Gaussian Width based Generalization and Optimization Guaranteescited by 0
- 2026Temporal Consistency Improves Generalization in Contextual Offline Meta Reinforcement Learningcited by 0
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementationcited by 0
- 2026Towards the Connection between Activation Sparsity and Flat Minimacited by 0
- 2026Certification of Machine Learning Models via Directional Sharpnesscited by 0
- 2026Sharpness-Aware Minimization and Muon: Robustness under the Spectral Norm28 Jul 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Overcoming Rank Collapse in Feedback Alignment9 Jun 2026
- 2026Adaptive Sharpness-Aware Minimization with a Polyak-type Step size: A Theory-Grounded Scheduler1 Jun 2026
- 2026Towards the Connection between Activation Sparsity and Flat Minima25 May 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Temporal Consistency Improves Generalization in Contextual Offline Meta Reinforcement Learning3 Mar 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Attributing Data for Sharpness-Aware Minimization5 Jul 2025
- 2025Sharpness-Aware Minimization: General Analysis and Improved Rates4 Mar 2025
26 more
- 2024Towards Understanding the Role of Sharpness-Aware Minimization Algorithms for Out-of-Distribution Generalization6 Dec 2024
- 2024Simplicity Bias via Global Convergence of Sharpness Minimization21 Oct 2024
- 2024Towards Better Generalization: Weight Decay Induces Low-rank Bias for Neural Networks3 Oct 2024
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Rate16 Sep 2024
- 2024Loss Gradient Gaussian Width based Generalization and Optimization Guarantees11 Jun 2024
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics10 Jun 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning30 May 2024
- 2024Deep Grokking: Would Deep Neural Networks Generalize Better?29 May 2024
- 2024Neural Collapse versus Low-rank Bias: Is Deep Neural Collapse Really Optimal?23 May 2024
- 2024Why is SAM Robust to Label Noise?6 May 2024
- 2024No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPO1 May 2024
- 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalization27 Apr 2024
- 2024DeiT-LT Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasets3 Apr 2024
- 2024ATP: Enabling Fast LLM Serving via Attention on Top Principal Keys1 Mar 2024
- 2024Learning Low-Rank Feature for Thorax Disease Classification14 Feb 2024
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overhead22 Jan 2024
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimization29 Nov 2023
- 2023Gradient Descent with Polyak's Momentum Finds Flatter Minima via Large Catapults25 Nov 2023
- 2023RankFeat&RankWeight: Rank-1 Feature/Weight Removal for Out-of-distribution Detection23 Nov 2023
- 2023Membership Privacy Risks of Sharpness Aware Minimization30 Sep 2023
- 2023Sharpness-Aware Minimization and the Edge of Stability21 Sep 2023
- 2023A Theoretical Explanation of Activation Sparsity through Flat Minima and Adversarial Robustness6 Sep 2023
- 2023Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization20 Jul 2023
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needs7 Jun 2023
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalent5 Jun 2023
- 2023Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalizationcited by 39
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2024Why is SAM Robust to Label Noise?cited by 21
- 2023Sharpness-Aware Minimization and the Edge of Stabilitycited by 17
- 2024Neural Collapse versus Low-rank Bias: Is Deep Neural Collapse Really Optimal?cited by 17
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2024Deep Grokking: Would Deep Neural Networks Generalize Better?cited by 15
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 14
- 2024DeiT-LT Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasetscited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
12 most cited of 35 All 35 (JSON)
- 2026Sharpness-Aware Minimization and Muon: Robustness under the Spectral Norm28 Jul 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Overcoming Rank Collapse in Feedback Alignment9 Jun 2026
- 2026Adaptive Sharpness-Aware Minimization with a Polyak-type Step size: A Theory-Grounded Scheduler1 Jun 2026
- 2026Towards the Connection between Activation Sparsity and Flat Minima25 May 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Attributing Data for Sharpness-Aware Minimization5 Jul 2025
- 2025Sharpness-Aware Minimization: General Analysis and Improved Rates4 Mar 2025
- 2024Towards Understanding the Role of Sharpness-Aware Minimization Algorithms for Out-of-Distribution Generalization6 Dec 2024
12 newest of 35 All 35 (JSON)