NeurIPS 2026QuestionsPapersAreasAboutMarkdown

What Stops SGD on LLM Pre-Training: The Need for Large Learning Rate and How to Achieve it

Athanasios Glentis, Chung-Yiu Yau, Dawei Li, Mingyi Hong

NeurIPS page · Open on the map

Category: Optimization & Federated Learning › Hyperparameter Scaling and Optimizer Theory · Type: new method · Keywords: SGD optimizer, Adam optimizer, LLM pre-training, gradient clipping, large learning rates

Summary

The paper shows that simple gradient clipping enables SGD to use large learning rates, closing the performance gap with Adam in LLM pre-training.

Explained to a 5-year-old

When we teach a big computer brain new words, we can use two different ways to change its memory. One way (SGD) is simple but slow, the other (Adam) is faster. We discovered that the simple way gets stuck because the changes sometimes become too big. We found a easy trick to keep the changes small so the simple way can learn almost as fast as the fast way. This helps train huge language models more efficiently.

Explained to a 5-year-old, longer

Teaching a computer to understand language is like giving it many examples. Researchers use two main methods to update the computer's memory. One method is called SGD and is easy to understand. The other method is called Adam and learns faster. When training very large language models, SGD often falls behind Adam. The researchers looked at why this happens. They noticed that the changes the computer makes are sometimes very uneven. Some parts of the brain get huge updates while others get tiny ones. This makes it hard for SGD to keep learning at a high speed. To help SGD, they added a simple rule that limits how big the updates can be. This rule keeps the learning steady and lets SGD catch up with Adam. As a result, the simple method now works almost as well as the fast method for huge language models.

For a technical reader

The paper investigates why SGD, a classic optimizer, underperforms adaptive optimizers like Adam during large-scale language model pre-training. Through empirical and theoretical analysis, the authors show that small gradient norms and highly uneven output-layer gradients restrict the usable learning rate of SGD. They propose a straightforward gradient-clipping mechanism that stabilizes training when using large learning rates, effectively removing the performance gap. In experiments on a 1 B-parameter LLaMA model with a 1 M-token batch, the clipped SGD closes the validation loss gap from over 50 % to roughly 3.5 % relative to Adam. The findings suggest that simple clipping can make SGD a viable, cost-effective alternative for future LLM pre-training pipelines.

Problem

SGD struggles to sustain the large effective learning rates used by adaptive optimizers like Adam during large-scale language model pre-training, leading to slower convergence.

Method

The approach analyzes gradient statistics in LLM pre-training, observes small gradient norms and uneven output-layer gradients, and applies gradient clipping to stabilize training when using large learning rates.

Results

The validation loss gap between large-learning-rate SGD and Adam shrinks from over 50% to about 3.5% when pre-training a 1B-parameter LLaMA model with a 1M-token batch size.

Contributions

The work identifies the gradient dynamics that limit SGD's learning rate in LLM pre-training and demonstrates that simple gradient clipping enables SGD to match Adam's performance at scale.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction