LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization
LeapQuant nearly matches FP32 quality with training-free 8-bit recurrent-state quantization.
LeapQuant is a training-free method for quantizing recurrent states in hybrid LLMs that use linear attention, including Gated DeltaNet and Kimi Delta Attention. Per-window quantization reduces accumulated rounding error, while a few high-precision compensator tokens retain the largest outliers before the residual is smoothed and quantized. Across the Qwen, Kimi, and GLM families, it reports accuracy comparable to an FP32 baseline. It achieves average kernel speedups of 2.05-3.70x and 1.47x end-to-end inference speedup on NVIDIA B200, RTX PRO 6000, and RTX 5090 GPUs.
- Training-free 8-bit quantization for recurrent linear-attention states
- Per-window quantization limits accumulated rounding error
- High-precision compensator tokens preserve large state outliers
- Reports 2.05-3.70x kernel and 1.47x end-to-end speedups
- Vendors
- NVIDIA
From the original article
1 min read at arxiv.orgRecent 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.
By Yi Pan · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.