Quantizing Recurrent Language Models Is Easier Than You Think
Organizations: Max Planck Institute for Intelligent Systems · ETH Zürich · Tübingen AI Center · ELLIS Institute Tübingen ·
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.
Figures & tables
| model | update |
|---|---|
| Linear attention ( Katharopoulos et al., 2020 ) | |
| Mamba-2 ( Dao and Gu, 2024 ) | \mathbf{S}_{t}={\color[rgb]{0,0.4453,0.6992}\alpha_{t}}\,\mathbf{S}_{t-1}+\mathbf{v}_{t}\mathbf{k}_{t}^{\top} |
| Gated Linear Attention (GLA) ( Yang et al., 2023 ) | \mathbf{S}_{t}=\mathbf{S}_{t-1}\,{\color[rgb]{0,0.4453,0.6992}\operatorname{diag}(\bm{\alpha}_{t})}+\mathbf{v}_{t}\mathbf{k}_{t}^{\top} |
| DeltaNet ( Schlag et al., 2021 ; Yang et al., 2024 ) | \mathbf{S}_{t}=\mathbf{S}_{t-1}\,{\color[rgb]{0.8359,0.3672,0}\bigl(\mathbf{I}-\beta_{t}\mathbf{k}_{t}\mathbf{k}_{t}^{\top}\bigr)}+{\color[rgb]{0.9023,0.625,0}\beta_{t}}\,\mathbf{v}_{t}\mathbf{k}_{t}^{\top} |
| Gated DeltaNet ( Yang et al., 2025 ) | \mathbf{S}_{t}={\color[rgb]{0,0.4453,0.6992}\alpha_{t}}\,\mathbf{S}_{t-1}\,{\color[rgb]{0.8359,0.3672,0}\bigl(\mathbf{I}-\beta_{t}\mathbf{k}_{t}\mathbf{k}_{t}^{\top}\bigr)}+{\color[rgb]{0.9023,0.625,0}\beta_{t}}\,\mathbf{v}_{t}\mathbf{k}_{t}^{\top} |
| Kimi Delta Attention (KDA) ( Team et al., 2025 ) | \mathbf{S}_{t}=\mathbf{S}_{t-1}\,{\color[rgb]{0,0.4453,0.6992}\operatorname{diag}(\bm{\alpha}_{t})}\,{\color[rgb]{0.8359,0.3672,0}\bigl(\mathbf{I}-\beta_{t}\mathbf{k}_{t}\mathbf{k}_{t}^{\top}\bigr)}+{\color[rgb]{0.9023,0.625,0}\beta_{t}}\,\mathbf{v}_{t}\mathbf{k}_{t}^{\top} |
| Architectural choices | No rotation | With rotation (W4A4) | ||||||
| Decay | W4A8 | W4A4 | ||||||
| 5.8 | 98.4 | 36.7 | 47.9 | 10.6 | ||||
| 5.9 | 92.3 | 37.8 | 46.5 | 11.1 | ||||
| 6.8 | 111.4 | 48.1 | 54.0 | 12.5 | ||||
| ✓ | 6.9 | 82.4 | 47.2 | 35.9 | 12.4 | |||
| ✓ | ✓ | 6.1 | 68.2 | 46.5 | 28.5 | 12.7 | ||
| Architectural choices | removed | mean | |||||
| Decay | QK | V | QKV | QKV | |||
| 1691.3 | 7.6 | 2765.2 | 7.9 | ||||
| 419.3 | 9.8 | 389.3 | 2.7 | ||||
| Diag | ✓ | ✓ | 2.2 | 1.1 | 9.9 | 1.7 | |
| INT8 | INT6 | INT4 | ||||
| model | value | key | value | key | value | key |
| Linear | 0.125 | 0.332 | 1.230 | 0.967 | 3.647 | 2.479 |
| Mamba-2 | 0.003 | 0.011 | 0.027 | 0.052 | 0.521 | 0.400 |
| GLA | 0.000 | 0.005 | 0.005 | 0.034 | 0.269 | 0.309 |
| GDN | 0.000 | 0.005 | 0.004 | 0.025 | 0.202 | 0.313 |
| KDA | 0.000 | 0.007 | 0.004 | 0.033 | 0.276 | 0.266 |
| model | INT4 | INT5 | INT6 |
|---|---|---|---|
| Mamba-2 | 0.400 | 0.033 | 0.027 |
| GLA | 0.269 | 0.009 | 0.005 |
| GDN | 0.202 | 0.005 | 0.004 |
| KDA | 0.266 | 0.005 | 0.004 |
| Qwen-3.5 | 0.825 | 0.006 | 0.004 |
| Nemotron-H | 0.763 | 0.045 | 0.010 |
| INT8 | INT6 | |||
|---|---|---|---|---|
| model | RTN | SR | RTN | SR |
| Mamba-2 | 0.0026 | 0.0015 | 0.0270 | 0.0352 |
| GLA | 0.0002 | 0.0001 | 0.0055 | 0.0020 |
| GDN | 0.0000 | 0.0001 | 0.0041 | 0.0048 |
| KDA | 0.0002 | 0.0002 | 0.0042 | 0.0043 |
| Qwen-3.5 | 0.0005 | 0.0001 | 0.0039 | 0.0016 |
| value | key | |||
|---|---|---|---|---|
| model | INT8 | E4M3 | INT8 | E4M3 |
| Mamba-2 | 0.0015 | 0.0019 | 0.0005 | 0.0010 |
| GLA | 0.0001 | 0.0007 | 0.0005 | 0.0007 |
| GDN | 0.0001 | 0.0016 | 0.0007 | 0.0013 |
| KDA | 0.0002 | 0.0006 | 0.0005 | 0.0009 |
| Qwen-3.5 | 0.0001 | 0.0002 | 0.8767 | 0.0004 |
| Qwen-3.5 | Nemotron-H | Kimi-Linear | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| W/A/S | GSM8K | MMLU-Pro | GPQA | AIME | RULER | GSM8K | MMLU-Pro | GPQA | AIME | RULER | GSM8K | MMLU-Pro | GPQA | AIME | RULER |
| 95.9 | 82.6 | 80.1 | 82.3 | 94.6 | 92.3 | 70.6 | 54.1 | 51.2 | 88.0 | 89.1 | 70.3 | 63.5 | 63.6 | 93.7 | |
| 96.4 | 82.2 | 79.6 | 79.5 | 94.7 | 92.0 | 70.1 | 53.5 | 48.4 | 88.3 | 89.2 | 70.2 | 63.8 | 62.6 | 93.8 | |
| 96.5 | 82.5 | 80.1 | 83.1 | 94.6 | 92.9 | 70.4 | 54.0 | 51.7 | 88.4 | 89.8 | 70.4 | 63.9 | 64.3 | 93.5 | |
| 96.0 | 82.3 | 79.1 | 80.1 | 94.5 | 92.5 | 70.0 | 53.1 | 49.4 | 88.2 | 89.6 | 70.2 | 61.9 | 62.4 | 94.0 | |
| 96.8 | 82.4 | 80.3 | 82.1 | 94.6 | 93.3 | 70.3 | 54.8 | 50.9 | 88.4 | 88.9 | 70.1 | 63.3 | 62.3 | 93.7 | |
Appendix figures & tables27 assets
Supplementary material from the paper’s appendix.
Appendix
| Architectural choices | No rotation | Full stack | ||||||||||||
| Decay | Baseline | W8A8 | W4A16 | W4A8 | W16A4 | W4A4 | W8A8 | W4A16 | W4A8 | W16A4 | W4A4 | |||
| 15.66 | 15.71 | 16.52 | 16.57 | 26.47 | 31.07 | 15.67 | 16.34 | 16.34 | 16.44 | 17.33 | ||||
| 15.66 | 15.70 | 16.53 | 16.58 | 25.87 | 30.11 | 15.67 | 16.40 | 16.40 | 16.46 | 17.40 | ||||
| 17.93 | 17.98 | 19.06 | 19.15 | 31.72 | 37.91 | 17.93 | 18.84 | 18.86 | 18.95 | 20.16 | ||||
| ✓ | 18.05 | 18.10 | 19.24 | 19.30 | 28.54 | 32.93 | 18.06 | 19.01 | 19.02 | 19.12 | 20.30 | |||
| ✓ | ✓ | 17.72 | 17.77 | 18.72 | 18.80 | 26.32 | 29.80 | 17.72 | 18.61 | 18.61 | 18.73 | 19.97 | ||
| Architectural choices | (%) | ||||||||||
| Decay | none | ||||||||||
| 98.4 | 36.7 | 47.9 | 90.1 | 12.2 | 34.4 | 44.3 | 10.6 | ||||
| 92.3 | 37.8 | 46.5 | 86.0 | 12.9 | 35.7 | 42.8 | 11.1 | ||||
| 111.4 | 48.1 | 54.0 | 105.9 | 14.0 | 45.5 | 50.5 | 12.5 | ||||
| ✓ | 82.4 | 47.2 | 35.9 | 77.9 | 13.9 | 44.8 | 33.2 | 12.4 | |||
| ✓ | ✓ | 68.2 | 46.5 | 28.5 | 65.0 | 13.9 | 43.7 | 26.3 | 12.7 | ||
| Architectural choices | none | removed | mean | |||||
| Decay | QK | V | QKV | QKV | ||||
| 15.66 | 280.51 | 16.86 | 448.70 | 16.89 | ||||
| 15.66 | 81.30 | 17.18 | 76.61 | 16.08 | ||||
| 17.93 | 21.23 | 18.20 | 23.62 | 19.81 | ||||
| ✓ | 18.05 | 18.89 | 18.21 | 20.64 | 18.62 | |||
| ✓ | ✓ | 17.72 | 18.42 | 18.10 | 21.91 | 17.96 | ||
| model | state | value | key |
|---|---|---|---|
| Linear | 2.358 | 1.230 | 0.967 |
| Mamba-2 | 0.516 | 0.027 | 0.052 |
| GLA | 0.377 | 0.005 | 0.034 |
| GDN | 0.158 | 0.004 | 0.025 |
| KDA | 0.361 | 0.004 | 0.033 |
| model | decay | random |
|---|---|---|
| Mamba-2 | 0.033 | 0.203 |
| GLA | 0.009 | 0.073 |
| GDN | 0.005 | 0.064 |
| KDA | 0.005 | 0.108 |
| Qwen-3.5 | 0.006 | 0.267 |
| Nemotron-H | 0.045 | 0.158 |
| INT8 | INT6 | INT4 | ||||||||||
| value | key | value | key | value | key | |||||||
| model | RTN | SR | RTN | SR | RTN | SR | RTN | SR | RTN | SR | RTN | SR |
| Linear | 0.125 | 0.223 | 0.332 | 0.135 | 1.230 | 1.654 | 0.967 | 1.019 | 3.647 | 4.338 | 2.479 | 3.884 |
| Mamba-2 | 0.003 | 0.001 | 0.011 | 0.001 | 0.027 | 0.035 | 0.052 | 0.011 | 0.521 | 0.813 | 0.400 | 0.342 |
| GLA | 0.000 | 0.000 | 0.005 | 0.001 | 0.005 | 0.002 | 0.034 | 0.009 | 0.269 | 0.103 | 0.309 | 0.266 |
| GDN | 0.000 | 0.000 | 0.005 | 0.001 | 0.004 | 0.005 | 0.025 | 0.019 | 0.202 | 0.391 | 0.313 | 0.650 |
| INT8 | INT6 | INT4 | ||||||||||
| model | value | key | value | key | value | key | ||||||
| Linear | 0.2229 | 0.0380 | 0.1349 | 0.0299 | 1.6545 | 1.1161 | 1.0191 | 0.5310 | 4.3383 | 4.3309 | 3.8839 | 3.2264 |
| Mamba-2 | 0.0015 | 0.0005 | 0.0005 | 0.0001 | 0.0352 | 0.0412 | 0.0107 | 0.0034 | 0.8127 | 1.1788 | 0.3422 | 0.1511 |
| GLA | 0.0001 | 0.0000 | 0.0005 | 0.0001 | 0.0020 | 0.0019 | 0.0095 | 0.0029 | 0.1026 | 0.4735 | 0.2662 | 0.1129 |
| GDN | 0.0001 | 0.0001 | 0.0007 | 0.0000 | 0.0048 | 0.0108 | 0.0187 | 0.0034 | 0.3911 | 1.3706 | 0.6502 | 0.4049 |
| KDA | 0.0002 | 0.0000 | 0.0005 | 0.0001 | 0.0043 | 0.0026 | 0.0098 | 0.0035 | 0.2183 | 0.8500 | 0.3283 | 0.1758 |
| INT8 | INT6 | INT4 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| model | key | value | key | value | key | value | ||||||
| Mamba-2 | 0.013 | 0.009 | 0.020 | 0.008 | 0.052 | 0.036 | 0.082 | 0.034 | 0.229 | 0.159 | 0.351 | 0.152 |
| GLA | 0.013 | 0.009 | 0.018 | 0.009 | 0.052 | 0.036 | 0.073 | 0.035 | 0.230 | 0.159 | 0.305 | 0.154 |
| GDN | 0.012 | 0.009 | 0.015 | 0.009 | 0.049 | 0.036 | 0.060 | 0.036 | 0.216 | 0.161 | 0.263 | 0.160 |
| KDA | 0.012 | 0.009 | 0.021 | 0.008 | 0.049 | 0.036 | 0.083 | 0.033 | 0.217 | 0.160 | 0.329 | 0.148 |
| Qwen-3.5 | 0.027 | 0.008 | 0.016 | 0.009 | 0.106 | 0.031 | 0.067 | 0.036 | 0.407 | 0.137 | 0.290 | 0.159 |
| value | key | |||||||
| INT8 | E4M3 | INT8 | E4M3 | |||||
| model | RTN | SR | RTN | SR | RTN | SR | RTN | SR |
| Linear | 0.1246 | 0.2229 | 0.0722 | 0.0273 | 0.3317 | 0.1349 | 0.0937 | 0.0102 |
| Mamba-2 | 0.0026 | 0.0015 | 0.0071 | 0.0019 | 0.0105 | 0.0005 | 0.0118 | 0.0010 |
| GLA | 0.0002 | 0.0001 | 0.0040 | 0.0007 | 0.0047 | 0.0005 | 0.0064 | 0.0007 |
| GDN | 0.0000 | 0.0001 | 0.0017 | 0.0016 | 0.0048 | 0.0007 | 0.0052 | 0.0013 |
| INT8 | INT6 | INT4 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| model | value | key | value | key | value | key | ||||||
| Mamba-2 | 0.0014 | 0.0007 | 0.0005 | 0.0001 | 0.0365 | 0.0284 | 0.0110 | 0.0035 | 0.4878 | 0.4407 | 0.2238 | 0.0541 |
| GLA | 0.0000 | 0.0000 | 0.0004 | 0.0001 | 0.0021 | 0.0011 | 0.0096 | 0.0031 | 0.0488 | 0.0538 | 0.1794 | 0.0432 |
| GDN | 0.0002 | 0.0002 | 0.0009 | 0.0001 | 0.0048 | 0.0065 | 0.0166 | 0.0022 | 0.1000 | 0.1644 | 0.3033 | 0.0640 |
| KDA | 0.0001 | 0.0000 | 0.0004 | 0.0001 | 0.0047 | 0.0023 | 0.0100 | 0.0025 | 0.0970 | 0.0799 | 0.2184 | 0.0517 |
| value | key | ||||||
|---|---|---|---|---|---|---|---|
| model | FP32 | INT8 | INT6 | INT4 | INT8 | INT6 | INT4 |
| Qwen-3.5 | 95.9 | 96.4 | 95.3 | 8.0 | 47.8 | 1.5 | 0.7 |
| Nemotron-H | 92.3 | 92.0 | 91.2 | 3.5 | 0.9 | 1.4 | 1.1 |
| Nemotron-H | Qwen-3.5 | Kimi-Linear | ||
|---|---|---|---|---|
| rounding | value axis | value axis | value axis | key axis |
| RTN | ||||
| SR | ||||
| FP32 | ||||
| Qwen-3.5 | Nemotron-H | |||||
|---|---|---|---|---|---|---|
| effective bits | GSM8K | GPQA | AIME | GSM8K | GPQA | AIME |
| 8.0 | 5.1 | 0.0 | 3.5 | 7.6 | 0.0 | |
| 27.8 | 9.6 | 0.0 | 6.2 | 16.2 | 0.0 | |
| 93.1 | 55.6 | 25.0 | 77.0 | 35.9 | 6.7 | |
| 94.2 | 62.6 | 43.3 | 91.4 | 41.4 | 26.7 | |
| 95.3 | 68.2 | 50.0 | 91.2 | 48.5 | 26.7 | |
| Qwen-3.5 | Nemotron-H | Kimi-Linear | |||||||
|---|---|---|---|---|---|---|---|---|---|
| benchmark | FP32 | INT8 | (%) | FP32 | INT8 | (%) | FP32 | INT8 | (%) |
| GSM8K | 2096 | 2212 | 592 | 588 | 89 | 88 | |||
| MMLU-Pro | 4050 | 4152 | 1112 | 1132 | 2080 | 2184 | |||
| GPQA | 9169 | 9134 | 5449 | 5312 | 7249 | 7356 | |||
| AIME | 25223 | 24950 | 10994 | 10964 | 11839 | 11516 | |||
| RULER | 16 | 16 | 21 | 20 | 12 | 12 | |||
| Qwen-3.5 | Nemotron-H | Kimi-Linear (value) | Kimi-Linear (key) | |||||
| rounding | tokens | capped | tokens | capped | tokens | capped | tokens | capped |
| FP32 state | 29927 | 240 | 12106 | 26 | 22565 | 318 | 22565 | 318 |
| RTN | 46437 | 792 | 30136 | 459 | 21398 | 244 | 25728 | 322 |
| SR | 30362 | 275 | 12470 | 36 | 22121 | 316 | 22507 | 365 |
| W/A/S | batch size | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | |
| Nemotron-H | |||||||||
| 6.31 | 6.41 | 6.62 | 6.96 | 7.63 | 8.78 | 11.40 | 16.83 | 29.35 | |
| 6.27 | 6.32 | 6.44 | 6.67 | 6.98 | 7.66 | 9.01 | 11.18 | 17.32 | |
| 4.46 | 4.52 | 4.73 | 4.99 | 5.62 | 6.77 | 9.86 | – | – | |
| 4.41 | 4.44 | 4.57 | 4.74 | 4.98 | 5.57 | 7.50 | – | – | |
| W/A/S | batch size | prefill length | |||||
|---|---|---|---|---|---|---|---|
| 16 | 32 | 512 | 1024 | 4096 | 8k | ||
| Nemotron-H | |||||||
| 2 | 6.4 | 6.4 | 6.5 | 6.4 | 6.3 | 6.4 | |
| 4 | 6.6 | 6.6 | 6.7 | 6.6 | 6.7 | 6.8 | |
| 8 | 7.0 | 7.0 | 7.1 | 6.9 | 7.2 | 7.4 | |
| 16 | 7.7 | 7.7 | 7.8 | 7.8 | 8.1 | 8.5 | |
LLM Quantization
Large language model quantization reduces numerical precision to lower memory use and accelerate training or inference.
See all 416 papers