mlsanityData to 7 Oct 2026

Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates

arXiv 2605.17787 ↗First posted 18 May 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

It is widely believed that stochastic gradient descent (SGD) performs significantly worse than adaptive optimizers such as Adam in pre-training Large Language Models (LLMs). Yet the underlying reason for this gap remains unclear. In this work, we attribute a large part of the discrepancy to SGD's inability to sustain learning rates comparable to Adam's much larger effective learning rates. Through empirical and theoretical analysis of LLM pre-training dynamics, we identify that training is characterized by small gradient norms and large weight-to-gradient ratios, an effect that becomes more pronounced with larger batch sizes typical in pre-training, necessitating such large effective learning rates. However, we find that output-layer gradient magnitudes become highly uneven across token classes, and that large gradient spikes frequently occur during training. Together, these effects severely restrict the admissible learning rate of SGD. Guided by this understanding, we show that simple clipping mechanisms that stabilize SGD at large learning rates enable it to recover most of Adam's performance. In our large-scale experiments, the validation loss gap between large-learning-rate SGD and Adam shrinks from more than 50% to only about 3.5% when pre-training a 1B-parameter LLaMA model with a 1M-token batch size.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 18 of its 22 references that are in the map. First posted on arXiv 18 May 2026.

Builds on

18 of 22 references.

References · 18

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  6. 2017Large Batch Training of Convolutional Networkscited by 529
  7. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
  8. 2017Improving Generalization Performance by Switching from Adam to SGDcited by 121
  9. 2025Fantastic Pretraining Optimizers and Where to Find Themcited by 87
  10. 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 78
  11. 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
  12. 2025Benchmarking Optimizers for Large Language Model Pretrainingcited by 53
6 more
  1. 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
  2. 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 50
  3. 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 36
  4. 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 14
  5. 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
  6. 2023Token-Level Fitting Issues of Seq2seq Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.