arXiv:2612.01782v1 cs.LG

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

Shanchen Pang, Junyi Li, Chenhao Zhang, Xiaojian Liao, Meng Han

제출 2026-12-02

원문 초록

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 = 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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2612.01782v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.