mlsanityData to 14 Oct 2026

To FP8 and Back Again: Quantifying Reduced Precision Effects on LLM Training Stability

arXiv 2405.18710 ↗First posted 29 May 2024cs.LG cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

The massive computational costs associated with large language model (LLM) pretraining have spurred great interest in reduced-precision floating-point representations to accelerate the process. As a result, the BrainFloat16 (BF16) precision has become the de facto standard for LLM training, with hardware support included in recent generations of accelerators. This trend has gone even further in the latest processors, where FP8 has recently been introduced. However, prior experience with FP16, which was found to be less stable than BF16, raises concerns as to whether FP8, with even fewer bits than FP16, can be a cost-effective option for LLM training. We argue that reduced-precision training schemes must have similar training stability and hyperparameter sensitivities to their higher-precision counterparts in order to be cost-effective. However, we find that currently available methods for FP8 training are not robust enough to allow their use as economical replacements. This prompts us to investigate the stability of reduced-precision LLM training in terms of robustness across random seeds, learning rates, and datasets. To this end, we propose new evaluation techniques and a new metric for quantifying loss landscape sharpness in autoregressive language models. By simulating incremental bit reductions in floating-point representations, we analyze the relationship between representational power and training stability with the intent of aiding future research into the field.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 18 of its 37 references that are in the map. First posted on arXiv 29 May 2024.

Builds on

18 of 37 references.

References · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  8. 2020GLU Variants Improve Transformercited by 1,804
  9. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  10. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  11. 2021Scaling Vision Transformerscited by 999
  12. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
6 more
  1. 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 294
  2. 2024Massive Activations in Large Language Modelscited by 294
  3. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
  4. 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
  5. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
  6. 2023Efficient Post-training Quantization with FP8 Formatscited by 29

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 5.

9 papers.