Characterization and Mitigation of Training Instabilities in Microscaling Formats

Huangyuan Su, Mujin Kwun, Stephanie Gil, Sham Kakade, Nikhil Anand
6/25/2025
cs.LGcs.AR

No official code found. Best implementation: KempnerInstitute/systems-scaling (3 stars, MIT, last commit 2025-09-15).

Abstract

Training large language models is an expensive, compute-bound process that must be repeated as models scale, algorithms improve, and new data is collected. To address this, next-generation hardware accelerators increasingly support lower-precision arithmetic formats, such as the Microscaling (MX) formats introduced in NVIDIA's Blackwell architecture. These formats use a shared scale within blocks of parameters to extend representable range and perform forward/backward GEMM operations in reduced precision for efficiency gains. In this work, we investigate the challenges and viability of block-scaled precision formats during model training. Across nearly one thousand language models trained from scratch -- spanning compute budgets from $2 \times 10^{17}$ to $4.8 \times 10^{19}$ FLOPs and sweeping over a broad range of weight-activation precision combinations -- we consistently observe that training in MX formats exhibits sharp, stochastic instabilities in the loss, particularly at larger compute scales. To explain this phenomenon, we conduct controlled experiments and ablations on a smaller proxy model that exhibits similar behavior as the language model, sweeping across architectural settings, hyperparameters, and precision formats. These experiments motivate a simple model in which multiplicative gradient bias introduced by the quantization of layer-norm affine parameters and a small fraction of activations can trigger runaway divergence. Through \emph{in situ} intervention experiments on our proxy model, we demonstrate that instabilities can be averted or delayed by modifying precision schemes mid-training. Guided by these findings, we evaluate stabilization strategies in the LLM setting and show that certain hybrid configurations recover performance competitive with full-precision training. We release our code at https://github.com/Hither1/systems-scaling.

View on arXivView PDF

Code Implementations(1)

MIT
31C, C++Nov 23, 20241 years agoMIT

Similar Papers

Cite this paper

@article{su2025characterization,
  title  = {Characterization and Mitigation of Training Instabilities in Microscaling Formats},
  author = {Huangyuan Su and Mujin Kwun and Stephanie Gil and Sham Kakade and Nikhil Anand},
  year   = {2025},
  eprint = {2506.20752},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.20752v1}
}

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/2506.20752.svg)](https://codeofpaper.com/paper/2506.20752)

Discussion