Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models
Not on the map. Why?
Abstract (arXiv)
Adam has been shown to outperform gradient descent on large language models by a larger margin than on other tasks, but it is unclear why. We show that a key factor in this performance gap is the heavy-tailed class imbalance found in language tasks. When trained with gradient descent, the loss of infrequent words decreases more slowly than the loss of frequent ones. This leads to a slow decrease on the average loss as most samples come from infrequent words. On the other hand, Adam and sign-based methods are less sensitive to this problem. To establish that this behavior is caused by class imbalance, we show empirically that it can be reproduced across architectures and data types, on language transformers, vision CNNs, and linear models. On a linear model with cross-entropy loss, we show that class imbalance leads to imbalanced, correlated gradients and Hessians that have been hypothesized to benefit Adam. We also prove that, in continuous time, gradient descent converges slowly on low-frequency classes while sign descent does not.
Key facts. Cited by 80 papers in the map (data through 14 Oct 2026). Builds on 50 of its 79 references that are in the map. First posted on arXiv 29 Feb 2024.
Builds on
50 of 79 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
38 more
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2018What is the Effect of Importance Weighting in Deep Learning?cited by 251
- 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 217
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 152
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 139
- 2023The Quantization Model of Neural Scalingcited by 138
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
- 2020Descending through a Crowded Valley - Benchmarking Deep Learning Optimizerscited by 119
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
- 2018Convergence of Gradient Descent on Separable Datacited by 110
- 2022Better plain ViT baselines for ImageNet-1kcited by 98
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 98
- 2022Robustness to Unbounded Smoothness of Generalized SignSGDcited by 81
- 2022Imbalance Trouble: Revisiting Neural-Collapse Geometrycited by 80
- 2023Tokenization and the Noiseless Channelcited by 59
- 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 53
- 2023Deep Transformers without Shortcuts: Modifying Self-attention for Faithful Signal Propagationcited by 45
- 2023Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stabilitycited by 42
- 2020The Geometry of Sign Gradient Descentcited by 41
- 2021Procrustean Training for Imbalanced Deep Learningcited by 24
- 2022How Does Adaptive Optimization Impact Local Neural Network Geometry?cited by 24
- 2021The Three Stages of Learning Dynamics in High-Dimensional Kernel Methodscited by 22
- 2022A Theoretical Analysis of the Learning Dynamics under Class Imbalancecited by 20
- 2024Learning Associative Memories with Gradient Descentcited by 16
- 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
- 2014Zipf's law holds for phrases, not wordscited by 12
- 2021Frequency-aware SGD for Efficient Embedding Learning with Provable Benefitscited by 6
- 2017AdaBatch: Efficient Gradient Aggregation Rules for Sequential and Parallel Stochastic Gradient Methodscited by 5
Built on by
Citing papers per year: 2024: 14; 2025: 34; 2026: 32.
80 papers.
Sort:
By area:
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learningcited by 46
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 41
- 2025In Search of Adam's Secret Saucecited by 40
- 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?cited by 37
- 2024Does SGD really happen in tiny subspaces?cited by 36
- 2025Accelerating Neural Network Training: An Analysis of the AlgoPerf Competitioncited by 32
- 2025The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Trainingcited by 30
- 2025Scaling Laws for Gradient Descent and Sign Descent for Linear Bigram Models under Zipf's Lawcited by 24
- 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 23
- 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivitycited by 23
38 more
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
- 2025How Muon's Spectral Design Benefits Generalization: A Study on Imbalanced Datacited by 19
- 2024Revisiting Gradient Normalization and Clipping for Nonconvex SGD under Heavy-Tailed Noise: Necessity, Sufficiency, and Accelerationcited by 18
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 15
- 2024What Makes CLIP More Robust to Long-Tailed Pre-Training Data? A Controlled Study for Transferable Insightscited by 13
- 2025Towards Quantifying the Hessian Structure of Neural Networkscited by 13
- 2025The Rich and the Simple: On the Implicit Bias of Adam and SGDcited by 13
- 2025Memory-Efficient LLM Pretraining via Minimalist Optimizer Designcited by 13
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Modelcited by 13
- 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
- 2024Understanding Adam Requires Better Rotation Dependent Assumptionscited by 11
- 2026Cornerstones or Stumbling Blocks? Deciphering the Rock Tokens in On-Policy Distillationcited by 11
- 2024Understanding and Minimising Outlier Features in Neural Network Trainingcited by 10
- 2025Gradient Multi-Normalization for Stateless and Scalable LLM Trainingcited by 9
- 2025GradPower: Powering Gradients for Faster Language Model Pre-Trainingcited by 8
- 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectorycited by 8
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformerscited by 7
- 2025Efficient Distributed Optimization under Heavy-Tailed Noisecited by 7
- 2025TROLL: Trust Regions improve Reinforcement Learning for Large Language Modelscited by 7
- 2025On Provable Benefits of Muon in Federated Learningcited by 7
- 2025Optimization Benchmark for Diffusion Models on Dynamical Systemscited by 7
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 7
- 2026Why Muon Outperforms Adam: A Curvature Perspectivecited by 6
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 5
- 2025Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalancecited by 5
- 2024Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelismcited by 4
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approachcited by 4
- 2025Simple Convergence Proof of Adam From a Sign-like Descent Perspectivecited by 4
- 2025Gradient Descent as Loss Landscape Navigation: a Normative Framework for Deriving Learning Rulescited by 4
- 2026Towards Understanding Adam Convergence on Highly Degenerate Polynomialscited by 4
- 2025When Can You Get Away with Low Memory Adam?cited by 3
- 2025Stochastic Approximation with Block Coordinate Optimal Stepsizescited by 3
- 2026Muon Learns More Robust and Transferable Features than Adamcited by 3
- 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regimecited by 2
- 2025Federated Stochastic Minimax Optimization under Heavy-Tailed Noisescited by 2
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotationcited by 2
- 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Ratescited by 2
- 2026Tight Complexity of Muon under Heavy-Tailed Noisecited by 2
50 most cited of 80 All 80 (JSON)
- 2026How Many Ranks Does a Token Need? A Noise-Floor Squelch for Rank-One LoRA Experts13 Oct 2026
- 2026Optimizer-dependent training dynamics converge to the same one-third optimal data scaling29 Sep 2026
- 2026Why Adaptive Optimizers Underestimate Rare Tokens29 Sep 2026
- 2026Age of Learning: Temporal Persistence of Prediction Errors as a Learning Signal26 Sep 2026
- 2026On the Principles Behind Neural Network Optimizers17 Aug 2026
- 2026The Loss Does Not See the Basis, but Adam Does5 Aug 2026
- 2026Muon Meets Mamba: Spectral Optimization for State Space Models4 Aug 2026
- 2026Multi-Class vs. Multi-Label BERT for CVE-to-CWE Mapping: How Taxonomy Structure Shapes the Errors8 Jul 2026
- 2026Ember: A Kilobyte-State Optimizer for Token Interfaces1 Jul 2026
- 2026Open Problem: Is AdamW Effective Under Heavy-Tailed Noise?22 Jun 2026
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Muon Learns More Robust and Transferable Features than Adam8 Jun 2026
38 more
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Dynamics of Stochastic Momentum with Sparse Updates in High Dimensions27 May 2026
- 2026Tight Complexity of Muon under Heavy-Tailed Noise18 May 2026
- 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates18 May 2026
- 2026Cornerstones or Stumbling Blocks? Deciphering the Rock Tokens in On-Policy Distillation10 May 2026
- 2026One Algorithm, Two Goals: Dual Scoring for Parameter and Data Selection in LLM Fine-Tuning7 May 2026
- 2026Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise Ratio7 May 2026
- 2026Regime-Conditioned Evaluation in Multi-Context Bayesian Optimization6 May 2026
- 2026Adapt or Forget: Provable Tradeoffs Between Adam and SGD in Nonstationary Optimization5 May 2026
- 2026Personalized Federated Learning for Gradient Alignment4 May 2026
- 2026Towards Understanding Adam Convergence on Highly Degenerate Polynomials10 Mar 2026
- 2026Same Error, Different Function: The Optimizer as an Implicit Prior in Financial Time Series3 Mar 2026
- 2026DP-FedAdamW: An Efficient Optimizer for Differentially Private Federated Large Models23 Feb 2026
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizers17 Feb 2026
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performance11 Feb 2026
- 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectory10 Feb 2026
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotation3 Feb 2026
- 2026Mano: Restriking Manifold Optimization for LLM Training30 Jan 2026
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Model22 Jan 2026
- 2026A Vision for Multisensory Intelligence: Sensing, Science, and Synergy8 Jan 2026
- 2025Turbo-Muon: Almost-Orthogonal Pre-Conditioning for Fast Muon Updates4 Dec 2025
- 2025Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalance30 Nov 2025
- 2025Federated Stochastic Minimax Optimization under Heavy-Tailed Noises6 Nov 2025
- 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?1 Nov 2025
- 2025Gradient Descent as Loss Landscape Navigation: a Normative Framework for Deriving Learning Rules30 Oct 2025
- 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regime30 Oct 2025
- 2025How Muon's Spectral Design Benefits Generalization: A Study on Imbalanced Data27 Oct 2025
- 2025Optimization Benchmark for Diffusion Models on Dynamical Systems22 Oct 2025
- 2025On Provable Benefits of Muon in Federated Learning4 Oct 2025
- 2025TROLL: Trust Regions improve Reinforcement Learning for Large Language Models4 Oct 2025
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learning30 Sep 2025
- 2025On the Performance of Differentially Private Optimization with Heavy-Tail Class Imbalance14 Jul 2025
- 2025Stochastic Approximation with Block Coordinate Optimal Stepsizes11 Jul 2025
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful9 Jul 2025
- 2025SoftSignSGD(S3): An Enhanced Optimizer for Practical DNN Training and Loss Spikes Minimization Beyond Adam9 Jul 2025
- 2025Simple Convergence Proof of Adam From a Sign-like Descent Perspective8 Jul 2025
- 2025Memory-Efficient LLM Pretraining via Minimalist Optimizer Design20 Jun 2025
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modeling14 Jun 2025
50 newest of 80 All 80 (JSON)
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learningcited by 46
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 41
- 2025In Search of Adam's Secret Saucecited by 40
- 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?cited by 37
- 2024Does SGD really happen in tiny subspaces?cited by 36
- 2025Accelerating Neural Network Training: An Analysis of the AlgoPerf Competitioncited by 32
- 2025The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Trainingcited by 30
- 2025Scaling Laws for Gradient Descent and Sign Descent for Linear Bigram Models under Zipf's Lawcited by 24
- 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 23
- 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivitycited by 23
12 most cited of 76 All 76 (JSON)
- 2026Optimizer-dependent training dynamics converge to the same one-third optimal data scaling29 Sep 2026
- 2026Why Adaptive Optimizers Underestimate Rare Tokens29 Sep 2026
- 2026Age of Learning: Temporal Persistence of Prediction Errors as a Learning Signal26 Sep 2026
- 2026On the Principles Behind Neural Network Optimizers17 Aug 2026
- 2026The Loss Does Not See the Basis, but Adam Does5 Aug 2026
- 2026Multi-Class vs. Multi-Label BERT for CVE-to-CWE Mapping: How Taxonomy Structure Shapes the Errors8 Jul 2026
- 2026Ember: A Kilobyte-State Optimizer for Token Interfaces1 Jul 2026
- 2026Open Problem: Is AdamW Effective Under Heavy-Tailed Noise?22 Jun 2026
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Muon Learns More Robust and Transferable Features than Adam8 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Dynamics of Stochastic Momentum with Sparse Updates in High Dimensions27 May 2026
12 newest of 76 All 76 (JSON)