Mixed Precision Scaling Laws for Quantized Pretraining

Jinuk Kim, Rajarshi Saha, Muhammed Fatih Balin, Youngsuk ParkarXiv 2026

TL;DR

Researchers from Seoul National University and Amazon have developed a new scaling law for quantized LLM pretraining that accounts for "persistent optimization errors"—noise and bias introduced by low precision that don't disappear simply by adding more data or parameters. Their law predicts training loss with up to 11× greater accuracy than previous models and reveals a crucial insight: as your compute budget grows, the optimal strategy eventually shifts toward using higher precision to overcome these persistent errors.

What Problem Does This Paper Address?

Scaling laws are the "instruction manuals" for training LLMs, telling researchers how to balance model size ($N$) and training tokens ($D$) to get the best performance for a given budget. However, as the industry moves toward 4-bit (NVFP4) and 8-bit (MXFP8) training to save costs, standard scaling laws have started to break.

Existing laws typically treat quantization as a "tax" on effective parameters or data—essentially saying a 4-bit model behaves like a slightly smaller 16-bit model. This paper argues that this view is incomplete. Quantization doesn't just reduce capacity; it introduces oscillations in weights and biases in gradients that persist even as you scale. Without accounting for this "optimization gap," existing laws underestimate the final loss, leading to sub-optimal decisions about model architecture and precision.

Methods

The authors propose a "Mixed Quantized Pretraining" (Mixed QPT) scaling law. The core innovation is the addition of separate, additive terms for persistent error in the forward ($\epsilon_f$) and backward ($\epsilon_b$) passes:

$$L = (A (\rho_N N)^{-\alpha} + B (\rho_D D)^{-\beta})^\gamma + \epsilon_f(\psi_f) + \epsilon_b(\psi_b) + E$$

  • $\rho_N, \rho_D$: Rescale the parameters and data (standard approach).
  • $\epsilon_f, \epsilon_b$: The new terms representing error that remains even as $N$ and $D$ go to infinity.
  • $\psi_f, \psi_b$: Represent the specific quantization schemes used.

They also extended this law to handle layer-wise mixed precision, where different layers use different bit-widths. They modeled how loss changes based on the fraction of layers kept in high precision and the strategy used to pick those layers (e.g., keeping the first and last layers in high precision).

Datasets

The study validated the law using two primary sources:

  1. Qwen3 Grid: A new dataset of 375 training runs using Qwen3-based architectures (up to 0.9B parameters) trained on up to 35.8B tokens of the C4 dataset.
  2. Quartet Grid: Re-evaluation of 84 published training runs of Llama-style models from the "Quartet" paper (Castro et al., 2026).

Key Insights and Ideas

  • Precision Must Scale with Budget: This is the most significant finding. Prior laws suggested that the optimal precision was independent of the budget. This paper shows that because persistent errors ($\epsilon$) eventually dominate the loss as $N$ and $D$ scale, you eventually must switch to higher precision (e.g., from 4-bit to 8-bit) to continue improving the model.
  • Forward vs. Backward Sensitivity: The forward pass is generally more sensitive to quantization than the backward pass. However, the backward pass accounts for roughly two-thirds of the total training FLOPs.
  • The "First and Last" Rule: When using mixed precision across layers, keeping the first and last blocks in higher precision is significantly more effective than keeping the middle blocks in high precision, especially for the backward pass.
This figure shows how the optimal precision allocation changes. As the compute budget (x-axis) increases, the optimal fraction of blocks using low-precision NVFP4 (yellow) decreases, giving way to higher-precision MXFP8 (blue).

Key Results

  • Superior Prediction: The new law achieves up to 11× lower Mean Squared Error (MSE) than the previous state-of-the-art (the Quartet law) when predicting the loss of larger models from smaller experiments.
  • Ablation Success: Removing either the forward or backward error terms significantly degraded the law's accuracy, proving that both passes contribute unique, persistent noise to the optimization process.
  • Optimal Recipe Identification: The authors provide a framework to identify the "compute-optimal" recipe—the specific combination of model size, token count, and per-layer precision—for any given hardware-aware compute budget.
Comparison of scaling law fits. Our law (red) tracks the actual validation loss of held-out 200M parameter models much more closely than the Quartet law (dashed blue), which tends to be overly optimistic about scaling.

Limitations and Future Work

  • Model Scale: While the law was tested on models up to 0.9B parameters, modern frontier models are orders of magnitude larger. Validating these laws at the 10B-100B scale remains a challenge due to compute costs.
  • Optimizer Specifics: The theoretical grounding assumes a specific regularity in optimization (like SGD/Adam). Changes in optimizer hyper-parameters or novel optimizers might require re-fitting the law's constants.
  • Hardware Dependency: The "optimal" precision depends heavily on the relative speedups of different formats (e.g., how much faster is FP4 than BF16 on a specific chip?). As hardware evolves, these speedup ratios ($\lambda$) will change, shifting the optimal precision boundaries.

Summary updated

BibTeX
@misc{kim2026mixed,
  author = {Jinuk Kim and Rajarshi Saha and Muhammed Fatih Balin and Youngsuk Park},
  title = {{Mixed Precision Scaling Laws for Quantized Pretraining}},
  year = {2026},
  eprint = {2610.17637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17637},
}
Figure