跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.01782 · v1

AlignKV: Exact Evidence Recovery via Future-Use Distillation and Block-Aligned KV Selection

首次提交 2026-12-01 21:26
版本更新 2026-12-01 21:26
雷达观测 2026-12-02 23:11
arXiv ↗PDF ↗

摘要

KV cache compression reduces the memory footprint and memory-access overhead of long-context LLM inference while often preserving aggregate inference quality. Most existing methods rely on hand-crafted heuristics, such as accumulated attention scores or fixed positional rules, to estimate token importance and evict low-value tokens. However, our empirical analysis shows that token-level retention decisions can disrupt the continuity of critical evidence, leaving low-redundancy spans incomplete and often fragmented, coinciding with poor exact-recall performance. We refer to this structured failure mode as retention fragmentation and construct Flag-in-Haystack, a diagnostic benchmark over contiguous low-redundancy spans, including UUIDs and Base64 strings, to measure exact recovery after cache eviction. We propose AlignKV, which selects contiguous blocks as the primary retention unit and distills FullKV future-use attention into a lightweight 75,778-parameter block-aligned scorer coupled with fixed-budget structured selection. On Llama-3.1-8B-Instruct at B=512B = 512, AlignKV attains 90.6% (116/128) exact span recovery, approaching FullKV's 95.3% (122/128) and far exceeding our matched heuristic control's 14.8% (19/128; SnapKV: 9.4%, 12/128). It also reaches 84.89 on the confirmatory RULER-Test split (vs. 72.22--76.03) and 47.70 on LongBench (vs. 47.67--47.82) against the three prespecified compressed comparators, with no detectable aggregate LongBench difference among the four methods. Ablations show that prompt negative log-likelihood is especially useful to the learned scorer for high-entropy strings such as UUIDs. Distilling future attention instead of using span labels gives its clearest benefit on the broader RULER task mix, not on Flag exact recovery.

作者备注:9 pages, 6 figures, 5 tables

AI 论文解读

基于摘要 · 非全文审阅

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

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

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

v1 · 2026-12-01 21:26 · 最新观测版本

AlignKV: Exact Evidence Recovery via Future-Use Distillation and Block-Aligned KV Selection

KV cache compression reduces the memory footprint and memory-access overhead of long-context LLM inference while often preserving aggregate inference quality. Most existing methods rely on hand-crafted heuristics, such as accumulated attention scores or fixed positional rules, to estimate token importance and evict low-value tokens. However, our empirical analysis shows that token-level retention decisions can disrupt the continuity of critical evidence, leaving low-redundancy spans incomplete and often fragmented, coinciding with poor exact-recall performance. We refer to this structured failure mode as retention fragmentation and construct Flag-in-Haystack, a diagnostic benchmark over contiguous low-redundancy spans, including UUIDs and Base64 strings, to measure exact recovery after cache eviction. We propose AlignKV, which selects contiguous blocks as the primary retention unit and distills FullKV future-use attention into a lightweight 75,778-parameter block-aligned scorer coupled with fixed-budget structured selection. On Llama-3.1-8B-Instruct at B=512B = 512, AlignKV attains 90.6% (116/128) exact span recovery, approaching FullKV's 95.3% (122/128) and far exceeding our matched heuristic control's 14.8% (19/128; SnapKV: 9.4%, 12/128). It also reaches 84.89 on the confirmatory RULER-Test split (vs. 72.22--76.03) and 47.70 on LongBench (vs. 47.67--47.82) against the three prespecified compressed comparators, with no detectable aggregate LongBench difference among the four methods. Ablations show that prompt negative log-likelihood is especially useful to the learned scorer for high-entropy strings such as UUIDs. Distilling future attention instead of using span labels gives its clearest benefit on the broader RULER task mix, not on Flag exact recovery.

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