# LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization

DevFeed: [LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization](<https://devfeed.tech/articles/leapquant-efficient-linear-attention-with-accurate-recurrent-state-quantization-128146.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.38166>)

Author: 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, Ion Stoica

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [compute](<https://devfeed.tech/tags/compute.md>), [compute-costs](<https://devfeed.tech/tags/compute-costs.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [glm](<https://devfeed.tech/tags/glm.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [inference](<https://devfeed.tech/tags/inference.md>), [kimi](<https://devfeed.tech/tags/kimi.md>), [linear](<https://devfeed.tech/tags/linear.md>), [llms](<https://devfeed.tech/tags/llms.md>), [long-context](<https://devfeed.tech/tags/long-context.md>), [nvidia-b200](<https://devfeed.tech/tags/nvidia-b200.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [recurrent](<https://devfeed.tech/tags/recurrent.md>), [rtx-5090](<https://devfeed.tech/tags/rtx-5090.md>), [rtx-pro](<https://devfeed.tech/tags/rtx-pro.md>), [rtx-pro-6000](<https://devfeed.tech/tags/rtx-pro-6000.md>), [state](<https://devfeed.tech/tags/state.md>)

## AI overview

LeapQuant reduces the cost of recurrent-state reads and updates in linear-attention LLMs using training-free 8-bit quantization. It quantizes once per token window, computing within the window from a fixed low-bit state plus high-precision buffered updates to limit accumulated rounding error. It also preserves the state's largest outliers as high-precision Compensator Tokens and smooths the remaining residual before quantization. Experiments across Qwen, Kimi, and GLM report accuracy comparable to an FP32 baseline, with 2.05-3.70x average kernel speedups and 1.47x end-to-end speedup on NVIDIA B200, RTX PRO 6000, and RTX 5090 GPUs.

## Source excerpt

arXiv:2609.38166v2 Announce Type: replace-cross Abstract: Recent LLMs increasingly adopt hybrid designs that replace standard attention with linear attention, such as Gated DeltaNet (GDN) and Kimi Delta Attention (KDA). Although they compress the context into a fixed-size recurrent state and substantially reduce the cost of long-context processing, repeatedly reading and updating that state remains a major inference bottleneck. Quantization offers a natural way to reduce this cost, but can significantly degrade model quality, due to the accumulation of rounding errors and the presence of outlier rows and columns in the state. To address these challenges, we propose LeapQuant, a training-free method that achieves near-lossless performance under 8-bit recurrent-state quantization. First, to mitigate error accumulation, we propose per-window quantization, which leaps over a window of tokens and quantizes the state only once at its end. Within a window, outputs are computed from the fixed low-bit state together with high-precision buffered updates. Second, to reduce the error introduced by each quantization, LeapQuant retains the state's largest outliers as a few high-precision Compensator Tokens, which share the update path of real tokens. We then smooth the remaining residual before quantization to further reduce the error. Comprehensive experiments across the Qwen, Kimi, and GLM model families show that LeapQuant substantially reduces memory and compute costs during inference. With accuracy comparable to the FP32 baseline, it achieves average speedups of 2.05--3.70$\times$ at the kernel level and 1.47$\times$ for end-to-end inference on NVIDIA B200, RTX PRO 6000, and RTX 5090 GPUs.