NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Curse and Blessing of Mean Bias in FP4-Quantized LLM Training

Hengjie Cao, Zhendong Huang, Mengyi Chen, Yifeng Yang, Fang Dong, Anrui Chen, Ruijun Huang, Xin Zhang, Mingzhi Dong, Yujiang Wang, Jinlong Hou, Qin Lv, Robert P. Dick, Yuan Cheng, Tun Lu, Fan Yang, Yixuan Chen, Li ShangarXiv 2026

TL;DR

Training Large Language Models (LLMs) in ultra-low-bit FP4 precision promises massive memory and compute savings, but it is notoriously unstable due to extreme activation outliers. This paper reveals that these outliers are not random anomalies, but are systematically driven by a coherent, rank-one "mean bias" that aligns with the network's dominant spectral component. By isolating this mean component before quantization using a simple method called Averis, the authors achieve stable FP4 training with a negligible 2.2% hardware overhead.

What Problem Does This Paper Address?

As LLMs scale, training them demands unsustainable amounts of memory and compute. Moving from 16-bit floating-point (BF16) or 8-bit (FP8) down to 4-bit (FP4) formats can theoretically slash memory usage and speed up matrix multiplications (GeMMs) by up to 7×.

However, actual FP4 training is incredibly fragile. Quantization is typically done blockwise, meaning a single scale factor is computed for a group of numbers based on their maximum absolute value. When a few extreme "outliers" appear in the activations, they inflate the dynamic range of the entire block. This compresses the remaining normal signals into tiny, low-precision bins, destroying representation fidelity and halting gradient propagation.

Existing solutions either use complex mathematical transformations (like tiled Hadamard transforms) that add significant hardware overhead, or rely on heavy spectral decompositions (like SVD) that do not map well to modern accelerator hardware. This paper seeks a simpler, hardware-efficient way to tame these outliers.

Methods

The authors introduce Averis (Averaging-Induced Residual Splitting), a remarkably straightforward quantization technique. Instead of treating outliers as an intractable, chaotic problem, Averis exploits the structural discovery of "mean bias."

Before performing FP4 quantization during a GeMM, Averis splits the activation matrix $X$ into two components:

  1. The Column-Mean Vector ($\mu_X$): A rank-one matrix representing the shared directional shift across tokens.
  2. The Residual Matrix ($X_R$): The centered activations ($X - \mu_X$).

Averis quantizes the mean vector and the residual matrix independently. Crucially, because the residual matrix is column-centered (its mean is zero), the mathematical cross-terms vanish when computing weight gradients ($\frac{\partial L}{\partial W} = X^\top D$). This means Averis can compute the quantized forward and backward passes using only simple mean reductions and elementwise subtractions, completely avoiding heavy matrix overheads.

Datasets

The authors evaluated their approach by pretraining models on the DCLM dataset. They tested two architectures:

  • Qwen3-0.6B Dense (trained on 100 billion tokens)
  • Qwen3-7B-A1.5B Mixture-of-Experts (MoE) (trained on 50 billion tokens)

Downstream evaluation was performed using standard benchmarks spanning question answering, classification, and cloze prediction, including ARC, RACE, BoolQ, HellaSwag, PIQA, and LAMBADA.

Key Insights and Ideas

  • Outliers have a predictable structure: Activation outliers are not random, sparse spikes. They are largely caused by a systematic, rank-one feature-wise mean bias that acts as a shared offset across tokens.
  • Spectral Alignment: This mean bias tightly couples with the leading anisotropic spectral component (the top right singular vector, $v_1$). As training progresses, this component strengthens and increasingly dominates the top activation magnitudes.
Mean bias aligns strongly with the top right singular vector ($v_1$) and shows uniform token-wise alignment.
  • Operator Amplification: Nonlinear Transformer layers (Attention and FFN modules) do not dampen this bias; they actively amplify and reshape it during forward propagation.
Figure 3: Operator-level evidence for mean-bias amplification. We compare the evolution of mean- bias strength and mean-direction alignment across key operators, showing that nonlinear Transformer components further strengthen the coherent mean component during forward propagation.
  • The "Blessing" of the Bias: Because the complex outlier problem is driven by a simple rank-one mean shift, it admits a trivial solution: subtracting the mean collapses the heavy, long-tailed distribution of the activations back into a clean, easily-quantized Gaussian-like distribution.

Key Results

  • Minimized Loss Gaps: For W4A4G4 FP4 training, Averis reduced the final training-loss gap relative to full-precision BF16 to just 1.19% (for the 0.6B model) and 0.81% (for the 7B MoE model). This significantly outperforms NVIDIA’s Hadamard-based outlier-smoothing baseline, which showed gaps of 2.05% and 1.10% respectively.
  • Downstream Accuracy: Downstream task performance closely tracked the training stability, limiting the average accuracy degradation to less than 0.9 points compared to BF16.
  • Hardware Efficiency: Evaluated on modern NVIDIA Blackwell GPUs, Averis introduced a mere 2.20% end-to-end runtime overhead over vanilla NVFP4. This represents only about 30% of the overhead incurred by the Hadamard-based design, clearing a practical path for native low-bit training.
  • Complementary Effects: Averis can be combined with Hadamard transforms. When paired, they reduced the 0.6B model's loss gap even further to 0.94%.

Limitations and Future Work

While promising, the authors note a few limitations:

  1. Simulation Constraints: Due to compute limitations, the long-run training runs were executed using FP4 simulation rather than native end-to-end execution on Blackwell hardware.
  2. Scale and Architecture: Broader validation across even larger model scales, varied data distributions, and alternative architectures is left for future work.
  3. Gradient Asymmetry: The mean-bias phenomenon was found to be much weaker in output gradients than in activations. Consequently, the backward pass did not receive a specialized adaptive treatment, which remains an open area for exploration.

Summary updated

BibTeX
@misc{cao2026curse,
  author = {Hengjie Cao and Zhendong Huang and Mengyi Chen and Yifeng Yang and Fang Dong and Anrui Chen and Ruijun Huang and Xin Zhang and Mingzhi Dong and Yujiang Wang and Jinlong Hou and Qin Lv and Robert P. Dick and Yuan Cheng and Tun Lu and Fan Yang and Yixuan Chen and Li Shang},
  title = {{The Curse and Blessing of Mean Bias in FP4-Quantized LLM Training}},
  year = {2026},
  eprint = {2603.10444},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.10444},
}
Figure