The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Training
Not on the map. Why?
Abstract (arXiv)
Transformers consist of diverse building blocks, such as embedding layers, normalization layers, self-attention mechanisms, and point-wise feedforward networks. Thus, understanding the differences and interactions among these blocks is important. In this paper, we uncover a clear Sharpness Disparity across these blocks, which emerges early in training and intriguingly persists throughout the training process. Motivated by this finding, we propose Blockwise Learning Rate (LR), a strategy that tailors the LR to each block's sharpness, accelerating large language model (LLM) pre-training. By integrating Blockwise LR into AdamW, we consistently achieve lower terminal loss and nearly 2× speedup compared to vanilla AdamW. We demonstrate this acceleration across GPT-2 and LLaMA, with model sizes ranging from 0.12B to 2B and datasets of OpenWebText, MiniPile, and C4. Finally, we incorporate Blockwise LR into Adam-mini (Zhang et al., 2024), a recently proposed memory-efficient variant of Adam, achieving a combined 2× speedup and 2× memory saving. These results underscore the potential of exploiting the sharpness disparity to improve LLM training.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 47 of its 63 references that are in the map. First posted on arXiv 26 Feb 2025.
Builds on
47 of 63 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016Layer Normalizationcited by 5,579
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
35 more
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 179
- 2022Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Modelscited by 172
- 2020The Break-Even Point on Optimization Trajectories of Deep Neural Networkscited by 149
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 143
- 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2018Training Tips for the Transformer Modelcited by 85
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 78
- 2024Understanding Warmup-Stable-Decay Learning Rates: A River Valley Loss Landscape Perspectivecited by 75
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 74
- 2024Scaling Exponents Across Parameterizations and Optimizerscited by 71
- 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
- 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 59
- 2024Understanding Optimization in Deep Learning with Central Flowscited by 57
- 2023Saddle-to-Saddle Dynamics in Diagonal Linear Networkscited by 54
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 40
- 2024Does SGD really happen in tiny subspaces?cited by 35
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modelingcited by 25
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularizationcited by 14
- 2024What Does It Mean to Be a Transformer? Insights from a Theoretical Hessian Analysiscited by 9
Built on by
Citing papers per year: 2025: 7; 2026: 20.
27 papers.
Sort:
By area:
- 2025Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Durationcited by 22
- 2025Towards Quantifying the Hessian Structure of Neural Networkscited by 13
- 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 11
- 2026Learning Rate Matters: Vanilla LoRA May Suffice for LLM Fine-tuningcited by 9
- 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancementcited by 8
- 2025GradPower: Powering Gradients for Faster Language Model Pre-Trainingcited by 6
- 2026Weight Decay Improves Language Model Plasticitycited by 4
- 2026Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Lawscited by 4
- 2026Why Muon Outperforms Adam: A Curvature Perspectivecited by 4
- 2025Noise-Adaptive Layerwise Learning Rates: Accelerating Geometry-Aware Optimization for Deep Neural Network Trainingcited by 3
- 2025BSFA: Leveraging the Subspace Dichotomy to Accelerate Neural Network Trainingcited by 3
15 more
- 2025Controlling changes to attention logitscited by 3
- 2026AMUSE: Anytime Muon with Stable Gradient Evaluationcited by 3
- 2026Negligible in Size, Significant in Effect: On Scale Vectors in Large Language Modelscited by 3
- 2026SwiftVLM: Efficient Vision-Language Model Inference via Cross-Layer Token Bypasscited by 2
- 2026One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMscited by 2
- 2026Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Trainingcited by 2
- 2026On the Nonlinearity of Learning Rate Scaling for LLM Trainingcited by 2
- 2026Effective Learning Rate Governs Loss Dynamics in Language Model Pretrainingcited by 2
- 2025FOAM: Blocked State Folding for Memory-Efficient LLM Trainingcited by 1
- 2026Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise Ratiocited by 0
- 2026Rethinking Bregman Divergences in Kronecker-Factored Optimizerscited by 0
- 2026Curvature-Conditioned Multiscale Momentum with Sphere Constraints for LLM Pretrainingcited by 0
- 2026SOLAR: A State-Driven Online Learning Rate Scheduler for LLM Pretrainingcited by 0
- 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Trainingcited by 0
- 2026How Does Local Landscape Geometry Evolve in Language Model Pre-Training?cited by 0
- 2026How Does Local Landscape Geometry Evolve in Language Model Pre-Training?30 Sep 2026
- 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Training29 Sep 2026
- 2026SOLAR: A State-Driven Online Learning Rate Scheduler for LLM Pretraining28 Sep 2026
- 2026Curvature-Conditioned Multiscale Momentum with Sphere Constraints for LLM Pretraining28 Aug 2026
- 2026Effective Learning Rate Governs Loss Dynamics in Language Model Pretraining25 Aug 2026
- 2026On the Nonlinearity of Learning Rate Scaling for LLM Training28 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Rethinking Bregman Divergences in Kronecker-Factored Optimizers30 May 2026
- 2026Negligible in Size, Significant in Effect: On Scale Vectors in Large Language Models26 May 2026
- 2026Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training26 May 2026
- 2026AMUSE: Anytime Muon with Stable Gradient Evaluation21 May 2026
- 2026One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs21 May 2026
15 more
- 2026Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise Ratio7 May 2026
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correction10 Mar 2026
- 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancement26 Feb 2026
- 2026Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws15 Feb 2026
- 2026Weight Decay Improves Language Model Plasticity11 Feb 2026
- 2026Learning Rate Matters: Vanilla LoRA May Suffice for LLM Fine-tuning4 Feb 2026
- 2026SwiftVLM: Efficient Vision-Language Model Inference via Cross-Layer Token Bypass3 Feb 2026
- 2026Mano: Restriking Manifold Optimization for LLM Training30 Jan 2026
- 2025Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Duration26 Dec 2025
- 2025FOAM: Blocked State Folding for Memory-Efficient LLM Training8 Dec 2025
- 2025Controlling changes to attention logits26 Nov 2025
- 2025BSFA: Leveraging the Subspace Dichotomy to Accelerate Neural Network Training29 Oct 2025
- 2025Noise-Adaptive Layerwise Learning Rates: Accelerating Geometry-Aware Optimization for Deep Neural Network Training15 Oct 2025
- 2025GradPower: Powering Gradients for Faster Language Model Pre-Training30 May 2025
- 2025Towards Quantifying the Hessian Structure of Neural Networks5 May 2025
- 2025Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Durationcited by 22
- 2025Towards Quantifying the Hessian Structure of Neural Networkscited by 13
- 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 11
- 2026Learning Rate Matters: Vanilla LoRA May Suffice for LLM Fine-tuningcited by 9
- 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancementcited by 8
- 2025GradPower: Powering Gradients for Faster Language Model Pre-Trainingcited by 6
- 2026Weight Decay Improves Language Model Plasticitycited by 4
- 2026Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Lawscited by 4
- 2026Why Muon Outperforms Adam: A Curvature Perspectivecited by 4
- 2025Noise-Adaptive Layerwise Learning Rates: Accelerating Geometry-Aware Optimization for Deep Neural Network Trainingcited by 3
- 2025BSFA: Leveraging the Subspace Dichotomy to Accelerate Neural Network Trainingcited by 3
12 most cited of 26 All 26 (JSON)
- 2026How Does Local Landscape Geometry Evolve in Language Model Pre-Training?30 Sep 2026
- 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Training29 Sep 2026
- 2026SOLAR: A State-Driven Online Learning Rate Scheduler for LLM Pretraining28 Sep 2026
- 2026Curvature-Conditioned Multiscale Momentum with Sphere Constraints for LLM Pretraining28 Aug 2026
- 2026Effective Learning Rate Governs Loss Dynamics in Language Model Pretraining25 Aug 2026
- 2026On the Nonlinearity of Learning Rate Scaling for LLM Training28 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Rethinking Bregman Divergences in Kronecker-Factored Optimizers30 May 2026
- 2026Negligible in Size, Significant in Effect: On Scale Vectors in Large Language Models26 May 2026
- 2026Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training26 May 2026
- 2026AMUSE: Anytime Muon with Stable Gradient Evaluation21 May 2026
- 2026One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs21 May 2026
12 newest of 26 All 26 (JSON)