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

Athanasios Glentis, Dawei Li, Chung-Yiu Yau, Mingyi Hong
5/18/2026
cs.LG

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{glentis2026revisiting,
  title  = {Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates},
  author = {Athanasios Glentis and Dawei Li and Chung-Yiu Yau and Mingyi Hong},
  year   = {2026},
  eprint = {2605.17787},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.17787v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.17787.svg)](https://codeofpaper.com/paper/2605.17787)

Discussion