STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization
Bingchen Yao, Haobo Xu, Haokun Lin, Yichen Wu, Ziyu Guo, Renrui Zhang, Zhichao Lu, Zhenan Sun, Ying Wei
Read on arXiv →Key claim
STEPQuant achieves high accuracy with reduced memory usage.
In plain English
Imagine you're building a large language model that needs to serve many users simultaneously. As these models grow, they require significant memory to maintain their performance, especially when using linear attention mechanisms that rely on recurrent states. However, these states can become a memory bottleneck, particularly when serving multiple requests at once. A common approach to mitigate this is to quantize these states to lower precision, but this often leads to accuracy issues due to the propagation of quantization errors over time and across different parts of the model. This is what's called quantization error propagation, which can severely degrade performance in practical applications. To tackle this, the authors propose STEPQuant, a framework that intelligently allocates quantization precision based on how long the memory is expected to last and the impact of different parts of the model on the final output. By analyzing the distribution of state magnitudes and their effects on errors, STEPQuant can maintain high accuracy even with reduced precision. In experiments with large models like Qwen3.8-27B and Kimi-Linear-48B-A3B-Instruct, STEPQuant achieves impressive results, closely matching full precision accuracy while significantly reducing memory usage. This means that for builders, integrating STEPQuant could lead to more efficient models that are easier to deploy in real-world applications without sacrificing performance.
Introduces a new quantization framework that addresses memory bottlenecks in linear attention models.
Demonstrates effectiveness through experiments on large models, but lacks extensive baseline comparisons.
Deep reliability assessment
The methodology supports efficient compression of recurrent states with minimal accuracy loss, but the claim of matching FP32-state accuracy under a 6-bit budget may be overclaimed without extensive validation across diverse tasks.
Reproducibility
Yes, the paper provides a GitHub URL for the code, which supports reproducibility.
Key figure
Figure 1 illustrates the memory footprint of recurrent states, the relationship between state lifetime and quantization error, and the impact of state precision on accuracy.
