Preserving Updates in Low-Bit Recurrent State Quantization
cs.LG, cs.CL
Submitted: 2026-10-11
Updated: 2026-10-11
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Linear attention and recurrent models compress past tokens into a fixed-size state that is updated at every step.
Terminology
Abstract
Linear attention and recurrent models compress past tokens into a fixed-size state that is updated at every step. However, storing these states in high precision incurs substantial memory and bandwidth costs at large batch sizes, motivating low-bit state quantization. Unlike weights and key--value caches, a recurrent state is requantized after every update, so its quantization errors accumulate across steps. Our analysis shows that these errors are highly coherent across steps, so reducing per-step errors alone is insufficient. This coherence arises mainly from small updates that are lost in rounding. To preserve these updates, we intervene both before and at rounding. Before rounding, we propose Low-Rank Bypass (LRB), which accumulates small updates in a compact low-rank buffer and periodically merges its sufficiently large elements into the state. At rounding, we observe that a state element can even move opposite to its update, and such reversals prove particularly harmful. Therefore, we propose Bounded Directional Rounding (BDR), which rounds reversed elements toward their updates without additional storage. Although BDR enlarges the rounding error, it improves the model, suggesting that the direction of an update matters more than its rounding error at a single step. Across Gated DeltaNet, GLA, Mamba2, and RetNet, our training-free method substantially outperforms INT4, while reducing state memory by up to 5.3 times and speeding up decoding by up to 1.9 times relative to FP32 states.
Sources
- Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
- Just read twice: closing the recall gap for recurrent language models
- Nemotron 3 Super: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- Decoupled Weight Decay Regularization
- Pointer Sentinel Mixture Models
- Mixed Precision Training
- A White Paper on Neural Network Quantization
- Retentive Network: A Successor to Transformer for Large Language Models
- Revisiting BFloat16 Training
- DAMP: Decay-Aware Mixed-Precision Recurrent-State Quantization
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks