Research Papers 论文研究 4h ago Updated 21m ago 更新于 21分钟前 48

DAMP: Decay-Aware Mixed-Precision Recurrent-State Quantization DAMP:衰减感知混合精度循环状态量化

DAMP is the first post-training quantization method for recurrent states in Gated DeltaNet (GDN) and Kimi Delta Attention (KDA) based language models, addressing the memory and latency bottleneck of FP32 recurrent states. Uniform quantization (INT8/FP8/INT4/NVFP4) severely degrades accuracy on complex reasoning tasks; the authors find quantization error is concentrated in a small subset of channels with stable relative decay strength across prompts. DAMP combines quantization-error energy and de DAMP是首个针对GDN/KDA类语言模型循环状态进行后训练量化的方法,解决FP32状态占用大量GPU内存和带宽的问题 均匀量化(INT8/FP8/INT4)在复杂推理任务上精度严重下降,量化误差能量高度集中在少量通道中 DAMP结合量化误差能量和基于衰减的持久性指标,在离线校准阶段识别高风险通道并分配更高精度,其余通道使用INT8 在Qwen3.6-35B和Kimi-Linear-48B上,DAMP以9.9 bits/state的压缩率保持接近FP32的精度,存储减少69.1%,更新加速2.01x,TPOT降低10.9%

65
Hot 热度
72
Quality 质量
68
Impact 影响力

Analysis 深度分析

TL;DR

  • DAMP is the first post-training quantization method for recurrent states in Gated DeltaNet (GDN) and Kimi Delta Attention (KDA) based language models, addressing the memory and latency bottleneck of FP32 recurrent states.
  • Uniform quantization (INT8/FP8/INT4/NVFP4) severely degrades accuracy on complex reasoning tasks; the authors find quantization error is concentrated in a small subset of channels with stable relative decay strength across prompts.
  • DAMP combines quantization-error energy and decay-based persistence to identify high-risk channels during offline calibration, storing them at higher precision while quantizing the rest to INT8, achieving 9.9 bits per state value.
  • Evaluated on Qwen3.6-35B and Kimi-Linear-48B across six benchmarks, DAMP maintains near-FP32 accuracy while reducing recurrent-state storage by 69.1%, accelerating the recurrent-state update kernel by up to 2.01x, and lowering full-model TPOT by up to 10.9%.

Why It Matters

As long-context language models shift from softmax attention to recurrent-state architectures like GDN and KDA to manage KV-cache memory growth, quantizing these recurrent states becomes critical for deployment efficiency. DAMP provides a practical post-training quantization pathway that preserves reasoning accuracy while delivering significant memory and latency gains, directly enabling more cost-effective inference for large-scale recurrent-state models.

Technical Details

  • Problem framing: Recurrent states in GDN/KDA layers are stored in FP32, consuming substantial GPU memory and making state updates memory-bandwidth bound during autoregressive decoding.
  • Key empirical findings: Uniform quantization fails — INT8/FP8 degrade complex reasoning accuracy, and INT4/NVFP4 collapse it to near zero. Quantization error energy is highly concentrated in a small subset of channels, and the relative decay strength of state channels remains stable across prompts and tasks.
  • Method: DAMP performs offline calibration to identify high-risk channels using two signals: (1) quantization-error energy per channel, and (2) decay-based persistence (channels with stronger decay are more sensitive to quantization). High-risk channels are stored at higher precision; the remainder are quantized to INT8, yielding an average of 9.9 bits per state value.
  • Evaluation: Tested on Qwen3.6-35B and Kimi-Linear-48B across six benchmarks spanning mathematical reasoning, general reasoning, and code generation. Results show near-FP32 accuracy retention, 69.1% recurrent-state storage reduction, up to 2.01x kernel speedup, and up to 10.9% TPOT reduction.

Industry Insight

  • The finding that decay strength is stable across prompts suggests that channel-level precision allocation can be determined offline without per-input calibration, making DAMP deployable in production without runtime overhead.
  • As the industry moves toward recurrent-state architectures (GDN, KDA) for long-context efficiency, mixed-precision quantization of recurrent states will become a standard optimization; DAMP establishes the first baseline and highlights that naive uniform quantization is insufficient for reasoning-heavy workloads.
  • The 9.9-bit mixed-precision scheme offers a compelling accuracy-efficiency tradeoff that could be adopted by model providers as a default inference optimization for GDN/KDA-based models, particularly in memory-constrained or latency-sensitive deployment scenarios.

TL;DR

  • DAMP是首个针对GDN/KDA类语言模型循环状态进行后训练量化的方法,解决FP32状态占用大量GPU内存和带宽的问题
  • 均匀量化(INT8/FP8/INT4)在复杂推理任务上精度严重下降,量化误差能量高度集中在少量通道中
  • DAMP结合量化误差能量和基于衰减的持久性指标,在离线校准阶段识别高风险通道并分配更高精度,其余通道使用INT8
  • 在Qwen3.6-35B和Kimi-Linear-48B上,DAMP以9.9 bits/state的压缩率保持接近FP32的精度,存储减少69.1%,更新加速2.01x,TPOT降低10.9%

为什么值得看

本文首次系统研究了基于GDN/KDA的新型注意力机制模型的循环状态量化问题,填补了长序列推理模型高效部署的关键技术空白。研究揭示了量化误差分布的通道级不均匀性规律,为混合精度量化设计提供了重要理论依据和实践指导。

技术解析

  • 问题背景:Gated DeltaNet (GDN) 和 Kimi Delta Attention (KDA) 用固定大小的循环状态替代传统KV cache,但FP32状态存储消耗大量GPU内存,且状态更新是内存带宽瓶颈,显著影响解码延迟。
  • 关键发现:均匀量化在复杂推理任务上效果差(INT8/FP8已降级,INT4/NVFP4接近零精度);量化误差能量集中在少量通道,且状态通道的相对衰减强度跨提示和任务保持稳定。
  • DAMP方案:在离线校准阶段,同时利用量化误差能量和基于衰减的持久性指标识别高风险通道,高风险通道保留较高精度,其余通道使用INT8存储,实现混合精度量化。
  • 实验评估:在Qwen3.6-35B和Kimi-Linear-48B上,覆盖数学推理、通用推理和代码生成六个基准测试,9.9 bits per state value下精度接近FP32基线,存储减少69.1%,循环状态更新内核加速2.01x,全模型TPOT降低10.9%。

行业启示

  • 新型注意力机制(GDN/KDA)的部署优化需关注循环状态的量化特性,通道级混合精度是平衡精度与效率的有效路径。
  • 量化误差的能量集中性和衰减稳定性规律具有普适性,可为其他序列模型的状态压缩提供设计参考。
  • 随着长序列推理需求增长,减少KV cache依赖的架构将更受青睐,相关量化技术对降低推理成本、提升吞吐量具有战略价值。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Inference 推理 Quantization 量化 Research 科学研究 LLM 大模型