首页 > AI前沿 > Quantizing Recurrent Language Models Is Easier Than You Think

Quantizing Recurrent Language Models Is Easier Than You Think

arXiv自然语言 2026-11-01 20:55 12 阅读 查看原文

背景与目标

Linear recurrences are becoming an increasingly common building block in large language models, replacing the growing KV cache of softmax attention with a fixed-size recurrent state that enables efficient decoding. However, the quantization stack has largely been developed around softmax Transformers, whose numerical properties and inference state differ from those of recurrent models. Our goal is to understand these differences and study the design space of quantization methods for recurrent models.

两个量化目标

In our analysis, we differentiate between two targets.

Extra-state quantization

First, extra-state quantization concerns weights and activations outside the recurrent state, whose distributions are shaped indirectly by the sequence mixer during training. In controlled 1.3B parameter models, we find that decayed recurrences develop weaker residual outlier channels than softmax attention and are therefore easier to quantize without incoherence processing.

Intra-state quantization

Second, intra-state quantization concerns the recurrent state itself during decode, where repeated updates create a different numerical problem from KV cache quantization.

方法:LoReS

We instantiate our findings as LoReS, a state quantization pipeline combining:

  • value-axis scale grouping to match output channel magnitude,
  • decay-based mixed-precision to protect slowly decaying heads or channels, and
  • stochastic rounding to limit error accumulation under repeated requantization.

实验与实现

Across Qwen-3.5 9B, Nemotron-H 8B, and Kimi-Linear 48B-A3B, LoReS supports robust 8-bit state quantization and lower effective precision on shorter decode horizons. We implement LoReS in vLLM and demonstrate end-to-end decode speedups.