Qian Zhao, Kunlong Chen, Changxin Tian, Zhonghui Jiang, Haitao Zhang, Chaofan Yu, Peijie Jiang, Mingliang Gong, Jia Liu, Ziqi Liu, Zhiqiang Zhang, Jun Zhou
6 min
As Large Language Models (LLMs) continue to scale, the computational and memory costs of pretraining have become significant bottlenecks. While 4-bit floating-point (FP4) training offers a path to reduce these costs, current industry standards—such as those used in NVIDIA Blackwell and AMD MI350 systems—rely on the E2M1 format. This format is non-uniform, meaning its representable values are not evenly spaced. The authors identify that this non-uniformity leads to a systematic, negative rounding error termed Shrinkage Bias, which degrades model performance over long training runs.
Shrinkage Bias arises from the geometric asymmetry of the rounding bins in non-uniform formats. When using Round-to-Nearest-Even (RTNE) logic, the asymmetric spacing causes a consistent bias toward zero. The authors demonstrate that this bias is not merely localized noise; it accumulates multiplicatively across the deep layers of a neural network, leading to systematic signal decay. Furthermore, while the Random Hadamard Transform (RHT) is often used to disperse outlier energy and improve quantization, the authors show that it inadvertently pushes data into the most asymmetric bins of the E2M1 grid, thereby exacerbating the shrinkage effect.
To address these issues, the researchers propose UFP4, a uniform 4-bit training recipe. By switching from the non-uniform E2M1 grid to a uniform E1M2 or INT4-style grid, the authors eliminate the geometric source of Shrinkage Bias. This change allows for the application of RHT across all three primary training matrix multiplications (forward, data-gradient, and weight-gradient) without the instability seen in E2M1-based recipes.
Experimental results on models ranging from 1.5B to 124B parameters show that UFP4 consistently achieves lower loss degradation compared to strong E2M1 baselines. The findings suggest that the industry's current focus on E2M1 may be suboptimal. The authors argue that future hardware accelerators should support uniform 4-bit grids as first-class primitives, as they provide a more stable and accurate foundation for low-precision training at scale.
FP4 training promises substantial reductions in memory and computation cost for LLM pretraining, yet current FP4 hardware paths and recipes, including NVIDIA Blackwell/Rubin-class systems and AMD MI350-series GPUs, remain centered on E2M1 data elements. In this study, we identify a fundamental limitation of that choice: non-uniform formats such as E2M1 inherently suffer from Shrinkage Bias, a systematic negative rounding error caused by the geometric asymmetry of their representable bins. We show that this bias accumulates multiplicatively across layers and is amplified by the Random Hadamard Transform (RHT), providing a unified explanation for the training instability observed in existing E2M1-based FP4 recipes. In contrast, uniform grids (E1M2/INT4) bypass this grid-geometry error and better convert the improved bucket utilization from RHT into higher quantization quality. Based on this finding, we propose UFP4, a uniform 4-bit training recipe that applies RHT to all three training GEMMs while restricting stochastic rounding to dY alone. On Dense 1.5B, MoE 7.9B, and MoE 124B long-run pretraining, UFP4 consistently achieves lower BF16-relative loss degradation than strong E2M1-based baselines, supported by scaling-law analysis and ablation studies. Our results suggest that future accelerators should support E1M2/INT4-style uniform 4-bit grids as first-class training primitives alongside E2M1.
Sam: That's the mechanism. And the paper shows it gets worse when you add another common technique into the mix. Before numbers are quantised—before they're rounded to those 4-bit marks—researchers often apply something called the Random Hadamard Transform, or RHT. The idea is to rotate the data mathematically, spreading out any extreme outlier values so the rounding process has an easier job.
Alex: That sounds like it should help.
Sam: In principle, yes. But here's the catch. When you rotate the data using RHT and then round it using the uneven E2M1 marks, you actually push more values into the most biased part of the grid. The rotation, which was meant to make things easier, ends up feeding more data into exactly the region where the shrinkage problem is worst. The fix makes things worse.
Alex: So the tool designed to solve the distribution problem is actually amplifying the underlying flaw.
Sam: Precisely. And once you see that, the solution becomes clearer. The authors propose switching to a uniform grid—one where the rounding marks are evenly spaced. Two formats fit this description: one called E1M2, and the more familiar INT4. With evenly spaced marks, the rounding errors are genuinely random rather than systematically biased. They cancel each other out across layers instead of compounding. And crucially, you can now use RHT freely across all training steps without triggering the shrinkage effect. The authors call this combined recipe "UFP4."
Alex: So it's not that 4-bit training is broken—it's that the specific ruler being used was warped, and switching to a straight ruler fixes it.
Sam: That's a good way to put it. Though it's worth asking the obvious follow-up: if the uniform grid is better, why wasn't everyone using it already?
Alex: Right—why wasn't it the default?
Sam: It's a genuine trade-off. The uneven E2M1 format was chosen because it can represent a much wider range of numbers. Think of it like a measuring cup that can handle both a single drop and a full gallon. The uniform grid is more like a precise lab pipette—excellent accuracy, but only within a narrow range. For a long time, people assumed you needed that wide range to handle the extreme values that sometimes appear during training.
Alex: And the RHT rotation changes that assumption?
Sam: Exactly. Once you rotate the data, those extreme outliers get spread out and tamed. You no longer need a wide-range cup, because there's nothing extreme left to measure. At that point, what you actually need is precision—and that's where the uniform grid wins. The rotation effectively removes the one reason people had for tolerating the biased format.
Alex: So the two techniques—the rotation and the uniform grid—were always meant to go together. They just weren't paired correctly before.
Sam: That's the paper's central insight. Neither technique alone is sufficient. The rotation without the uniform grid makes things worse. The uniform grid without the rotation might struggle with outliers. Together, they address each other's weaknesses. The result, UFP4, is described as achieving meaningfully better stability and lower training loss compared to existing 4-bit recipes.
Alex: Is there anything standing between this and widespread adoption?
Sam: The main bottleneck is hardware. The efficiency gains from 4-bit training only fully materialise when the physical chips—the accelerators doing the computation—natively support that number format. The paper's authors suggest that as future hardware adopts uniform 4-bit grids as a standard feature, this kind of training could become a reliable, low-overhead default rather than a research experiment.
Alex: So the math is ahead of the hardware, and the field is waiting for the two to meet.
Sam: That's a fair summary. And what's notable about this work is that the improvement doesn't come from a more complex algorithm or a bigger model. It comes from identifying a subtle geometric flaw in a foundational assumption—and correcting it. Sometimes the most meaningful progress is about fixing what was quietly wrong all along.
Alex: Thanks for listening to ResearchPod.