论文

低差异抖动优化量化循环状态缓存

Low-Discrepancy Dither for Quantized Recurrent State Caches

精选理由

论文提出了一种确定性抖动方法,能显著提升量化语言模型在长文本生成中的性能,无需额外计算成本。

研究人员提出了一种基于黄金比例Weyl抖动的确定性舍入方法,用于Mamba风格和混合语言模型的量化循环状态缓存。

正文

该方法在纯模型和混合模型、不同存储格式以及长解码场景下表现优于随机舍入,且无需随机数生成。研究还发现舍入到最近值的方法在短评估中看似最佳,但在长文本生成中误差会持续增长。

原文 · arXiv cs.LG

Low-Discrepancy Dither for Quantized Recurrent State Caches

Mamba-style and hybrid language models compress their past into a fixed-size recurrent state that is rewritten at every generated token. Storing this state in low precision saves memory bandwidth, but every rounding error is fed back into the next update and can accumulate over long generations. Production systems round the state stochastically; we ask which rounding rule such caches should use. We find that a deterministic golden-ratio Weyl dither, which needs no random numbers, consistently brings the quantized model closer to the full-precision one than stochastic rounding, across pure and hybrid models, storage formats, and long decoding horizons, at no extra cost. Round-to-nearest behaves differently: because it discards small updates, its error keeps growing, so it can look best in short evaluations yet falls far behind over long generations. A discrepancy analysis explains this ordering, and we document implementation pitfalls that silently remove the benefit.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Mamba、量化、循环状态、Weyl抖动,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Snigdha Chandan Khilar),经 AITOP 多维评分管线结构化提炼。