2026-06-03 · 进阶 · 机器学习

Value-Aware Stochastic KV Cache Eviction for Reasoning Models

该论文提出了一个名为VASE的基于价值的随机KV缓存淘汰策略,旨在提高推理模型的效率,同时保持高准确率。

更新于 2026-08-06。作者:Ting-Yun Chang、Harvey Yiyun Fu、Deqing Fu、Chenghao Yang、Jesse Thomason、Robin Jia。

中文摘要

推理模型通过扩展思维链来提高准确性,但它们的长期输出造成了内存和计算瓶颈。KV缓存淘汰方法通过从缓存中淘汰不重要的键值对来降低这种成本,然而,它们通常比基于选择的稀疏注意力替代方案准确性更差,后者保留了完整的KV缓存。我们确定了影响KV缓存淘汰准确性的关键因素。首先,只有一小部分值状态具有异常大的幅度,淘汰它们会导致模型进入重复推理循环的灾难性失败。其次,在淘汰过程中引入随机性可以通过增加缓存多样性来提高准确性。基于这些发现,我们提出了值感知随机KV缓存淘汰(VaSE),这是一种无需训练的方案,它保护了大幅度值状态并促进了多样化的淘汰决策。在六个推理任务中,使用VaSE和4倍KV缓存压缩的Qwen3模型在相同的稀疏度下,平均准确性高于SOTA选择方法,同时比最强的淘汰方法高出超过4%。总的来说,VaSE在效率和准确性之间架起了桥梁,支持FlashAttention2,并为推理模型实现静态内存占用。

英文摘要

Reasoning models improve accuracy through extended chains of thought, but their long outputs create a memory and compute bottleneck. KV cache eviction methods reduce this cost by evicting unimportant key-value pairs from the cache, yet they often yield worse accuracy than selection-based sparse attention alternatives, which keep the full KV cache. We identify key factors crucial to KV cache eviction accuracy. First, a small fraction of value states have abnormally large magnitudes, and evicting them causes catastrophic failure where models enter repetitive reasoning loops. Second, introducing stochasticity during eviction improves accuracy by increasing cache diversity. Based on these findings, we propose Value-aware Stochastic KV Cache Eviction (VaSE), a training-free recipe that protects large-magnitude value states and promotes diverse eviction decisions. Across six reasoning tasks, Qwen3 models using VaSE with 4x KV cache compression yield higher average accuracies than SOTA selection method at the same sparsity, while outperforming the strongest eviction method by more than 4%. Overall, VaSE bridges the gap between efficiency and accuracy, supporting FlashAttention2 and enabling a static memory footprint for reasoning models.

解读

一句话总结

该论文提出了一个名为VASE的基于价值的随机KV缓存淘汰策略,旨在提高推理模型的效率,同时保持高准确率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源