mlsanityData to 7 Oct 2026

Stochastic Rounding for LLM Training: Theory and Practice

arXiv 2502.20566 ↗First posted 27 Feb 2025cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

As the parameters of Large Language Models (LLMs) have scaled to hundreds of billions, the demand for efficient training methods -- balancing faster computation and reduced memory usage without sacrificing accuracy -- has become more critical than ever. In recent years, various mixed precision strategies, which involve different precision levels for optimization components, have been proposed to increase training speed with minimal accuracy degradation. However, these strategies often require manual adjustments and lack theoretical justification. In this work, we leverage stochastic rounding (SR) to address numerical errors of training with low-precision representation. We provide theoretical analyses of implicit regularization and convergence under the Adam optimizer when SR is utilized. With the insights from these analyses, we extend previous BF16 + SR strategy to be used in distributed settings, enhancing the stability and performance for large scale training. Empirical results from pre-training models with up to 6.7B parameters, for the first time, demonstrate that our BF16 with SR strategy outperforms (BF16, FP32) mixed precision strategies, achieving better validation perplexity, up to 1.54× higher throughput, and 30% less memory usage.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 18 of its 41 references that are in the map. First posted on arXiv 27 Feb 2025.

Builds on

18 of 41 references.

References · 18

  1. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  2. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
  3. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  4. 2015Deep Learning with Limited Numerical Precisioncited by 368
  5. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227
  6. 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
  7. 2020A Simple Convergence Proof of Adam and Adagradcited by 169
  8. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
  9. 2020Implicit Gradient Regularizationcited by 145
  10. 2017Training Quantized Nets: A Deeper Understandingcited by 74
  11. 2023A Theory on Adam Instability in Large-Scale Machine Learningcited by 54
  12. 2020Quantized Adam with Error Feedbackcited by 27
6 more
  1. 2023On the Implicit Bias of Adamcited by 25
  2. 2020Revisiting BFloat16 Trainingcited by 15
  3. 2024Collage: Light-Weight Low-Precision Strategy for LLM Trainingcited by 9
  4. 2024HLAT: High-quality Large Language Model Pre-trained on AWS Trainiumcited by 7
  5. 2024MADA: Meta-Adaptive Optimizers through hyper-gradient Descentcited by 6
  6. 2022On the influence of stochastic roundoff errors and their bias on the convergence of the gradient descent method with low-precision floating-point computationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 9.

10 papers.