2026-11-26 15:37 UTC

LeapQuant targets linear-attention state costs with training-free quantization

state: seedheat: mediumuncertainty: mediumrelevance: highlinear-attention state-quantization inference-efficiencyYi PanHaocheng XiSong HanIon Stoica

What is this?

LeapQuant is a training-free method for quantizing the recurrent states used by linear-attention layers in language models. The paper, by researchers affiliated with UC Berkeley, the University of Washington, MIT, Perplexity AI and NVIDIA, describes quantizing states to low precision while reducing accumulated rounding error with windowed updates, high-precision outlier compensation and residual smoothing. The authors’ project page reports tests on Qwen, Kimi and GLM models and NVIDIA B200, RTX PRO 6000 and RTX 5090 GPUs; code is linked. The arXiv record dates to September 29, 2026. The supplied evidence consists mainly of the authors’ project page and paper listing, not independent validation or evidence of adoption.

Why it matters

Linear attention reduces the cost of processing long contexts by keeping a fixed-size recurrent state, but repeatedly reading and writing that state can still consume memory bandwidth and GPU capacity. If LeapQuant’s reported results generalize, quantizing the state could make serving these models faster or less memory-intensive, potentially letting providers serve more requests or fit more context and concurrency on existing hardware. The result is promising but remains a research report: the gains depend on tested models, configurations and GPUs, and real-world deployment and independent confirmation are not established here.

Current assessment

New development: the LeapQuant authors describe and provide code for training-free recurrent-state quantization, addressing a serving bottleneck specific to linear-attention layers. Their project page reports accuracy comparable to an FP32 baseline at 8 and 6 bits and within 3.4 average points at 4 bits across stated benchmarks; it also reports 3.4× lower state-memory traffic, up to 56% lower end-to-end memory footprint, 2.05–3.70× kernel speedups, and a 1.57× average end-to-end inference speedup integrated into vLLM. These are author-reported evaluation results, not evidence of broad deployment or independently reproduced performance. A search result for an OpenReview PDF reports 1.47× end-to-end speedup, differing from the project page’s 1.57×; the supplied sources do not explain whether this reflects a different version or evaluation. Track the paper and implementation for methodology, reproducibility, supported models and serving conditions, and whether the reported memory and throughput gains carry over to production workloads.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 345h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-12 07:29 (minted)⭐ origin echo-reconstructedThe authors describe an 8-bit recurrent-state quantization method for linear attention and report accuracy comparable to FP32, reduced state
Yi Pan, Haocheng Xi, Kan Zhu, Xingyang Li, Yibo Wu, Mayank Mishra, Hongtao Zhang, William X. Zheng, Baris Kasikci, Song Han, Kurt Keutzer, Rishabh Iyer, and Ion Stoica on paper (echo) · attributed from hn.story.50463831 · published time unknown
—
11-12 06:44first on hacker news · published · lag ?LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization
matt_d
—
11-12 06:44amplified on hacker news 👑hn.story.50463831
matt_d
peak 2 · 0 comments · 103% of case engagement
11-12 07:24our radar first saw it · lag ?discovery anchor: hn.story.50463831—
pace: p11 vs 1845 stories at the 336h mark (now 345h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnLeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization
Retrieved article excerpt

Open article · Retrieved 2026-11-12T07:25:37.074103+00:00

# LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization

[Yi Pan](https://conless.dev)1\*,
[Haocheng Xi](https://haochengxi.github.io/)1\*,
[Kan Zhu](https://kanzhu.netlify.app/)2,
[Xingyang Li](https://acm.sjtu.edu.cn/~xyli/)3,
[Yibo Wu](https://scholar.google.com/citations?user=QiYCvosAAAAJ)4,
[Mayank Mishra](https://mayank31398.github.io/)1,
[Hongtao Zhang](https://taooceros.vercel.app/)2,
[William X. Zheng](https://xinze-zheng.github.io/)1,
[Baris Kasikci](https://homes.cs.washington.edu/~baris/)2,
[Song Han](https://hanlab.mit.edu/songhan)3,5,
[Kurt Keutzer](https://people.eecs.berkeley.edu/~keutzer/)1,
[Rishabh Iyer](https://rishabh246.github.io/)1,
[Ion Stoica](https://people.eecs.berkeley.edu/~istoica/)1

1 University of California, Berkeley
2 University of Washington
3 Massachusetts Institute of Technology
4 Perplexity AI
5 NVIDIA
  
\*Indicates Equal Contribution

[Paper](https://arxiv.org/pdf/2609.38166)

[arXiv](https://arxiv.org/abs/2609.38166)

[Code](https://github.com/leapquant/leapquant)

[![

](static/images/demo_poster.jpg)](static/videos/demo.mp4)

## TL;DR

**LeapQuant** is a **training-free** method that quantizes the recurrent state of linear attention to **8 bits**
with **near-lossless** model quality. With accuracy comparable to the FP32 baseline, it achieves average speedups of
**2.05–3.70×** at the kernel level and **1.57×** for end-to-end inference on NVIDIA B200,
RTX PRO 6000, and RTX 5090 GPUs.

## Overview

Recent LLMs in the Qwen, Kimi, and GLM model families replace many standard attention layers with linear attention,
such as Gated DeltaNet (GDN) and Kimi Delta Attention (KDA). Linear attention compresses the context into a
fixed-size recurrent state, which reduces the cost of long-context processing.

However, the recurrent state still imposes substantial memory bandwidth and capacity costs. For each generated token,
a linear attention layer loads its state from HBM, applies a lightweight update, and writes it back, so decoding is
bottlenecked by memory bandwidth. The state also takes a large share of GPU memory when prefix caching is enabled,
as serving systems keep a separate state for each cached prefix.

Recurrent-state access is a major cost of LLM serving

(a) Linear attention takes a large share of decoding time. (b) Recurrent states take a large share of GPU
memory under prefix caching.

## Why Recurrent State Quantization is Challenging

Quantizing the recurrent state is a natural way to reduce both memory traffic and footprint, but it can significantly
degrade model quality. The state is **updated recurrently** at every decoding step, so the rounding error introduced
by each quantization is carried into all later states and **accumulates** over long contexts. In
addition, the state contains **outlier rows and columns** that widen the quantization range and force smaller
values onto coarse quantization levels, amplifying the error of each quantization.

Accurate low-bit quantization therefore requires reducing both *how often* error is introduced and
*how much* error each quantization introduces. LeapQuant addresses both with three training-free techniques.

## Per-Window Quantization

To limit error accumulation, LeapQuant ***leaps*** over a window of tokens before quantizing the state again.
At the beginning of each window, LeapQuant stores the recurrent state in low precision. Within the window, it holds
this state fixed, buffers higher-precision token updates, and computes each output from the fixed state and the
buffered updates. Only at the end of the window does it reconstruct and quantize the full updated state for the next
window, so quantization error is introduced far less often.

Per-token versus per-window quantization

## Compensator Tokens

To reduce the error of each quantization, LeapQuant captures the state's largest outliers in high precision as a few
**Compensator Tokens**. Each Compensator Token is a high-precision outer product of two vectors, capturing
large-magnitude patterns across both rows and columns and leaving a residual that is easier to quantize. Since these
rank-one terms have the same form as real-token updates, LeapQuant incorporates them directly into the window's
update path, using only a few additional vectors and no separate state update.

Per-window state reconstruction with Compensator Tokens

## Residual Smoothing

After the Compensator Tokens are removed, the residual can still have uneven magnitudes across key channels, and a few
large channels can dominate the quantization scale. LeapQuant smooths the residual before quantization to balance its
row magnitudes. The smoothing scales stay fixed within each window and are recomputed at every window boundary.
In a Qwen3.5-9B head, Compensator Tokens and smoothing reduce outliers from 176× the median magnitude to 5.3×.

State magnitude before and after Compensator Tokens and smoothing

## Key Results

We evaluate LeapQuant on models from the Qwen, Kimi, and GLM families. At 8 bits, LeapQuant achieves accuracy
comparable to the FP32 baseline, while reducing state memory traffic by 3.4× and end-to-end memory footprint by
up to 56%.

### Accuracy

Downstream accuracy (%, higher is better, averaged over three seeds) on AIME 2026, BeyondAIME, GPQA-Diamond, and
LiveCodeBench v6. Naive FP8/INT8 state quantization collapses on Qwen3.5-9B, and even BF16 loses 11.5 points on
average, while LeapQuant matches FP32 at 8 and 6 bits and stays within 3.4 points at 4 bits.

| Method | Qwen3.5-9B | | | | GLM-5.3-Flash | | | | Qwen3.8-Flash-Next | | | | Avg. |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| AIME | Beyond | GPQA | LCB | AIME | Beyond | GPQA | LCB | AIME | Beyond | GPQA | LCB |
| FP32 | 87.9 | 63.3 | 81.3 | 64.1 | 92.2 | 80.7 | 92.1 | 85.2 | 98.5 | 85.1 | 91.4 | 86.8 | 84.0 |
| BF16 | 72.1 | 33.7 | 66.2 | 49.6 | 76.7 | 57.2 | 90.6 | 74.6 | 96.8 | 78.8 | 90.2 | 84.0 | 72.5 |
| 8-bit methods | | | | | | | | | | | | | |
| LeapQuant | **87.9** | **64.0** | **81.8** | **64.1** | **91.1** | **83.2** | **91.2** | **87.5** | **99.0** | **85.3** | **91.6** | **85.8** | **84.4** |
| FP8 | 0.0 | 0.1 | 2.2 | 5.9 | 69.6 | 44.2 | 82.0 | 53.2 | 82.5 | 52.8 | 76.8 | 71.5 | 45.1 |
| INT8 | 3.9 | 1.8 | 17.2 | 10.7 | 87.4 | 66.8 | 90.4 | 67.4 | 67.5 | 41.8 | 61.3 | 56.0 | 47.7 |
| KVQuant | 70.3 | 39.9 | 66.8 | 55.5 | 87.9 | 72.8 | 90.6 | 83.0 | 94.7 | 74.2 | 87.2 | 79.9 | 75.2 |
| QuaRot | 11.4 | 7.4 | 38.2 | 35.6 | 91.0 | 76.2 | 90.9 | 78.6 | 88.3 | 61.0 | 84.7 | 72.0 | 61.3 |
| TurboQuant | 67.9 | 43.2 | 62.0 | 42.2 | 83.8 | 67.3 | 89.9 | 73.8 | 95.4 | 78.4 | 89.9 | 84.7 | 73.2 |
| 6-bit methods | | | | | | | | | | | | | |
| LeapQuant | **87.9** | **63.6** | **81.0** | **65.4** | **92.9** | **82.7** | **91.2** | **86.3** | **98.8** | **85.8** | **89.9** | **86.8** | **84.4** |
| TurboQuant | 19.3 | 7.2 | 33.2 | 13.0 | 88.1 | 66.8 | 88.0 | 66.2 | 94.4 | 73.1 | 88.2 | 83.7 | 60.1 |
| MXFP6 | 0.0 | 0.0 | 0.8 | 0.5 | 71.4 | 44.8 | 82.7 | 53.4 | 59.2 | 34.6 | 63.3 | 58.0 | 39.1 |
| NVFP6 | 0.0 | 0.1 | 1.5 | 7.6 | 39.2 | 17.1 | 67.8 | 36.9 | 80.4 | 52.9 | 73.7 | 67.4 | 37.1 |
| 4-bit methods | | | | | | | | | | | | | |
| LeapQuant | **85.0** | **60.1** | **80.0** | **61.3** | **85.7** | **69.0** | **91.4** | **75.3** | **98.6** | **83.8** | **91.6** | **85.8** | **80.6** |
| TurboQuant | 3.5 | 1.4 | 26.8 | 11.5 | 59.7 | 43.2 | 77.9 | 49.4 | 79.3 | 49.8 | 74.9 | 62.8 | 45.0 |
| MXFP4 | 0.0 | 0.0 | 3.7 | 0.3 | 25.3 | 18.6 | 70.9 | 29.3 | 1.7 | 2.8 | 25.4 | 22.6 | 16.7 |

Best score in each column within the 8-bit, 6-bit, and 4-bit groups is in bold.
Beyond = BeyondAIME, LCB = LiveCodeBench v6. Full results on more models and tasks are in the paper.

### Kernel Throughput

On one linear attention layer, LeapQuant achieves average speedups of 2.05–3.70× over the FP32 state
across GDN and KDA layers on B200, RTX PRO 6000, and RTX 5090 GPUs.

Kernel throughput of one linear attention layer

### Decode Throughput

On pure decode steps in vLLM at 4K context, LeapQuant improves throughput by 1.22–1.29× at the largest
batch size on B200 and by 1.22–1.57× on RTX PRO 6000. The gain grows with batch size, as linear attention
takes a larger share of each step.

Decode-step throughput in vLLM at 4K context

Decode-step throughput in vLLM at context length 4K. On the RTX PRO 6000, which has limited memory, we use a
smaller maximum batch size and context length, and only 8 layers of GLM-5.3-Flash and Qwen3.8-Flash-Next.

### End-to-End Inference

Integrated into vLLM, LeapQuant achieves an average end-to-end speedup of 1.57×.

End-to-end inference throughput

## BibTeX

```
@article{pan2026leapquant,
  title   = {LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization},
  author  = {Pan, Yi and Xi, Haocheng and Zhu, Kan and Li, Xingyang and Wu, Yibo and Mishra, Mayank and
             Zhang, Hongtao and Zheng, William X. and Kasikci, Baris and Han, Song and Keutzer, Kurt and
             Iyer, Rishabh and Stoica, Ion},
  journal = {arXiv preprint arXiv:2609.38166},
  year    = {2026}
}
```
matt_d20
🟧 echo.paper ⭐The authors describe an 8-bit recurrent-state quantization method for linear attention and report accuracy comparable to FP32, reduced stateYi Pan, Haocheng Xi, Kan Zhu, Xingyang Li, Yibo Wu, Mayank Mishra, Hongtao Zhang, William X. Zheng, Baris Kasikci, Song Han, Kurt Keutzer, Rishabh Iyer, and Ion Stoica——

Interpretation history

Decision trace