A decay-aware mixed-precision scheme slashes recurrent-state storage by about 69% and speeds up recurrent updates up to 2.01× while maintaining near-FP32 accuracy at 9.9 bits per state value, lowering end-to-end decoding cost (TPOT) by up to 10.9%.
Citation observations
Cumulative provider counts captured on specific dates; providers are never combined.
No provider observation is available for this paper.
Missing data, not a zero citation count.
Softmax attention stores key and value vectors for every preceding token, causing inference memory to grow with sequence length. Recent language models incorporating Gated DeltaNet (GDN) or Kimi Delta Attention (KDA) reduce this cost by replacing the KV cache in most layers with fixed-size recurrent states. However, these recurrent states are commonly stored in FP32 and consume substantial GPU memory; their updates are memory-bandwidth bound and contribute significantly to decoding latency. To our knowledge, we are the first to study post-training quantization of recurrent states in GDN and KDA based language models. We find that uniform quantization provides a poor accuracy--storage trade-off: INT8 and FP8 already degrade accuracy on complex reasoning tasks, while INT4 and NVFP4 reduce it to near zero. We further find that most quantization-error energy is concentrated in a small subset of channels and that the relative decay strength of state channels remains stable across prompts and tasks. Motivated by these findings, DAMP uses both quantization-error energy and decay-based persistence to identify high-risk channels during offline calibration. It stores these channels at higher precision and the remainder in INT8. We evaluate DAMP on Qwen3.6-35B and Kimi-Linear-48B across six benchmarks covering mathematical reasoning, general reasoning, and code generation. At 9.9 bits per state value, DAMP maintains average accuracy close to the FP32 baseline. DAMP reduces recurrent-state storage by 69.1%, accelerates the recurrent-state update kernel by up to 2.01x, and lowers full-model TPOT by up to 10.9%.
Summary
Main Finding
DAMP (Decay-Aware Mixed-Precision recurrent-state quantization) is a post-training, static mixed-precision scheme for the persistent recurrent states used by GDN and KDA layers. By ranking key channels with a combined score of (quantization-error energy × decay-based persistence) and protecting the top channels at higher precision (FP16) while storing the rest in INT8 (with a Hadamard transform), DAMP achieves near-FP32 accuracy at 9.9 effective bits per state value, reduces recurrent-state storage by 69.1%, speeds the recurrent-state update kernel up to 2.01×, and lowers end-to-end time-per-output-token (TPOT) by up to 10.9% on evaluated models and benchmarks.
Key Points
-
Problem and novelty
- Recurrent states in GDN/KDA are persistent, repeatedly read/updated and therefore sensitive to quantization error feedback; prior work had not studied post-training quantization of these states.
- DAMP is the first static, offline-calibrated mixed-precision layout tailored to this error-feedback recurrence.
-
Empirical structure exploited
- States show strong two-axis concentration: few key channels dominate magnitude; within-channel value-axis imbalance remains but is reduced via a per-channel Hadamard transform.
- After Hadamard + INT8, quantization-error energy remains concentrated in a small subset of key channels.
- Learned decay (per-key in KDA, per-head in GDN) exhibits a stable ordering of retention strength across prompts/tasks; this allows estimating persistence offline.
-
Risk scoring and selection
- For each key channel u, DAMP computes:
- Eu = empirical average squared quantization-error energy (under the low-precision mapping).
- aeff,u = geometric mean of per-step retention (exp(E[log a_t,u])).
- Pu = capped cumulative persistence = 1 / max(1 − aeff,u^2, τ) (τ caps persistence).
- Cu = Eu × Pu is the static risk proxy; protect the top-Khi channels per layer/head under a fixed budget.
- Main operating point: protect Khi = 16 channels per head (FP16), remaining channels INT8+Hadamard → ≈9.9 bits/value.
-
Implementation
- Calibration is offline and one-time; DAMP records a permutation per layer/head that places protected channels contiguously (packed layout) so the run-time update is regular and fused (no per-token ranking).
- Fused executor reconstructs INT8 channels, computes updates in FP32, re-quantizes and writes back.
-
Quantization baselines and limits
- Uniform low-precision formats (INT8, FP8) already degrade complex-reasoning accuracy; INT4 / NVFP4 nearly collapse accuracy.
- DAMP recovers near-FP32 performance at much lower storage than uniform formats.
Data & Methods
-
Models evaluated
- Qwen3.6-35B-A3B (30 GDN + 10 full-attn layers).
- Kimi-Linear-48B-A3B-Instruct (20 KDA + 7 MLA layers).
-
Benchmarks and metrics
- Math: AIME 2026 Parts I/II, HMMT Feb 2026, IMO-AnswerBench.
- General reasoning: GPQA-Diamond, MMLU-Pro.
- Code: LiveCodeBench-v6.
- Metrics: task-specific accuracies (multiple generations per problem), recurrent-state storage, recurrent-update kernel latency, full-model TPOT.
-
Quantization & calibration details
- Low-precision integer storage: per-block asymmetric affine quantization (b = 8 for INT8, b = 4 for INT4).
- Hadamard transform applied along the value dimension within each key channel before INT8 quantization to reduce within-channel range imbalance.
- Calibration set: 32 unlabeled Pile documents (8 each from DM Mathematics, PubMed Abstracts, GitHub, StackExchange), truncated to 256 tokens, processed with teacher forcing.
- Sampling: state sampled every 8 tokens → ~1,024 state samples per recurrent layer for calibration.
- Allocation: per-layer, per-head scoring; same Khi across layers/heads for kernel shape stability. Main config: FP16 protected tier + INT8+Hadamard low tier, Khi = 16 → 9.875 bits (reported 9.9).
-
Error propagation model used to motivate design
- Reconstructed low-precision state follows Sq_t = Q( A_t Sq_{t−1} + β_t k_t v_t^⊤ ), leading to accumulated error ∆S_t = A_t ∆S_{t−1} + R_t. This shows injected quantization residuals are transformed and potentially retained by decay factors; hence combining injection energy and decay-based persistence is appropriate.
-
Results (summary)
- At ~9.9 bits/state-value, DAMP maintains accuracy close to FP32 across math, reasoning, and code benchmarks on both evaluated models.
- Recurrent-state storage reduced by 69.1%; recurrent-update kernel accelerated up to 2.01×; full-model TPOT reduced up to 10.9%.
Implications for AI Economics
-
Lower memory footprint per active request
- 69% reduction in recurrent-state storage directly reduces GPU memory used per concurrent session. For high-concurrency deployments (e.g., batch inference, agentic multi-turn systems), this increases the number of simultaneous sessions per GPU or reduces required GPU instance counts, lowering provisioning and amortized hardware costs.
-
Increased throughput and lower latency
- Up to 2× speedup in the recurrent-state update kernel and up to 10.9% reduction in TPOT improve throughput and user-perceived latency. This translates to lower compute time per token and therefore reduced cloud compute billable time (or higher QPS on given hardware), improving cost-efficiency.
-
Enables longer-context and agentic workloads at lower marginal cost
- Recurrent-state compression reduces the dominant memory growth that otherwise scales with interaction length. This makes supporting longer contexts or extended multi-step agents more economical, lowering marginal cost per additional token/context length.
-
Low operational and engineering cost
- DAMP is post-training and uses a one-time offline calibration (no retraining). That reduces engineering and ML lifecycle costs compared to approaches requiring fine-tuning or model surgery. The static layout and fused kernel minimize per-request runtime complexity.
-
Applicability constraints and risks that affect economics
- Applicability is limited to models using GDN/KDA-style recurrent states (hybrid architectures), not standard softmax KV caches; benefits therefore depend on model architecture choices.
- Calibration-domain mismatch risk: if deployment inputs differ drastically from calibration data, protected-channel selection might be suboptimal, causing accuracy regressions — a potential operational risk that could demand guardrails or periodic recalibration.
- Implementation complexity: requires packed mixed-precision storage and a fused executor kernel. There is engineering cost to implement efficient kernels on target hardware (GPU, ML accelerators). Hardware lacking efficient mixed-precision gather/reconstruct paths could limit speedups.
- Small residual accuracy risk: while average accuracy is near-FP32, edge cases on rare, critical tasks (high-stakes reasoning) could still see degradations; this may affect decisions in safety- or compliance-sensitive deployments.
-
Broader market impact
- If widely adopted, methods like DAMP lower the marginal cost of serving long-context/agentic workloads, potentially accelerating adoption of such services and making high-context agents commercially viable at lower price points.
- Providers can trade some additional implementation complexity for significant infrastructure savings; for cloud providers or large-scale inference services, such techniques can materially reduce operational expenses (OPEX) and energy consumption per token.
Summary takeaway: DAMP provides a practical, low-engineering-cost way to substantially cut memory and runtime costs of recurrent-state hybrid models while preserving accuracy, shifting the economics in favor of deploying long-context and agentic LLM applications — provided calibration aligns with deployment data and engineering for fused mixed-precision kernels is handled.
Assessment
Claims (12)
| Claim | Direction | Outcome | Confidence & Evidence | Details |
|---|---|---|---|---|
| At 9.9 bits per recurrent-state value, DAMP maintains average accuracy close to the FP32 baseline across the evaluated benchmarks on Qwen3.6-35B-A3B and Kimi-Linear-48B-A3B-Instruct. Output Quality | positive | Benchmark task accuracy under mixed-precision recurrent-state storage |
Reading fidelity
high
Study strength
medium
|
n=2
|
| DAMP reduces recurrent-state storage by 69.1% relative to FP32-state inference. Organizational Efficiency | positive | Persistent recurrent-state memory usage |
Reading fidelity
high
Study strength
medium
|
n=2
69.1% reduction
|
| DAMP accelerates the recurrent-state update kernel by up to 2.01× relative to FP32-state inference. Task Completion Time | positive | Recurrent-state update kernel execution speed |
Reading fidelity
high
Study strength
medium
|
n=2
up to 2.01× acceleration
|
| DAMP reduces full-model time per output token by up to 10.9% relative to FP32-state inference. Task Completion Time | positive | Full-model time per output token during decoding |
Reading fidelity
high
Study strength
medium
|
n=2
up to 10.9% reduction
|
| In a Qwen3.6-35B measurement at batch size 256, recurrent states occupy 15 GB of GPU memory. Organizational Efficiency | negative | GPU memory consumed by recurrent states |
Reading fidelity
high
Study strength
medium
|
n=256
15 GB of GPU memory
|
| In the same Qwen3.6-35B profile at batch size 256, recurrent-state updates account for 24.3% of decoding latency. Task Completion Time | negative | Share of decoding latency attributable to GDN recurrent-state updates |
Reading fidelity
high
Study strength
medium
|
n=256
24.3% of decoding latency
|
| Uniform INT8 and FP8 recurrent-state quantization degrades accuracy on complex reasoning tasks, while INT4 and NVFP4 reduce accuracy to near zero in the reported Qwen3.6-35B trade-off experiment. Output Quality | negative | Complex-reasoning benchmark accuracy as a function of recurrent-state precision |
Reading fidelity
high
Study strength
medium
|
not reported
|
| After a Hadamard transform, most INT8 reconstruction-error energy remains concentrated in a small subset of key channels in both GDN and KDA states. Error Rate | mixed | Distribution of recurrent-state quantization reconstruction error across key channels |
Reading fidelity
high
Study strength
medium
|
not reported
|
| The ordering of KDA key channels by effective decay strength is stable across tasks, with Spearman correlations of 0.994 for Code and 0.999 for General relative to the ordering from Math. Other | positive | Cross-task stability of key-channel decay-strength rankings |
Reading fidelity
high
Study strength
medium
|
Spearman ρ = 0.994 (Code) and ρ = 0.999 (General)
|
| DAMP's protected-key-channel layouts retain 92.0% of their top-16 KDA key channels on average when constructed from two disjoint, domain-balanced calibration splits. Other | positive | Stability of selected high-precision KDA key channels across calibration samples |
Reading fidelity
high
Study strength
medium
|
92.0% retention of top-16 key channels
|
| DAMP's main configuration uses FP16 for the high-precision tier and INT8+Hadamard for the low-precision tier, protecting 16 of 128 key channels and yielding 9.875, reported as 9.9, bits per state value. Other | positive | Effective recurrent-state storage precision |
Reading fidelity
high
Study strength
high
|
n=128
9.875 bits per state value, reported as 9.9
|
| The calibration procedure uses 32 unlabeled Pile documents, equally divided across DM Mathematics, PubMed Abstracts, GitHub, and StackExchange, with each document truncated to 256 tokens. Training Effectiveness | null_result | Calibration dataset composition and procedure |
Reading fidelity
high
Study strength
medium
|
n=32
|