跳到正文
arXiv:cs.LG· Linfeng Dong·· 4 小时前AI 评分44

KVFetch:为 KV Cache 压缩缺失的另一半补上时序预取

KVFetch: Temporal Prefetching for the Missing Half of KV Cache Compression

AI 导读

KVFetch 是一种免训练、可直接接入任意基于打分压缩器的框架,为 KV Cache 压缩补上按位置顺序访问的时序召回通道。它在 RULER-16K 等预算控制下把逐字复制从 0.8 提升到 78.4,13 项任务平均提升 +8.4;在无需顺序访问的 LongBench 上该通道保持休眠、不增加开销。

正文

View PDF HTML (experimental)

Abstract:As context windows scale to tens or hundreds of thousands of tokens, KV cache compression has become essential for efficient LLM inference. Existing methods fall into three families: score-based eviction, summary compensation, and offload-and-recall. Yet all three decide what to keep or recall by content relevance to the current query. We show this shared design is structurally incomplete. A cache supports two access modes: associative lookup by content and sequential traversal by position; current compressors implement only the first. The gap matters in practice: retrieval-augmented generation, code completion, and structured-data extraction all require the model to reproduce identifiers, field values, or code tokens verbatim from the context. Under compression, content-based eviction retains the head of such a sequence but discards its continuation, causing verbatim copying to break irreversibly midway, a failure we call sequential forgetting. This failure resists better scoring, larger budgets, summary compensation, and dynamic re-scoring; it is the dominant source of remaining quality loss under compression. We propose KVFetch, a training-free, drop-in framework that opens a temporal recall channel for any score-based compressor. It demotes evicted candidates to a quantized cold tier, detects active copying through a monotone read pointer, and prefetches positional successors into fixed-size hot-tier slots without increasing attention cost. On RULER-16K under an iso-budget control, KVFetch recovers verbatim copying from 0.8 to 78.4 and raises the 13-task average by +8.4, with gains concentrating on tasks that require sequential access. On LongBench, where no task requires sequential access, the channel remains dormant and imposes no cost.
Comments: 21 pages, 7 figures. Submitted to ICLR 2027
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.08811 [cs.LG]
  (or arXiv:2610.08811v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.08811

arXiv-issued DOI via DataCite

Submission history

From: Linfeng Dong [view email]
[v1] Wed, 23 Sep 2026 03:53:57 UTC (261 KB)

来源:arXiv:cs.LG · arxiv.org