An open 4-bit pretraining recipe matching BF16 loss at 1B parameters
On this page16 sections
Difficulty 30: 2025-2026 preprints are close (0.84% at 3B on 64B tokens; 7B on 200B tokens with a BF16 tail), so the remaining work is an open, seeded run at 100B tokens rather than a new idea. Application value 60: halving GEMM time and memory traffic again on Blackwell-class hardware matters for every training run. Leverage 38: an open recipe would be reused by most open training stacks.
The problem
Can an outside group train a 1B-parameter model in 4-bit numbers with nearly 16-bit quality?
- 1Vendor reports 4-bit training works
- 2Repeat openly at 1B parameters
- 3Rotate, round randomly, keep key layers precise
- 4Compare with 16-bit over three seeds
- 5Loss within 1% of 16-bit
What is asked. Training a language model is mostly matrix multiplication. Doing those multiplications with 4-bit numbers instead of 16-bit ones lets NVIDIA's newest GPUs run them several times faster and move a quarter of the bytes. The problem asks for a fully open recipe, with public code, data and random seeds. The recipe must train a roughly 1-billion-parameter language model on 100 billion tokens of a public text corpus, with every matrix multiply in the forward and backward passes in a 4-bit format (MXFP4 or NVFP4). It must finish with a validation loss (a measure of prediction error) within 1% of the same model trained in BF16, and report results over three seeds.
Why 4 bits is hard. An FP4 number (E2M1) has 2 exponent bits and 1 mantissa bit, so it can hold only 16 values: . To make that usable, a small block of numbers (16 in NVFP4, 32 in MX) shares one scale factor, so each block is stretched to fit the 16 values (see the microscaling entry). Rounding a gradient of 0.7 to the nearest value, 0.5, makes an error of 0.2. If the same thing happens at every step, training drifts. Stochastic rounding rounds 0.7 up to 1 with probability 0.4 and down to 0.5 with probability 0.6. The average is then exactly 0.7, so errors cancel over many steps. The analogy is paying for many coffees with only whole dollars, sometimes rounding up and sometimes down so the total comes out fair. It breaks because rare large values (outliers) still overflow a block, which is why recipes also rotate the data and keep sensitive layers in higher precision.
State of the art. NVIDIA reports a 12B model trained on 10T tokens in NVFP4, with loss comparable to an FP8 baseline. Open work is close but no result meets the bar exactly. Quartet (MXFP4, open code) compares against FP8, not BF16. FP4 All the Way trains a 7B model on up to 200B tokens, closing a small loss gap by switching the backward pass to BF16 at the end. TetraJet-v2 reaches 370M parameters and 212B tokens and closes about half of the gap to BF16. Quartet II reaches 1.9B parameters on 38B tokens. Full-Stack FP4 reports a 0.838% gap to BF16 at 3B parameters on 64B tokens, with some operations kept in BF16 and its code not verified.
What a solution looks like. Released code, configurations and loss logs that an independent group reruns, confirming a gap of at most 1% across three seeds at 100B tokens.
Go deeper
The full technical text.
With fully public code, data and seeds, pretrain a roughly 1B-parameter decoder-only transformer on 100B tokens of a named public corpus with MXFP4 or NVFP4 GEMMs for forward and backward passes (master weights and optimiser state in higher precision), such that final validation loss is within 1% (relative) of an identically configured BF16 run, with variance across three seeds reported, and tell which operators were kept in higher precision.
Words on this page (10)
- FP4 (E2M1)
- A 4-bit floating-point number with 2 exponent bits and 1 mantissa bit: only 16 possible values.
- block scaling (MX, NVFP4)
- Sharing one scale factor across a small block of 16 or 32 narrow numbers so each block uses the format’s range well.
- minifloat
- A floating-point number with very few bits (16, 8, 6 or 4), trading precision and range for speed.
- scale factor
- A multiplier applied before rounding to a narrow format so values fit its range, divided out afterwards.
- stochastic rounding
- Rounding up or down at random with probabilities set by the distance, so errors average out over many steps.
- validation loss
- A number measuring how wrong a model's predictions are on held-out text; lower is better.
- random seed
- The starting number for a random generator; different seeds give slightly different training runs.
- gradient
- The list of derivatives of the training loss with respect to each number in the model.
- Blackwell (B200)
- NVIDIA's GPU generation after Hopper, with native 4-bit and block-scaled matrix instructions.
- outlier
- A value far larger in size than most others in the same set.
New to this? Read first (3)
- Minifloat (Wikipedia)What 8-bit and smaller floating-point formats look like.
- Floating-point arithmetic (Wikipedia)Background on how computers store non-whole numbers.
- Making Deep Learning Go Brrrr From First Principles (Horace He)A readable tour of compute-bound versus memory-bound work on GPUs.
Built from
earlier problems → this oneThe earlier problems this one is built from. “Builds on” means it needs their progress or tools. “Generalizes” means they are special cases that come first. “Implies” means they are weaker results on the way. On the right is what builds on this problem.
- Start with
- A Triton block-scaled FP4 GEMM within 10% of CUTLASS on B200Low-Precision Numerics · D31
- Then
- An open 4-bit pretraining recipe matching BF16 loss at 1B parametersThis problem
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- Step 4
- Microscaling (MX) and block-scaled 4-bit formatsTheory · host
- Then
- An open 4-bit pretraining recipe matching BF16 loss at 1B parametersThe problem
State of the art
NVIDIA reports a 12-billion-parameter model trained on 10 trillion tokens with NVFP4 with loss and downstream accuracy comparable to FP8 (arXiv preprint, September 2025), and the Microscaling paper reports sub-8-bit training of smaller language models. Open 4-bit work has moved quickly but none meets the bar exactly. Quartet (Castro et al., arXiv:2505.14669, MXFP4, open code) compares against FP8 rather than BF16. FP4 All the Way (Chmiel et al., arXiv:2505.19115, NVFP4) trains a 7B model on up to 200B tokens on Gaudi2 with a small loss gap that it closes by switching the backward pass to BF16 at the end. TetraJet-v2 (arXiv:2510.27527) reaches 370M parameters and 212B tokens and closes about half of the gap to BF16. Quartet II (arXiv:2601.22813) reaches 1.9B parameters on 38B tokens. Full-Stack FP4 (Ding et al., arXiv:2607.04422, preprint) reports a 0.838% loss gap to BF16 at 3B parameters on 64B tokens, with some optimizer and attention operations kept in BF16 and code availability not verified. No public result combines 100B+ tokens, a gap at most 1% against BF16, three seeds and released code.
Realistic applications
Four-bit training would roughly halve GEMM time and memory traffic again on hardware with native support; open recipes let groups without vendor teams use it.
What counts as solved
Independent reruns reproduce the loss gap within the stated bound and seed variance, from the released code.
How it gets verified
To verify: ReproductionA training run, experiment or computation rerun by someone else.
Dataset: a named public pretraining corpus (for example FineWeb) with a fixed 100B-token subset and tokenizer. Model: Llama-style decoder, about 1B parameters, config published. Metric: validation loss on a fixed held-out set at the end of training, and relative gap to the BF16 baseline run with identical data order and hyperparameters; pass if the gap is at most 1% and the three-seed spread is reported. Compute budget: on the order of 1 to 2 thousand GPU-hours on 4-bit capable hardware or emulation (emulation is allowed but must be labelled). Seeds: 3. Artefacts: code, configs, loss logs and checkpoints at a pinned commit.
Claims
No claimed results on this problem.
Where the work is
Dominated by compute for training runs, with recipe design and kernel work.
Connected problems
- This problem builds on A Triton block-scaled FP4 GEMM within 10% of CUTLASS on B200Fast training depends on an efficient open block-scaled GEMM kernel.
Progress
- Jul 5, 20260.84% gap at 3B parameterssource
Full-Stack FP4 reports final loss 2.286 versus 2.267 for BF16 on a 3B model trained on 64B tokens (preprint).
- May 25, 20257B model trained mostly in FP4source
FP4 All the Way trains a 7B model with NVFP4 on up to 200B tokens, closing a small loss gap with a BF16 backward phase at the end (preprint).