arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.05061cs.LGcs.AI
收藏

KVpop——基于预测在线剪枝的键值缓存压缩

KVpop -- Key-Value Cache Compression with Predictive Online Pruning

NXAI;Johannes Kepler University Linz(约瑟夫·施密特大学林茨)

Lukas Hauzenberger, Niklas Schmidinger, Anamaria-Roberta Hartl, David Stap, Thomas Schmied, Sebastian Böck, Günter Klambauer, Sepp Hochreiter

AI总结:

研究键值缓存增长瓶颈,介绍KVpop通过直接监督保留或丢弃决策学习固定预算键值逐出策略,有新计分器及延迟内存计分器,在数学推理任务中压缩缓存时性能优于基线。

摘要:

键值(KV)缓存增长是自回归解码中的主要瓶颈。现有KV逐出方法不佳。为此引入KVpop,通过直接监督保留或丢弃决策学习固定预算KV逐出策略。计分器针对新的未来注意力目标训练,还引入延迟内存计分器。在AIME和HMMT数学推理中,KVpop在缓存压缩时保持高性能,优于基线。

英文摘要:

Key-value (KV) cache growth is a major bottleneck in autoregressive decoding, as memory and bandwidth scale linearly with context length. Existing KV eviction methods often rely on static heuristics or proxy scores, which poorly track future token utility and cause brittle eviction as relevance shifts. To address this, we introduce KVpop, which learns a fixed-budget KV eviction policy by directly supervising the keep-or-drop decision. The scorer is trained against a novel future-attention target, computed efficiently without materializing dense attention maps. We further introduce a delayed memory-based scorer that, uniquely among learned eviction methods, defers scoring for a fixed number of steps to exploit near-future context. On AIME and HMMT mathematical reasoning, KVpop retains 98% of full-attention performance on Qwen3-4B at 75% KV cache compression and 97% at 88% compression, consistently outperforming established eviction baselines. Qwen3-8B shows even stronger results, reaching near-full teacher performance. These results show that supervising eviction with future-attention signals cuts memory costs while maintaining quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑