STEPQuant quantizes linear-attention recurrent states, cutting serving memory by 68.7%

机器之心 · wechat · 2026-11-30

Researchers from Zhejiang University and CAS propose STEPQuant, a post-training quantization framework for Delta-rule recurrent states used in hybrid models like Qwen3.8 and Kimi Linear. Linear attention replaces the growing KV cache with a fixed-size state, but in high-concurrency serving the state pool grows linearly with batch size — for Qwen3.8-27B, FP32 state memory already exceeds BF16 weights at 70 concurrent requests.

Direct low-bit quantization fails badly: uniform INT6 drops average accuracy from 80.60% to 45.04%. STEPQuant tackles error from two angles: lifetime-aware bit allocation gives more bits to units with long-lived errors (validated by a 0.80 Spearman correlation between gate half-life and accumulated error), and key-row-aware dual-axis fitting handles outliers on both rows and columns. Implemented as fused kernels in SGLang, it compresses state 5x, cuts total serving memory by up to 68.7% at batch size 512, boosts decode throughput 20%, and nearly matches FP32 accuracy at nominal 6-bit while 4-bit beats uniform INT8. Paper and code are open-sourced.

Original post →

More from Infra

Infra channel →