arXiv cs.CL· Yuxing Peng, Zhiqing Tang, Weijia Jia·· 12 小时前AI 评分26
非前缀 KV-cache 复用中,修复预算该花在哪?干扰块结构与上下文兼容性
Where Should a KV-Cache Repair Budget Go? Distractor Structure and Contextual Compatibility in Non-Prefix Reuse
AI 导读
研究在三个 7B-8B 模型和四个数据集上考察非前缀 KV-cache 复用的修复预算分配:复用会丢失全量预填充能回答的 19%-100% 上下文相关问题,且干扰块与目标块同类时损失更大。
正文 · 原文
Abstract:Non-prefix KV-cache reuse encodes retrieved chunks independently and concatenates their caches. To find where a small repair budget should be spent, we vary the chunks around the answer-bearing one (the target) across three 7B-8B models and four datasets of dialogue memory, open-domain QA and API documentation. Reuse loses 19-100% of the context-dependent questions that full prefill answers, and it loses more when the other chunks are of the same kind as the target. Because the recoverable damage is spread over these other chunks, restoring a few of them recovers little, and the budget is better spent on the target. This works through contextual compatibility: recomputing the target against the reused cache beats inserting its full-prefill KV in all seven settings tested, although the recomputed KV stays far from the full-prefill KV. Question attention over reused caches, however, selects the target in at most 18.8% of development questions. A retriever finds it more often, and recomputing its top chunk after moving it next to the question significantly beats InfoFlow-style reordering at the same 5% budget in six of nine open-domain QA and API-documentation settings. On dialogue memory, though, recomputing chunks never significantly beats the token-level selector chosen for each setting.
| Comments: | 36 pages, 6 figures, 34 tables |
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.06397 [cs.CL] |
| (or arXiv:2611.06397v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.06397 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yuxing Peng [view email]
[v1]
Wed, 4 Nov 2026 12:02:58 UTC (163 KB)
来源:arXiv cs.CL · arxiv.org