Joint KV-Cache and Recurrent-State Quantization in Hybrid Linear-Attention LLMs
Some benchmark signal exists in the extracted evidence, but it is not structured strongly enough yet for a confident benchmark decision.
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
Hybrid language models that interleave linear-attention layers with softmax attention keep two inference memories: a KV cache that grows with the context and a fixed-size recurrent state. Post-training quantization has studied each in isolation, but a serving engine must split one budget between them. We present the first joint study of post-training, calibration-free quantization of both memories in Gated DeltaNet hybrids (Qwen3.5, 0.8B to 9B), with a Mamba-2 hybrid (Falcon-H1) as control. The asymmetry is large: 4-bit KV costs at most 0.03 nats, whereas a 4-bit state costs about one nat; in the Mamba-2 hybrid the same 4-bit state costs nothing, pointing to the delta rule. The two errors are only weakly super-additive, so the memories can be allocated almost independently. A noise-matched control shows that round-to-nearest is idempotent, which keeps state error far below a worst-case bound, while per-layer sensitivity is concentrated in the first layer rather than following the decay half-life. The limiting memory is task dependent: retrieval is bounded by the KV cache and reasoning by the state, where an 8-bit state lowers GSM8K accuracy from 0.600 to 0.345 unless error feedback is used. On Qwen3.5-4B, 4-bit KV with a 6-bit state and error feedback uses 32% of the bf16 cache for 0.04 nats and GSM8K 0.555, and 4-bit KV with an 8-bit state and error feedback is lossless at 40%.
Results and benchmarks
Hybrid language models that interleave linear-attention layers with softmax attention keep two inference memories: a KV cache that grows with the context and a fixed-size recurrent state.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Start from this likely method family: Quantization.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Framework baselines
- Hugging Face Transformers training guide
Modern transformer training baseline.
- PyTorch nn.Transformer docs
Reference transformer building block implementation.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
Retrieval / indexing
Methods
Transformer, Quantization
Domains
Natural Language Processing, Information Retrieval
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.