LeapQuant: Efficient Linear Attention with Accurate Recurrent State Quantization
TL;DR - LeapQuant is a training-free method for 8-bit quantization of recurrent states in linear-attention LLMs, maintaining near-FP32 accuracy while reducing inference memory and compute costs. It reports kernel-level speedups of 2.05–3.70× and a 1.47× end-to-end speedup across several NVIDIA GPUs.
- Per-window quantization limits accumulated rounding error by quantizing the recurrent state only once after each token window.
- High-precision buffered updates preserve output quality within each window while the fixed state remains low-bit.
- “Compensator Tokens” retain the largest state outliers at high precision, while smoothing makes the residual easier to quantize.
- Experiments span Qwen, Kimi, and GLM model families and NVIDIA B200, RTX PRO 6000, and RTX 5090 GPUs.