models use a recurrent state that must be read and updated per token, causing memory bandwidth bottlenecks. LeapQuant is a training-free method that quantizes this state to 8-bit by introducing per-window quantization to reduce error accumulation and compensator tokens to handle outliers. It achieves accuracy comparable to FP32 while reducing state memory traffic by 3.4x and end-to-end memory by up to 56%, and delivers average speedups of 2.05-3.70x at the kernel level and 1.47x end-to-end on NVIDIA GPUs.
Training-free quantization halves memory traffic for linear attention states
LeapQuant uses per-window updates and outlier-compensating tokens to achieve 8-bit state compression without accuracy loss.
Big Tech
Yi Pan · Haocheng Xi · Kan Zhu · Xingyang Li · Yibo Wu · Mayank Mishra · +7 more
UC Berkeley · University of Washington · MIT · Perplexity AI · NVIDIA
Research Digest··3 min read
Thread:Subquadratic Attention
In one line
LeapQuant quantizes recurrent states to 8-bit with near-lossless accuracy, reducing memory and speeding inference in linear attention models.
Before you read this
Three ideas this paper builds onlinear attentionAn attention mechanism that computes attention with linear, rather than quadratic, complexity in sequence length.26 papers →post-training quantizationQuantizing pre-trained neural network weights and activations to54 papers →hybrid attentionCombining different attention types (e.g., linear and full) or positional/semantic strategies in one model to balance efficiency, accuracy, and memory.22 papers →
Read it as
The authors propose LeapQuant, a training-free method for 8-bit quantization of recurrent states in linear attention layers.
The authors identify two sources of accuracy degradation when naively quantizing recurrent states: error accumulation from repeated quantization at every token, and large outliers in state rows and columns that widen the quantization range.
How it works
before and afterThe Daily Edition
The front page in your inbox each weekday morning: the lead, the picks, and why each one earned its place.