A Theory on Adam Instability in Large-Scale Machine Learning
Igor MolybogPeter Albert
Moya ChenZachary DeVitoDavid Esiobu
Naman Goyal
Punit Singh Koura
Sharan NarangAndrew PoultonRuan SilvaBTBinh TangDiana Liskovich +5
Igor Molybog
Peter Albert

Moya Chen
Zachary DeVito
David Esiobu

Naman Goyal

Punit Singh Koura

Sharan Narang
Andrew Poulton
Ruan Silva
BTBinh Tang
Diana Liskovich
+17
This paper presents a theory explaining divergent training behavior observed in large language models, which is attributed to the Adam optimizer. The authors show that Adam can enter a state where the update vector has a large norm but is uncorrelated with the descent direction on the loss landscape, leading to divergence. This artifact is more likely in deep models with large batch sizes, typical of large-scale training. Evidence is drawn from language model runs at 7B, 30B, 65B, and 546B parameters.

arXiv ·
· April 19, 2023