Guy Lemieux and Michael L. Overton explain why language models can work with numbers that use just four bits in some calculations. Fewer bits mean less data to fetch and cheaper multiplications. The trick is to use more precision where small differences still matter.
- Use a wider running sum. A model can multiply two short numbers and add the product to a wider running total. During training, a wider copy of the weights can also retain small updates that would otherwise round away.
- Give small groups their own scale. The Open Compute Project’s 4-bit format shares one scale across 32 values. NVIDIA’s NVFP4 uses groups of 16 and an additional scale for the whole array. Both use the same four-bit layout for each value, but the numbers are packed and scaled differently.
- Compare like with like. In a training study the paper cites, mixed 8-bit training used 39% less GPU memory and processed 21% more samples per second than the 16-bit baseline. Both runs used the same microbatch size, the number of examples processed together. The study’s 75% speedup used a larger microbatch.
Caveat: This is a survey, not a new language-model benchmark. Its own four-bit example is a tiny classifier tested on just 16 possible inputs.
The Hacker News thread asks how much flexibility chips should offer as the formats multiply.
What the thread adds
- buildbot pointed to Blackwell GPUs as an example of hardware already doing this work. NVIDIA documents hardware scaling for both MXFP4 and NVFP4 on Blackwell.
- tsukikage proposed a more flexible design: “have your hardware take a generic description of the packing”. Software would tell the chip how the bits and scales are laid out.
- Lerc — “Would the ideal values fall on a simple function? would they seem randomly spaced?”
- xenophonf — “I’m surprised this doesn’t mention posits.” Posits are an alternative way to encode numbers.
- Dylan16807 — On posits: “even if it can save a bit or two it’s a lot of decoding work if you want to use normal hardware”
From a 22-comment thread, in HN’s own order.