STEPQuant reduces memory use for recurrent states in AI models

Paper / preprint arXiv cs.AI · Reported findings, not independently verified by us.

The research project STEPQuant aims to reduce the memory required by recurrent states in AI models without substantially sacrificing accuracy. In experiments, it came close to the accuracy of FP32 states with a nominal 6-bit budget. This matters for concurrent model serving, where persistent states can become a significant memory bottleneck.

With linear attention, compact, continually updated states replace growing key-value caches. When these states are heavily compressed, quantization errors can carry over into later updates. The researchers report that an error’s impact depends both on how long it remains in memory and on which key row it affects. Values also vary substantially across different parts of the state.

STEPQuant allocates precision selectively across space and time. The post-training method accounts for error magnitude and the lifetime of stored information. It also jointly fits scales for key rows and value columns to the state distributions and to the effect of key rows on output error.

Experiments with Qwen3.8-27B and Kimi-Linear-48B-A3B-Instruct covered both short- and long-generation tasks. In its 4-bit configuration, STEPQuant outperformed uniform INT8 quantization. Integrated into SGLang with optimized GPU kernels, the 6-bit method compressed recurrent states by more than 5x and reduced total serving memory by up to 68.7%. The paper provides further details on the method and evaluation: arXiv: STEPQuant

🇬🇧 https://arxiv.org/abs/2609.38169v1

Leave a Comment

The weekly brief: selected developments, projects and videos