Articles · 2026 · Reading: 19 min, plus 3 in closed details.
Article · research post · Connectionism, Thinking Machines Lab's blog · updated 25 November 2026

End-to-End 4-Bit Training

Jack Cook, with others at Thinking Machines (Thinking Machines Lab) · published 13 November 2026

In one line: On one model, Inkling 2 Small (594B total, 17B active, a mixture of experts), Thinking Machines ran the expert layers' forward matmuls in NVFP4 and their backward matmuls in MXFP8 re-quantised with stochastic rounding, and sent expert-parallel traffic in 4.5 and 8.25 bits a value; in their largest jobs they report about 8% faster pretraining at about 2% compute efficiency and about 20% faster RL with no discernible difference in reward, both against full MXFP8, with no seeds, loss curves or reward curves published.

8% faster pretraining
wall clock against full MXFP8 training, in the lab's largest jobs (vendor figure, one model)
at about 2% compute efficiency; netted, about 5.5% less time to the same loss (derived, section 7) · in the article: the introduction
20% faster RL
against full MXFP8, sampling and training, with "no discernible difference in reward" (vendor figure)
no reward curve, task or run count given · in the article: the introduction
15 vs 5 PFLOPS
NVFP4 against MXFP8 matmuls on one GB300: the 3x peak behind the end-to-end 8%
NVFP4 stores 4.5 bits a value, MXFP8 8.25, BF16 16 (the article's format table) · in the article: the introduction

How far to trust it: Believe the mechanisms: each fix (column scales after a transpose, unbiased re-quantisation by stochastic rounding, an 8-bit combine after a Hadamard rotation) follows published work, checks out by arithmetic and does what the toy on this page shows, and two small replications on one B200 see the same direction. Treat the sizes as vendor figures for one model: no curves, seeds or baseline loss, an "8% speedup" that does not say whether it is time or throughput, and a cost that, netted, leaves about 5.5% less time to the same loss (derived). The evidence, judged.

Updated: the page's metadata gives a modification on 25 November; the only change in the text since the first archived copy (14 November) is a credit, "Like Quartet II" becoming "Like TetraJet-v2 and Quartet II" (compared in Provenance).

The idea in one sentence: 4-bit arithmetic is safe where rounding error is random and gets averaged away, and unsafe where it is systematic and compounds, so Thinking Machines put NVFP4 only in the forward matmuls of the expert layers (and the RL sampler, which runs the same forward), kept every backward matmul in MXFP8, and made the hand-over between the two unbiased with stochastic rounding.

You need: the formats and block scales (E2M1, E4M3, MXFP8, NVFP4: Quantization and Precision, sections 1, 2 and 6); round-to-nearest against stochastic rounding (Numerical computing for ML, section 2); what dispatch and combine are in an expert-parallel MoE layer (Mixture of experts).

New terms: compute efficiency (CE) (the article's cost measure: a technique with a CE cost of 2% reaches the loss that the MXFP8 baseline would reach with 2% fewer FLOPs); re-quantisation (de-quantise the forward pass's 4-bit tensor, transpose it, round it again into the backward pass's blocks); S2F6 (an 8-bit fixed-point format, two signed integer bits and six fraction bits, values from −2 to 127/64); RHT (random Hadamard transform, a rotation that spreads an outlier over many values); Inkling 2 Small (Thinking Machines' open MoE, 594B total and 17B active parameters, 48 layers, 8 of 384 experts per token, by its model card).

Each stage of training gets the format its risk allows: 4 bits only where speed matters and bias does not
The article's table of priorities (its "Risks" and "Rewards", one to three marks, a dash for none) redrawn, with the format each stage ended up with under its name. Pretraining forward: error 3, bias none, speed 2, memory none. Pretraining backward: error 1, bias 3, speed 2, memory none. RL sampler: error 3, bias none, speed 3, memory 3. RL trainer: error 1, bias 3, speed 1, memory none. Formats from the article's decisions list and its Recipe details; the table is the lab's own judgement, not a measurement.

1. Fewer bits buy speed; the question is where their error is harmless

The introduction

The article's frame is one trade, judged separately at four stages of training. Fewer bits mean less memory and faster arithmetic but coarser rounding, and rounding errors pile up across layers and steps (in the article). On a GB300, NVFP4 matmuls peak at 15 PFLOPS against 5 for MXFP8 and 2.5 for BF16; NVFP4 stores 4.5 bits a value (16 four-bit values plus one 8-bit scale), MXFP8 8.25 (32 eight-bit values plus one scale) (the format table). The article's "6x" is against BF16; against the MXFP8 baseline every result is measured from, the peak is 3 times.

Random error and systematic error are judged differently, and that decides the recipe. Speed matters most in pretraining (trillions of tokens) and RL sampling, where every generated token reloads the weights, so fewer bits per weight is fewer bytes per token (in the article). Backward passes average over many tokens, which dilutes random rounding error, but they are "very sensitive to quantization bias": rounding that leans one way compounds across layers, samples and steps (in the article). The hero figure is the article's table of these priorities, with the answer each stage got.

The result: one numerics configuration from the first pretraining step to the last RL rollout. The RL sampler runs the same NVFP4 forward the model was trained with, so no 4-bit checkpoint has to be calibrated at the end (in the article). The lab calls Inkling 2 Small the largest model it knows of trained end to end with a native 4-bit forward pass, and reports, in its largest jobs, an 8% wall-clock speedup in pretraining and 20% in RL over full MXFP8 (in the article).

2. The target: the expert layers, and only their forward pass

Choosing a target for quantization

Mixture-of-experts layers were chosen because they hold most of the matmul work and, empirically, lose the least accuracy when quantised (in the article). Attention, the router and the rest of the model are not part of the 4-bit recipe.

Full NVFP4 training failed the lab's bar; forward-only did not. Full MXFP8 in the MoE layers had "barely affected" compute efficiency (in the article); full NVFP4 gave "very large hits" to it (in the article); 4 bits in the forward pass alone gave the better trade (in the article). No numbers are given for any of the three. Keeping the backward in 8 bits creates the rest of the article's problems: the forward pass's 4-bit tensors must be handed to a backward pass that groups them differently (section 4), and the faster forward exposes the network (section 5).

3. NVFP4 in brief: 16 values share one fine-grained scale

Low-precision formats on Blackwell

An FP4 (E2M1) value is one of ±{0, 0.5, 1, 1.5, 2, 3, 4, 6}; NVFP4 multiplies every 16 consecutive values by one shared E4M3 scale, chosen from the block's largest magnitude (in the article). A block whose largest value is −54 stores it as −6 with a scale of 9. The scale is itself rounded: in the article's Figure 1, 593.7 wants a scale of 98.95, the nearest E4M3 value is 96, so it saturates at 96 × 6 = 576, an error of −17.7. Bit layouts and a bit explorer: Quantization and Precision, sections 1 and 2.

Why NVFP4 and not MXFP4: MX formats share a power-of-two (E8M0) scale per 32 values; NVFP4's E4M3 scale has 3 mantissa bits, so it sits closer to each block's real maximum, which the article says gives less error on LLM data (in the article). A third, FP32 scale over a large group (here one expert's weights or one token's activations) slides the 2−10 to 2,688 window up or down (in the article).

4. The transpose problem, and re-quantising with stochastic rounding

Block-scaled backward passes

The backward pass reads the forward pass's tensors transposed, so every value lands in a different block of 16 with a different scale. The forward y = xqwqT sums along rows of xq, so its blocks run along rows; the weight gradient dw = gTxq sums down columns (and dx = g·wq reads w the other way), so each value is grouped with 15 new neighbours (in the article). In the article's Figure 2, a 16 × 16 tile with one row of large values keeps all 256 values under row scales; under column scales the large row sets every scale and 221 small values round to zero. The backward pass then computes gradients for numbers the forward pass never used.

NVIDIA's fix for weights, one scale per 16 × 16 tile, makes both directions identical but was too coarse here. A square tile has the same blocks transposed (in the article), but one outlier among 256 values flushes the rest: in the article's Figure 3, 1 × 16 scales keep 241 of 256 values around an outlier, the tile keeps only the outlier. It hurt compute efficiency too much (in the article).

The insight: the backward tensor need not equal the forward one, only equal it in expectation (in the article). So the recipe de-quantises the forward tensors, transposes them in high precision and re-quantises them into the new blocks with stochastic rounding, which rounds up or down at random so the expected result is exact (in the article). The article's example: 5.4 in a block of scale 9 is 0.6, rounded to 0.5, so the forward pass used 4.5; in a backward block of scale 2 that is 2.25, which nearest rounding always makes 2 (so 4), while stochastic rounding gives 2 three quarters of the time and 3 a quarter, 4.5 on average (in the article). Blackwell does stochastic rounding in hardware.

And the backward target is MXFP8, not NVFP4: re-quantising from de-quantised values allows any format, and MXFP8 for both gradient matmuls gave the best trade (in the article). Re-quantising the forward tensors comes from TetraJet-v2 and Quartet II, which the article credits. The whole layer is the article's Figure 4, drawn beside other recipes as "NVFP4 MoE experts" in Quantization and Precision, Fig. 10.

The toy on the right hands one illustrative tile to the backward pass five ways and measures, exactly, the error that stays and the error that averages out. On the default tile (unit Gaussians and one value of 40), quantising x again down the columns leaves a 13.0% error against what the forward pass used, the same on every draw. The 16 × 16 tile has no mismatch, but its forward pass already lost 252 of 512 values to zero, against 49 with row scales. Stochastic NVFP4 is nearly unbiased (0.5%, from block maxima that saturate) but each draw is off by 13.4%; stochastic MXFP8, the article's choice, is unbiased with 2.0% noise, about 0.06% after 1,000 draws are averaged. MXFP8 with nearest rounding, what the two replications run because Transformer Engine's MXFP8 quantiser has no stochastic option, leaves a fixed 1.6%. Across the four tiles: 13.0% to 14.4% for the naive mismatch, 1.6% to 3.6% for nearest-rounded MXFP8.

How far this transfers: the tiles are made up (seeded) and 32 × 16; the formats and rounding are exact. It shows the direction and the order of magnitude of each choice, not what any choice costs Inkling 2 Small's loss. Whether a fixed rounding error behaves as bias in real training depends on whether it leans the same way across steps; on a fixed tile it does by construction.

Re-quantising the forward tile with stochastic rounding keeps the backward pass unbiased; MXFP8 also keeps it quiet
Tile:
Backward operand:
magnitude (darker is larger, log scale)used by the forward pass, 0 in the backward operandzero
Left, the forward pass's NVFP4 values, one scale per row of 16 (outlined); right, the backward operand, blocks down the columns, one stochastic draw (seeded). Table: values zeroed by the forward pass; the error that stays, ||E[b] − f|| / ||f||; the noise of one draw; what is left after 1,000 draws averaged; expected values the backward operand stores as 0. Exact, computed in the page and checked against src/recompute.py. Data illustrative.

5. Faster matmuls exposed the network, so the traffic went to 4.5 and 8.25 bits

Quantized communications

With NVFP4 matmuls the MoE forward should have run about three times faster than in MXFP8; instead it started waiting on expert-parallel communication (in the article). Tokens travel to their experts' GPUs (dispatch) and the outputs travel back to be summed (combine), over NVLink at 900 GB/s each way on a GB300 NVL72 rack, while the matmuls run at up to 15 PFLOPS: 16,667 floating-point operations per byte that arrives (derived; the article says "as many as 16,000") (in the article).

Dispatch was cheap to fix: the expert matmul quantises its input to NVFP4 anyway, so tokens are sent in NVFP4, and the backward pass uses those quantised activations, so nothing in high precision travels with them (in the article).

Combine was harder: the outputs feed the residual stream, and plain MXFP8 "impaired performance too much", which the article puts down to outliers (in the article). What worked: a 32-dimensional random Hadamard transform, which spreads each outlier over 32 values so a smaller scale fits, then S2F6 with one E8M0 scale per 32 values, with "no measurable accuracy degradation" (in the article); how the rotation flattens outliers is Quantization and Precision, Fig. 8. The transform and quantisation are fused into the second expert matmul's epilogue and undone on arrival. Combine falls from 16 to 8.25 bits a value (in the article), shortening the combine tail of the article's Figure 5 (no timings printed).

One MoE layer's traffic: 4-bit tokens out, rotated 8-bit outputs back, about half the bytes each way
The path of one token's hidden state through an expert on another GPU, with the bits per value on each NVLink hop. Dispatch sends NVFP4 (16 four-bit values plus one 8-bit scale = 4.5 bits); combine sends S2F6 after a 32-point random Hadamard transform (32 eight-bit values plus one 8-bit E8M0 scale = 8.25 bits), instead of BF16's 16. The steps follow the boxes of the article's Figure 5 (dispatch, w13 matmul, quantisation, w2 matmul, combine); the layout is redrawn, and the overlap of waves in that figure is not shown.

6. Kernels: the bottleneck moves to the ALUs

Kernels for low-precision training

At 4 bits the tensor cores stop being the only limit: scales, re-quantisation, stochastic rounding and data movement can stall a kernel whose tensor cores are saturated (in the article). The lab's MoE kernel stack, BBBK, is fully deterministic (in the article), feeds the GB300's largest two-SM matrix instruction from deep pipelines for matrices and scales, fuses the Hadamard and S2F6 steps, and keeps NVLink, ALUs and tensor cores busy together. It is not released, so none of this can be checked or reused.

7. The rest of the recipe, and what the 8% is worth after its cost

Recipe details

Four details complete the recipe. The last 16.6% of layers stay in MXFP8 (NVIDIA used 15%; the lab's ladder scales layer count by 6; in the release, layers 40 to 47 of 48) (in the article). Activations use Four Over Six (each block may map its maximum to 4 instead of 6; the post's author wrote that paper), weights do not (in the article). Outer FP32 scales are per expert for weights and per token for activations, from Cursor's Composer 2, so no token's scale depends on its batch or on later tokens (in the article). It ran unchanged through SFT and RL.

The cost: about 2% in compute efficiency in pretraining, and no visible cost in RL. The article defines it precisely: the NVFP4 run reaches the loss the MXFP8 run would have reached with about 2% fewer FLOPs (in the article); in RL, "a substantial end-to-end speedup with no discernible difference in reward" (in the article).

Two pieces of arithmetic the article leaves to the reader, in the calculator. First, why a 3 times faster matmul gives 8% overall: if the 4-bit matmuls take a share s of an MXFP8 step and run 3 times faster, the step speeds up by 1 / (1 − s + s / 3), and 1.08 needs s = 11.1% (derived, assuming the full 3 times peak; anything less than peak implies a larger share). Second, the net: the run needs 1 / 0.98 as many FLOPs for the same loss, so at 1.08 times the speed it reaches MXFP8's loss in 1 / 0.98 / 1.08 = 0.945 of the time, about 5.5% less (derived). If "8% speedup" instead means 8% less time, the net is 0.92 / 0.98 = 0.939, about 6.1% less. The RL figure implies a larger 4-bit share: 25.0% of the step at 3 times, or 36.7% if sampling is limited by weight bandwidth (8.25 / 4.5 = 1.83 times fewer bytes per weight). The article gives no breakdown of the step, so these shares are what its numbers imply, not measurements.

A 3 times faster matmul on a small share of the step is an 8% faster step, and about 5.5% after the efficiency cost
The 4-bit part is limited by:
Bars to scale, one MXFP8 step = 1: the share s moved to 4 bits and the rest; the recipe, s / r plus the rest (r = 3 for 15 against 5 PFLOPS, or 1.83 for 8.25 against 4.5 bits per weight); and, in pretraining, the time to MXFP8's loss, divided by 0.98. Defaults reproduce the article's 8% and 20% by construction (s is back-solved); the rest is derived (src/recompute.py).

8. Closing: 68 hours, and the backward pass next

Closing thoughts

Inkling 2 Small was pretrained in 68 hours on GB300 NVL72 racks, against several weeks for a similar model months earlier, and the article says numerics are one piece of that (in the article): the 68 hours is the whole stack, not this recipe's 8%, and comes with no token or GPU count. Next: FP4 for the backward pass, and Vera Rubin (in the article).

The toy's numbers on all four tiles

Every method on every illustrative tile, as in the table beside section 4 (percentages of ||f||; zero counts out of 512 values; written by the page from the same code, checked against src/recompute.py).

How much of this to believe

What holds up: every mechanism, and the direction of the result.

  • The reasoning is sound and checkable. Stochastic rounding is unbiased by construction, re-quantising the forward tensors is TetraJet-v2's and Quartet II's published idea, and the toy reproduces each qualitative claim of section 4. The printed arithmetic checks out: 4.5 and 8.25 bits, 16,667 operations per NVLink byte, the last 16.6% being layers 40 to 47 of 48.
  • It is a production recipe, with its cost stated. A 594B model trained this way is released under Apache 2.0, and the post gives the 2% efficiency cost, not only the gain.
  • Two small replications see the same direction. On one B200, an 840M GPT with an NVFP4 forward and 8-bit backward ended 0.003 above BF16 in validation loss (1.6911 against 1.6880, two seeds each; derived from its table), with steps 1.006 to 1.035 times faster than all-8-bit, growing with width; a 10.6M laptop run ended 1.5% above full precision. Both changed the recipe (per-tensor scales, nearest rounding), so neither tests it exactly.

What it does not show.

  • No curve, run count or seed for any number. 8%, 20% and 2% are single readings from unnamed "largest jobs", so whether 2% is outside run-to-run noise is unknown.
  • Every design decision is backed by a word, not a number: "very large hits", "too coarse", "too much", "no measurable" degradation, "no discernible difference in reward".
  • "8% wall-clock speedup" is ambiguous: 1.08 times the throughput is 7.4% less time; section 7's net (5.5% or 6.1%) depends on which.
  • Compute efficiency is measured by loss, which can miss what low precision costs. At 40M parameters (six seeds, emulated FP4), NVFP4 needed 1.32 to 1.52 times as many exposures to recall rare facts while validation loss moved 0.5% to 2% (Quantization and Precision, section 6). No downstream comparison with an MXFP8-trained model is reported.
  • Nothing to reproduce it with. BBBK and the training code are not released, and Transformer Engine's MXFP8 quantiser has no stochastic rounding, so both replications round to nearest there (a fixed 1.6% to 3.6% on the toy's tiles).
  • The release is NVFP4 and MXFP8 only. Fine-tuning it with small learning rates meets the 4-bit grid (responses, below), and the model card's "pretrained, midtrained and post-trained in NVFP4" is broader than the post: only the experts' forward matmuls were.

Verdict. Believe the mechanisms and the lesson behind them: put 4 bits where error is random and averaged (high-volume forward passes and sampling), keep the gradients in 8 bits, and make every hand-over between block layouts unbiased. Treat 8%, 20% and 2% as one lab's readings on one model, and expect a smaller net gain at equal loss (about 5.5% in pretraining, derived). Before adopting it, measure more than loss (rare-fact recall, downstream tasks), and check that your stack does stochastic rounding in the MXFP8 re-quantisation.

What the responses said

No rebuttal or critique was found; the responses are two small replications and one open-source port, which raised a practical problem with the released weights. Searched on 27 November 2026: the web, GitHub, arXiv and X. The Hacker News submission was small (24 points in the knowledge base's research reading of 27 November; the thread could not be opened from the build machine to re-read it), and news sites (AlphaSignal, FourWeekMBA) restated the vendor figures.

  • replication4bit-training-b200: 4-bit training, tested on one NVIDIA B200
    Raj Dandekar and Vizuara AI Labs, 15 November 2026

    An 840M GPT on TinyStories, 2,000 steps: NVFP4 forward with an 8-bit backward reached validation loss 1.6912 and 1.6910 (two seeds) against 1.6886 and 1.6873 in BF16; steps 1.006 to 1.035 times faster than all-8-bit at widths 2,048 to 8,192. Backward FP8 with per-tensor scales, not MXFP8; no Four Over Six.

  • port plan[Feature] End-to-end 4-bit MoE training: NVFP4 forward, MXFP8 backward, quantized EP comm (radixark/miles #4952)
    HJSang (Miles, the RL framework), 19 November 2026

    Plans the recipe in six phases for Miles (Megatron, Transformer Engine); the stochastic MXFP8 backward needs a Transformer Engine fork. Its current Inkling trainer runs experts in BF16 with fake-quantised weights, part of a 0.019 train-rollout log-probability gap. Open, no pull request, on 27 November.

  • replicationlooped-transformer-4bit: replicating Inkling 2 Mini with 4-bit forward passes
    Saurabh Ghatnekar, 23 November 2026

    A 10.6M model on TinyStories, laptop, emulated: 4-bit forward with MXFP8 backward 1.214 nats per byte at step 300 against 1.196 in full precision (one run each). Rounds the backward re-quantisation to nearest, because Transformer Engine's MXFP8 quantiser has no stochastic option.

  • questionRL on the released NVFP4 weights (a comment on miles #4952)
    LejsDeen, 24 November 2026

    RL on Inkling 2 Mini from the release weights (fp32 master, fake-quantised experts): Adam steps of about 1e-6 against NVFP4 grid steps of 1e-3 to 1e-2, so almost no expert code flips, and learning about as slow as with experts frozen. Asks for full-precision master weights; unanswered on 27 November.

Where the responses are right. The Miles comment is fair about the release, not the recipe: whatever higher-precision state the lab trained with (the post never says how its master weights or optimiser state are kept), it published only 4-bit and 8-bit weights, so anyone fine-tuning them with a small learning rate hits the same rounding dead zone that Fair Cast measured in bf16. And the replications' note about Transformer Engine is a real gap between the recipe and what open tools can run today.

Where it moves the knowledge base

  • Quantization and Precision, section 6, holds the recipe; its "no parameter count" is out of date (594B total, 17B active), its "8% less wall-clock time" overstates what the article says, and the transpose mismatch, the MXFP8 stochastic backward and Transformer Engine's missing stochastic quantiser extend it.
  • Numerical computing for ML, section 2: stochastic rounding used to move a tensor between block layouts while keeping its expectation.
  • RL for LLMs: RLHF, GRPO, RLVR: one numerics configuration from pretraining to the last rollout, so the sampler needs no calibrated 4-bit checkpoint; 20% faster RL than full MXFP8 (vendor).
  • Fair Cast: the same rounding dead zone at 4 bits, on released NVFP4 weights.
  • Mixture of experts: dispatch and combine quantised separately, NVFP4 out and rotated S2F6 back.
Since the article (checked 27 November 2026): the release and adoption
  • Inkling 2 Small model card (12 November 2026): Apache 2.0 weights, NVFP4 the main release and an MXFP8 checkpoint beside it; no full-precision weights. It says the model "was pretrained, midtrained and post-trained in NVFP4", which is shorter than the post: only the expert layers' forward matmuls were NVFP4.
  • Inkling 2 Small in NVIDIA NeMo AutoModel (27 November 2026): Lists the NVFP4 release as NVFP4 experts in layers 0 to 39 and MXFP8 in layers 40 to 47: the last 8 of 48 layers, 16.7%, the post's "last 16.6%". The native implementation is not yet merged.
  • The Miles port (radixark/miles #4952) (27 November 2026): The first open-source framework to plan the full recipe; open with no linked pull request when checked.
Provenance: what was read, fetched and compared

The post was fetched on 27 November 2026 and its main text extracted to src/inputs/article.txt (3,773 words with its sidenotes, 16 minutes at 230 words a minute; sidenotes kept as their own blocks); every "in the article" link on this page is a text fragment checked against that extract at build time. The page's metadata gives publication on 13 November and a modification on 25 November. Three Wayback Machine copies (14 November 13:12 UTC, the first; 15 November 07:45; 16 November 17:17) were extracted the same way and compared with the current post: the only change in the text is in section 5, "Like Quartet II" becoming "Like TetraJet-v2 and Quartet II".

Figures: the post's figures are interactive and carry no open licence (the site says "Thinking Machines Lab © 2026"), so none is embedded; the priority table and the MoE traffic are redrawn from what the post prints, and credited. The toy and the calculator are this page's own, from the formulas the post states. Sizes of Inkling 2 Small come from its Hugging Face model card (read 27 November); the layer split of the release from NVIDIA's NeMo AutoModel model-coverage page.

Responses were read on GitHub (the two replication repositories at their state of 27 November, created 15 and 23 November; the Miles issue and its one comment). Not found or not checkable: a Hacker News thread with comments to read (the site refused the build machine); a Latent Space item on the post itself (its AINews issue covers the Inkling launch, not the recipe); any reply by the lab.