arXiv(opens in a new tab)cs.LGNov 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.01864

Quantizing Recurrent Language Models Is Easier Than You Think

Philipp Nazari, Neehal Tumma, Daniela Rus, T. Konstantin Rusch

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

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. 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. Second, intra-state quantization concerns the recurrent state itself during decode, where repeated updates create a different numerical problem from KV cache quantization. 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.

github.com/camail-official/LoReS

1 INTRODUCTION

Softmax attention has shaped the architecture of large language models, as well as the deployment stack built around them. This is particularly true for post-training quantization (PTQ). A large body of prior work investigates quantization of the weights and activations of softmax Transformers (Frantar et al., 2022; Xiao et al., 2023; Ashkboos et al., 2024; Liu et al., 2025), while a complementary line studies quantization of the key-value cache that grows during autoregressive generation (Liu et al., 2024; Hooper et al., 2024; Duanmu et al., 2024).

Concurrently, the space of sequence mixers used in foundation models is expanding. Linear attention and state-space models replace softmax attention with linear recurrences (Katharopoulos et al., 2020; Dao & Gu, 2024; Yang et al., 2023; 2025; Tumma et al., 2026a), and recent large-scale hybrid models interleave recurrent and softmax layers within the same architecture (Blakeman et al., 2025; Team et al., 2025; Qwen Team, 2026). As these hybrid models become increasingly common, the inference stack developed for softmax Transformers must be adapted accordingly.

Compared with softmax attention, however, the behavior of recurrent language models under quantization remains poorly understood. Existing work has begun to adapt quantization to recurrent architectures (Chiang et al., 2025b;a; Xu et al., 2025; Kim et al., 2026; Chandiramani et al., 2026), but has focused on particular architectures and quantization targets. In this work, we instead ask the more general question: how does replacing softmax attention with a linear recurrent sequence mixer change the quantization problem? We argue that this replacement matters along two distinct axes.

Table 1: State-update rules for recurrent models in the mixer-zoo design space. Colors identify decay, write gating, and delta correction.

modelupdate
Linear attention (Katharopoulos et al., 2020)St=St−1+vtkt⊤\mathbf{S}_t = \mathbf{S}_{t-1} + \mathbf{v}_t \mathbf{k}_t^\top
Mamba-2 (Dao & Gu, 2024)St=αtSt−1+vtkt⊤\mathbf{S}_t = \alpha_t \mathbf{S}_{t-1} + \mathbf{v}_t \mathbf{k}_t^\top
Gated Linear Attention (GLA) (Yang et al., 2023)St=St−1diag⁡(αt)+vtkt⊤\mathbf{S}_t = \mathbf{S}_{t-1} \operatorname{diag}(\alpha_t) + \mathbf{v}_t \mathbf{k}_t^\top
DeltaNet (Schlag et al., 2021; Yang et al., 2024)St=St−1(I−βtktkt⊤)+βtvtkt⊤\mathbf{S}_t = \mathbf{S}_{t-1} \left( \mathbf{I} - \beta_t \mathbf{k}_t \mathbf{k}_t^\top \right) + \beta_t \mathbf{v}_t \mathbf{k}_t^\top
Gated DeltaNet (Yang et al., 2025)St=αtSt−1(I−βtktkt⊤)+βtvtkt⊤\mathbf{S}_t = \alpha_t \mathbf{S}_{t-1} \left( \mathbf{I} - \beta_t \mathbf{k}_t \mathbf{k}_t^\top \right) + \beta_t \mathbf{v}_t \mathbf{k}_t^\top
Kimi Delta Attention (KDA) (Team et al., 2025)St=St−1diag⁡(αt)(I−βtktkt⊤)+βtvtkt⊤\mathbf{S}_t = \mathbf{S}_{t-1} \operatorname{diag}(\alpha_t) \left( \mathbf{I} - \beta_t \mathbf{k}_t \mathbf{k}_t^\top \right) + \beta_t \mathbf{v}_t \mathbf{k}_t^\top

First, the choice of sequence mixer changes the training dynamics of the model and therefore the distributions of the weights and activations learned throughout the network. We refer to quantization of these tensors as extra-state weight/activation (W/A) quantization. Second, softmax attention and recurrent mixers maintain fundamentally different objects during inference. Softmax attention stores a growing cache of keys and values, whereas a recurrent mixer repeatedly updates a fixed-size state in place. We refer to quantization of this object as (intra-)state quantization. Together, these two settings separate the implicit effect of the sequence mixer on the rest of the model from the explicit effect of quantizing the mixer state itself. Our main contributions can be summarized as follows:

  • For extra-state W/A quantization, we show that decayed linear recurrences develop substantially weaker residual outlier channels than softmax attention, making them more robust to W/A quantization before incoherence processing. Incoherence processing largely closes this gap.

  • For intra-state quantization, we analyze how scale grouping, recurrent decay, rounding rule, and storage format impact quantization error, and reveal failure modes of random rotations.

  • We validate these findings in controlled 1.3B-parameter experiments, and demonstrate their transfer to the hybrids Qwen-3.5 9B, Nemotron-H 8B, and Kimi-Linear 48B-A3B. We instantiate our findings as LoReS (Low-bit Recurrent State), combining value-axis grouping, stochastic rounding and decay-based mixed precision for integer state quantization.

  • We implement LoReS in vLLM, demonstrating end-to-end decode speedups at scale.

References (89)