Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

STEPQuant Cuts Linear-Attention Memory by Up to 68.7% With 6-Bit Recurrent States

AI By Crimson AI Hugging Face Papers 8 October 2026 · 00:00 4 views
Share: X Telegram

A new post-training quantization framework from Hugging Face researchers targets the recurrent states of Delta-rule linear attention, allocating precision by error magnitude and memory lifetime to approach FP32 accuracy at a nominal 6-bit budget.

STEPQuant Cuts Linear-Attention Memory by Up to 68.7% With 6-Bit Recurrent States

Key points

Linear attention replaces the growing key-value cache of standard transformers with fixed-size recurrent states, but those persistent states can themselves become a significant memory bottleneck when many requests are served concurrently. The paper STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization examines why naively quantizing these states to low precision tends to cause severe accuracy loss: quantization errors propagate through successive state updates.

The authors argue that the impact of such errors has two complementary dimensions. Temporally, errors in long-lived memory can persist across many decoding steps. Spatially, errors in different key rows affect model outputs differently, and state magnitudes vary substantially along both rows and columns.

Based on these observations, the team proposes STEPQuant, a spatial-temporal post-training quantization framework for Delta-rule recurrent states. It allocates precision according to error magnitude and memory lifetime, and jointly fits key-row and value-column scales using state distributions together with each key row's impact on output error.

Experiments on Qwen3.8-27B and Kimi-Linear-48B-A3B-Instruct, across both long- and short-generation benchmarks, show STEPQuant closely matching FP32-state accuracy under a nominal 6-bit budget, while outperforming uniform INT8 in its 4-bit configuration. Integrated into SGLang with optimized GPU kernels, the 6-bit configuration achieves over 5x recurrent-state compression and reduces total serving memory by up to 68.7%.

The authors have released code at github.com/Dreamer-Toby/STEPQuant, with the paper available on arXiv.

MetricResult
Nominal quantization budget6-bit
Accuracy vs. FP32 statesClosely matches at 6-bit
4-bit vs. uniform INT8Outperforms INT8
Recurrent-state compressionOver 5x
Total serving memory reductionUp to 68.7%
Models evaluatedQwen3.8-27B, Kimi-Linear-48B-A3B-Instruct
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

2
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

2
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

2