arXiv:2610.17637cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17637

Mixed Precision Scaling Laws for Quantized Pretraining

Jinuk Kim, Rajarshi Saha, Muhammed Fatih Balin, Youngsuk Park

ABSTRACT

Since scaling laws were introduced for modern LLMs (Kaplan et al., 2020), several works have extended them to account for quantization, tracking the emerging low-precision data types supported on AI accelerators. We develop a more accurate scaling law for quantized pretraining with mixed precision across the forward and backward passes, grounded in optimization theory and validated empirically. Our formulation separates the effects of quantization on model capacity and on optimization efficiency, and explicitly models the persistent optimization error from forward and backward quantization identified through convergence analysis. To select the regimes for fitting and evaluating our law, we first decompose existing 4-bit training recipes into their forward and backward components, isolating those that most affect loss. Our Qwen3 experiments under selected 4-bit regimes, together with published Llama-style experiments, show that our law predicts loss with up to 11×11 \times lower MSE than existing laws as model size and token count scale. Finally, we extend our law to layer-wise mixed precision and identify the optimal quantized-pretraining recipe, i.e., model size, training tokens, and per-layer forward/backward precision, under a hardware-aware compute budget. Unlike prior precision scaling laws, our law predicts that the optimal precision increases with the compute budget.

1 INTRODUCTION

Scaling laws have played a central role in guiding large language model (LLM) pretraining by characterizing how training loss varies with model size, data, and compute (Kaplan et al., 2020; Hoffmann et al., 2022; Videau et al., 2026). By extrapolating from smaller scale experiments, they enable researchers to choose effective training configurations for expensive runs in advance. As pretraining costs continue to grow, accurate scaling laws are becoming increasingly valuable for allocating limited resources and maximizing model quality under a given compute budget.

Quantized training offers a promising path towards more efficient LLM pretraining by performing computations in the forward and backward passes at reduced numerical precision (Micikevicius et al., 2022; Fishman et al., 2025). Recent recipes push precision down to 4 bits using block-scaled formats such as NVFP4, while combining different techniques in the forward and backward passes to preserve training quality (Tseng et al., 2025; Abecassis et al., 2025). Existing methods differ both in how quantization scales are shared and selected during the forward pass and in how gradients are estimated during the backward pass. For example, Abecassis et al. (2025) and Panferov et al. (2026a) adopt different choices along both dimensions. Together, these techniques have substantially narrowed the gap between FP4 and BF16 training, making low-precision training an increasingly practical option for LLM pretraining (Chmiel et al., 2025; Abecassis et al., 2025).

We first revisit existing NVFP4 training recipes by decomposing them into forward and backward components and isolating the contribution of each to pretraining loss, since prior works typically proposed and evaluated these techniques only as complete configurations (Section 2). We find that forward quantization choices affect loss more than backward techniques, but even the best combination leaves a noticeable loss gap relative to BF16 training. Mixed-precision quantized training

*Work done during internship at Amazon. †Correspondence to: Jinuk Kim jusjinuk@snu.ac.kr and Youngsuk Park pyoungsu@amazon.com

Figure

Optimal model size N∗N^{*}

Tokens per parameter D∗/N∗D^{*}/N^{*}

Compute budget (BF16-equivalent FLOPs)

Compute budget (BF16-equivalent FLOPs)

Figure 1: Compute-optimal precision allocation predicted by our scaling law. With each Transformer block using MXFP8 or NVFP4 in each pass, the panels show the optimal fraction of NVFP4 blocks in the forward pass pf∗p_f^* (top, left) and backward pass pb∗p_b^* (top, right), the optimal model size N∗N^* (bottom, left), and tokens per parameter D∗/N∗D^*/N^* (bottom, right), given the compute budget (x-axis) and the NVFP4 speedup over BF16 (y-axis), with the MXFP8 speedup fixed at 1.8×1.8\times (Section 4.3).

offers a promising way to narrow this gap, either by assigning different precisions to the forward and backward passes (Castro et al., 2026) or by varying precision across layers (Abecassis et al., 2025). Choosing among such configurations before training requires accurately predicting their loss at the target model size and token budget, which motivates scaling laws for mixed precision both across the forward and backward passes and across layers.

For mixed precision across the forward and backward passes, existing scaling laws model forward quantization as a reduction in the effective parameter count (Kumar et al., 2025; Frantar et al., 2025; Panferov et al., 2026b), and the Quartet law additionally models backward quantization as a reduction in the effective training token count, whose penalty can be offset by training on more data (Castro et al., 2026) (Table 2). However, quantization also introduces optimization error that can persist with continued training. In the forward pass, evaluating gradients at quantized weights while updating full-precision weights can induce oscillations that prevent convergence (Bengio et al., 2013; Bai et al., 2019; Défossez et al., 2022; Nagel et al., 2022), and in the backward pass, quantization can bias gradient estimates (Ajalloeian & Stich, 2020). Accurate loss prediction therefore requires modeling this persistent error in both passes.

In this work, we develop a scaling law for forward–backward mixed-precision pretraining that accounts for this persistent optimization error (Section 3). Guided by a theoretical analysis of the optimization gap, the law combines effective parameter and data counts with separate additive terms for persistent optimization error from forward and backward quantization. The resulting law (Table 2) takes the form

L=(A(ρN(ψf)N)−α+B(ρD(ψb)D)−β)γ+ϵf(ψf)+ϵb(ψb)+E,L=\left(A\left(\rho_{N}(\psi_{f})N\right)^{-\alpha}+B\left(\rho_{D}(\psi_{b})D\right)^{-\beta}\right)^{\gamma}+\epsilon_{f}(\psi_{f})+\epsilon_{b}(\psi_{b})+E,

where ρN\rho_N and ρD\rho_D rescale the parameter count NN and the training token count DD, respectively, and ϵf\epsilon_f and ϵb\epsilon_b model persistent optimization error associated with the forward and backward quantization schemes ψf\psi_f and ψb\psi_b, respectively. We evaluate the law on our Qwen3 (Yang et al., 2025) pretraining experiments, covering models with up to 0.9B parameters trained on up to 35.8B tokens with BF16,

MXFP8, and different NVFP4 schemes in both passes, and on the published Quartet results for Llama-style models trained with up to 800 tokens per parameter (Castro et al., 2026). Across both settings, the law predicts held-out loss more accurately than existing laws when extrapolating to larger model sizes and token budgets.

For mixed precision across layers, we extend the law to predict the loss when different quantization schemes are assigned to different Transformer blocks (Section 4). The extension interpolates between the predicted losses of the two schemes being mixed, with an exponent that captures the strategy used to select blocks for each scheme (Table 2). Accounting for the hardware speedup of each format, we then use the law to identify the compute-optimal model size, number of training tokens, and precision of the forward and backward passes under a given compute budget (Figure 1).

We summarize our main contributions as follows:

(a) We revisit existing NVFP4 recipes by decomposing them into forward and backward components, identifying which components matter for loss and measuring the remaining gap to BF16, which guides the design of our scaling law experiments (Section 2).

(b) We develop a scaling law that models persistent optimization error from forward and backward quantization under mixed precision across the two passes, backed by theoretical analysis (Table 2). It predicts held-out loss more accurately than existing laws on our Qwen3 experiments and the published Quartet results (Section 3).

(c) We extend the law to layer-wise mixed precision, and identify compute-optimal model sizes and precision assignments under a hardware-aware compute budget (Section 4).

References (58)