Paper Explained: Why Gated DeltaNet Survives 4-Bit Quantization — NVFP4 W4A4 in a Hybrid 27B
A walkthrough of the paper that tested — and overturned — the belief that the recurrent half of a hybrid LLM is too fragile for 4-bit quantization, and explained mechanistically why log-space gates and the delta rule erase quantization noise.
Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM
Primary source — what this article is built on
undefined2026-09-03→undefined2026-09-06same month
Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLMSergii Kozyrev, Davyd Maiboroda · 2026-09-03 · v1arXiv:2609.04098Paper page·PDFundefined
Hybrid LLMs pair softmax attention with linear-attention layers such as Gated DeltaNet (GDN), whose recurrent state summarizes the context in fixed size. Early community 4-bit quantizations of Qwen3.8-27B (48 GDN layers, 16 attention layers) left the GDN block in 8- or 16-bit precision -- especially its decay and write-strength gates -- on the intuition that errors in a recurrence accumulate over long contexts. We test that intuition by building Minima: NVFP4 W4A4 on all 496 linear layers, GDN included. Across perplexity at 4K/32K, MMLU-Pro, GSM8K, AIME'25, GPQA-Diamond, LiveCodeBench, and RULER retrieval to 64K, Minima matches BF16 within seed noise (5-task average -0.52) while being the smallest (17.5 GiB) and fastest-prefill (+14-19%) recipe we compare, and its 32K perplexity gap shrinks with position. A four-part mechanism study explains why: (i) NVFP4's 16-element block scaling localizes the residual stream's extreme outliers, equalizing activation error across layer roles; (ii) the supposedly fragile gate projections are the least sensitive -- softplus/exponential and sigmoid parameterizations compress ~11% GEMM error to ~2% output error; (iii) the delta-rule recurrence holds injected noise at a flat plateau over 32K tokens and forgets a state impulse within hundreds of steps, because each write overwrites the state along the current key direction; (iv) the per-token quantization cost washes out with context instead of compounding. We also repair a global-scale mismatch that arises when per-module-calibrated NVFP4 checkpoints are served by kernels that fuse those modules into one GEMM, and show calibrated FP8 KV-cache scales are performance-free. The result: a practical recipe -- quantize everything, ship KV scales -- and a mechanistic account of why the recurrent half of a hybrid LLM is the easy half to quantize. Checkpoint: https://huggingface.co/minima-ai/mnma_qwen3.8_27b_nvfp4
Questioning the intuition that recurrence is fragile
The paper read here is "Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM" (Sergii Kozyrev, Davyd Maiboroda / arXiv:2609.04098, 3 Sep 2026).
Here is its abstract in plain terms. Frontier open models are increasingly hybrid: most layers replace softmax attention with a linear-attention operator whose state is a fixed-size matrix summarizing the whole context — in Qwen3.8-27B, 48 of 64 layers are Gated DeltaNet (GDN) and only 16 are full attention. Yet every early 4-bit build of that model left the GDN block, and especially its decay and write-strength gate projections, at 8 or 16 bits, on the reasoning that errors inside a recurrence accumulate. The paper tests that reasoning by building Minima: NVFP4 W4A4 across all 496 linear layers, GDN included, and evaluating it on perplexity at 4K/32K, MMLU-Pro, GSM8K, AIME'25, GPQA-Diamond, LiveCodeBench, and RULER retrieval to 64K. Minima matches BF16 within seed noise (5-task average ) while being the smallest (17.5 GiB) and fastest-prefill (+14–19%) recipe compared — and its 32K perplexity gap shrinks with position. A four-part mechanism study explains why.
An analogy: broken telephone, or an overwritten whiteboard?
The fear about recurrence is the game of broken telephone. Each person mishears a little; a hundred people later nothing survives. Inject 4-bit rounding error into a layer that updates a state every step, the argument goes, and thirty thousand tokens later it must be wrecked.
What the paper shows is that GDN's state behaves more like a shared whiteboard. Each new token erases and rewrites the slot corresponding to its own key. Old writes do not merely fade — they get deleted. Errors disappear at the same rate.
Background 1: what rounding to 4 bits actually does
NVFP4 stores values in E2M1 (1 sign, 2 exponent, 1 mantissa bit) with one E4M3 scale per 16-element block (set to blockmax/6) plus one FP32 scale per tensor. W4A4 means both weights and activations are quantized at that granularity, so the GEMM runs on native 4-bit tensor cores (§2).
Two consequences matter later. First, a block's largest value fixes its scale, so an outlier degrades only its own 15 neighbors. Second, within a block , which bounds how "one-hot" a block can get. The fastest way to feel what coarse quantization does is to watch it in image compression.
Background 2: what Gated DeltaNet computes
A GDN layer projects the residual stream through four linear maps: in_proj_qkv (which passes a depthwise causal convolution and SiLU before splitting into ), the output gate in_proj_z, and two scalar-per-head gate projections in_proj_a and in_proj_b. The gates are parameterized in log space (§2).
Read it aloud: is the raw projection output; pushed through softplus and an exponential it becomes , how much to keep (closer to 1 means forgetting less); and through a sigmoid becomes , how hard to write. Note where quantization noise lands — not on itself but on , upstream of the nonlinearity. That detail carries the whole result.
The per-head state (a matrix) then evolves over -normalized keys and queries:
The term in parentheses, , is the point: it is the difference between what the state currently answers for key and the value we actually want stored. GDN does not accumulate ; it replaces whatever sat along the direction of with . That is why it is called the delta rule.
So five weight matrices per GDN layer are candidates for quantization, and the community consensus protects and entirely while keeping the rest at 8 bits. Minima instead quantizes 496 tensors — 240 GDN, 64 attention, 192 MLP projections — leaving only embeddings, lm_head, the GDN conv1d, the norms, and /dt_bias in BF16, calibrated on a frozen set of 128 samples × 32K tokens and served text-only on a single RTX PRO 6000 with native NVFP4 support (§3).
Main result: quantize all of it, nothing breaks
Four checkpoints, one regime (vLLM 0.27.1, TP=1, a single RTX PRO 6000, FP8 KV cache, identical harness) (§4): BF16, Minima, and the two public builds Unsloth Dynamic v3 and RadixArk — both of which keep GDN and attention at FP8 W8A8 with / in BF16 and quantize only the MLPs to NVFP4. Three things come out of the comparison, and the third one is where the paper's argument actually starts.
Comments
Sign in to comment