← 研踪 PaperTrailarXiv: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
摘要
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 , 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
观测到的版本
相邻记录可能跳过中间版本;首次发现 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 , 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.
查看此版本解读 →查看此版本原文 ↗