跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2610.03198 · v3

KV$^2$: A Self-Refining KV Cache

首次提交 2026-10-02 20:11
版本更新 2026-12-04 01:05
雷达观测 2026-12-04 13:04
arXiv ↗PDF ↗

摘要

The memory footprint of the key-value (KV) cache constrains the practical use of long-context models, and it dominates cost when one prefilled context must later serve many different queries. In this reusable setting, query-agnostic compression trades cost against quality: lightweight estimators are cheap but less accurate, whereas full-context reconstruction scoring is more accurate yet reprocesses the entire prompt. We propose KV2, a query-agnostic KV-cache compression method based on selective reconstruction. KV2 first uses a lightweight proxy scorer to identify informative in-context tokens, then reprocesses only this subset to compute final eviction scores. On RULER, Needle-in-a-Haystack, and LongBench, KV2's margin over baselines widens as the budget tightens: on RULER 16K at a 2\% KV-cache budget it improves the average score of Qwen3-8B over the next-best baseline by more than 40 percentage points, and on LongBench it attains the highest average at 2\%-5\% budgets by a wide margin (and remains ahead at 10\%), at lower compression-stage runtime and peak memory than full-context reconstruction. Reusable KV-cache compression thus does not require reprocessing the full context. Our code is available at https://github.com/JohannesWesch/KVsquared.

作者备注:EACL 2027 findings

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v3,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v3 · 2026-12-04 01:05 · 最新观测版本

KV$^2$: A Self-Refining KV Cache

The memory footprint of the key-value (KV) cache constrains the practical use of long-context models, and it dominates cost when one prefilled context must later serve many different queries. In this reusable setting, query-agnostic compression trades cost against quality: lightweight estimators are cheap but less accurate, whereas full-context reconstruction scoring is more accurate yet reprocesses the entire prompt. We propose KV2, a query-agnostic KV-cache compression method based on selective reconstruction. KV2 first uses a lightweight proxy scorer to identify informative in-context tokens, then reprocesses only this subset to compute final eviction scores. On RULER, Needle-in-a-Haystack, and LongBench, KV2's margin over baselines widens as the budget tightens: on RULER 16K at a 2\% KV-cache budget it improves the average score of Qwen3-8B over the next-best baseline by more than 40 percentage points, and on LongBench it attains the highest average at 2\%-5\% budgets by a wide margin (and remains ahead at 10\%), at lower compression-stage runtime and peak memory than full-context reconstruction. Reusable KV-cache compression thus does not require reprocessing the full context. Our code is available at https://github.com/JohannesWesch/KVsquared.

查看此版本解读 →查看此版本原文 ↗