KVFetch: Temporal Prefetching for the Missing Half of KV Cache Compression
Summary
The paper introduces KVFetch, a training-free framework that adds a temporal recall channel to score-based KV cache compressors to fix "sequential forgetting" (verbatim copying breaking under compression), recovering copying performance from 0.8 to 78.4 and boosting the RULER-16K average by +8.4 at iso-budget.
View Cached Full Text
Cached at: 10/08/26, 12:47 PM
# Temporal Prefetching for the Missing Halfof KV Cache Compression
Source: [https://arxiv.org/html/2610.08811](https://arxiv.org/html/2610.08811)
###### 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\.
## 1Introduction
The rapid growth of context windows has made KV cache compression a prerequisite for practical long\-context LLM inference\. Three families of methods have emerged to manage the resulting memory cost: score\-based eviction retains the highest\-scoring entries and discards the rest\([Zhang et al\., 2023](https://arxiv.org/html/2610.08811#bib.bib1);[Li et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib2);[Gu et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib4)\), summary compensation approximates the aggregate contribution of discarded entries\([Yang et al\., 2026c](https://arxiv.org/html/2610.08811#bib.bib9);[Li et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib10)\), and offload\-and\-recall retrieves entries beyond the active cache on demand\([Xiao et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib12);[Tang et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib13)\)\. Despite their diversity, all three families share a single addressing primitive: they decide what to keep or recall by measuring content relevance to the current query\.
We show that content addressing alone is structurally incomplete\. A cache supports two kinds of access: associative lookup by content and sequential traversal along the position stream\. Every existing compressor implements the first; none provides the second\. This incompleteness is not easily resolved by better attention scores, larger retention budgets, or lossy summary compensation\. While better scoring could in principle change which positions are retained, our retention sweep shows that existing methods do not preferentially preserve mid\-span successors even at a 40% budget, because these tokens are semantically indistinguishable from other low\-scoring positions\. Crucially, the sequential demand is generated by the decoding trajectory itself, making it fundamentally difficult for any prefill\-time scoring function to anticipate\.
Figure[1](https://arxiv.org/html/2610.08811#S1.F1.fig1)illustrates the consequence\. When the model must copy a UUID token by token, content\-based eviction retains the span’s head tokens, which carry the query\-relevant semantics, but discards mid\-span successors whose standalone scores are uniformly low\. The model locates the target and begins copying correctly, then breaks irreversibly once it reaches evicted positions\. We call this failure mode*sequential forgetting*\. Unlike diffuse quality loss, which responds to score refinement or larger budgets, sequential forgetting is abrupt and resists the four natural improvement axes we examine \(better scoring, larger budgets, summary compensation, and dynamic re\-scoring\)\. In our evaluation, tasks exhibiting this pattern account for 86% of the strongest baseline’s residual gap to uncompressed performance\. This resistance is structural: no score refinement can recover a physically deleted position; larger budgets do not preferentially retain mid\-span successors \(s3 rises from 0\.8 to only 3\.2 at 40%\); summary methods approximate aggregate attention but not bit\-exact identity; and dynamic re\-scoring still evaluates content relevance \(TOVA’s s3 = 0\.0\)\. We detail this analysis in §[4\.2](https://arxiv.org/html/2610.08811#S4.SS2)\.
We propose that KV cache compression should implement both addressing modes, mirroring the dual\-channel design that has been standard in hardware caches for decades\. KVFetch is a concrete instantiation: a training\-free, drop\-in framework that opens the temporal channel for any score\-based compressor without modifying its scores, activating whenever the model’s attention trajectory exhibits sequential advance and remaining dormant otherwise\. It implements the channel through three components:*admission*demotes low\-predictability literal spans \(e\.g\., hex digits, rare identifiers\) to a quantized cold tier rather than permanently deleting them; a monotone*read pointer*detects active verbatim copying; and*prefetch\-and\-swap*recalls positional successors into fixed\-size hot\-tier slots, keeping attention cost constant\.
Under an iso\-budget control, KVFetch raises the RULER\-16K 13\-task average by \+8\.4 \(9 of 13 tasks improve, no material regression\), recovers verbatim copying from 0\.8 to 78\.4, and shows no degradation on tasks without sequential access \(LongBench \+0\.33\)\. The gains are consistent across three model families \(Qwen2\.5\-7B, Qwen3\-4B, Llama\-3\.1\-8B\)\.
Figure 1:Sequential forgetting and recovery with KVFetch \(schematic\)\.Top:a compressed cache retains the target prefix but lacks the KV entries for its continuation, interrupting verbatim copying\.Bottom:KVFetch recalls admitted successors and enables the copy to continue\. Recovery requires a visible prefix and cold\-tier coverage\.#### Contributions\.
1. 1\.We identify a missing addressing mode in KV cache compression\. All existing compressors implement content addressing; none provides temporal addressing\. We formalize the resulting failure as*sequential forgetting*and show it accounts for 86% of the aggregate per\-task residual gap between the strongest baseline and full KV\.
2. 2\.We introduce KVFetch, a training\-free temporal recall framework that adds a position\-indexed cold tier and fixed\-capacity hot\-slot prefetching to any score\-based compressor, without modifying its scoring logic\.
3. 3\.We evaluate on long\-context benchmarks \(RULER, LongBench\) with budget and length scaling, iso\-budget controls, and component ablations demonstrating that each of the three components is necessary\.
## 2Related Work
We organize existing work by*addressing primitive*, the mechanism that decides what to keep or recall, since this primitive determines what each family can and cannot recover\.
Score\-based eviction\.The dominant family assigns importance scores and retains the top\-scoring fraction\. Methods differ in when and how scores are computed: H2O\([Zhang et al\., 2023](https://arxiv.org/html/2610.08811#bib.bib1)\)accumulates prefill attention, SnapKV\([Li et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib2)\)pools an observation window, and TOVA\([Oren et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib3)\)updates selection during decoding\. A second wave of refinements improves the selection process along various axes: OBCache\([Gu et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib4)\)applies perturbation\-based pruning, AdaKV\([Feng et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib5)\)and PyramidKV\([Cai et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib29)\)allocate budgets adaptively across heads or layers, CapKV\([Yang et al\., 2026a](https://arxiv.org/html/2610.08811#bib.bib6)\)optimizes an information\-capacity objective, CompressKV\([Lin et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib8)\)selects through semantic retrieval heads, and FASA\([Wang et al\., 2026b](https://arxiv.org/html/2610.08811#bib.bib7)\)estimates query\-dependent importance from rotary\-frequency components\. Despite this diversity, every method evaluates*content relevance*: how much a given position matters to the current query\. This primitive is effective for associative lookup, but improving a score cannot recover a physically deleted position; mid\-span successors of a literal span carry uniformly low scores and are not preserved even at 40% retention\.
SnapKV’s neighborhood preservation is the closest precursor to our concern: it extends a fixed\-size window around selected attention peaks to avoid losing surrounding context, such as partial phone numbers\. However, this window is a static, prefill\-time decision with a fixed radius that does not adapt to the copy trajectory emerging during decoding\. For multi\-token literal spans, the window typically does not extend far enough to cover the full continuation\. KVFetch addresses the same failure class with a dynamic, decoding\-time mechanism that detects ongoing copying and recalls successors on demand\.
Summary compensation\.IndexMem\([Yang et al\., 2026c](https://arxiv.org/html/2610.08811#bib.bib9)\)combines learned eviction with latent memory, MomentKV\([Li et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib10)\)uses moment statistics, and RESA\([Yang et al\., 2026b](https://arxiv.org/html/2610.08811#bib.bib11)\)approximates residual attention\. These methods recover the*distributional effect*of discarded tokens on the attention output, but not the*bit\-exact token identity*required for verbatim copying, which is the critical distinction for sequential continuation\.
Offload\-and\-recall\.InfLLM\([Xiao et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib12)\)retrieves blocks from external context memory, ArkVale\([Chen et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib14)\)makes eviction recallable, Quest\([Tang et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib13)\)estimates page relevance from query vectors and key extrema, and NOSA\([Huang et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib15)\)jointly designs sparse attention with bounded CPU–GPU transfers\. Their selection criterion remains content\-based: they retrieve the entries most similar to the current query\. Content\-based recall can co\-load positional successors incidentally \(Quest’s page granularity does so, raising s3 from 0\.8 to 8\.8\), but it does not systematically follow the copy trajectory and remains far from the full\-KV ceiling \(99\.2\)\.
Predicting future demand\.SparDA\([Fu et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib16)\), FlashMemory\([Wang et al\., 2026a](https://arxiv.org/html/2610.08811#bib.bib17)\), and KVP\([Moschella et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib18)\)train predictors for future KV demand, recognizing, as we do, that demand is not fully determined at prefill time\. They target broad demand patterns with learned models; KVFetch targets a specific pattern, sequential continuation, with a training\-free signal\. The two approaches are complementary\.
KV cache quantization\.KIVI\([Liu et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib26)\), KVQuant\([Hooper et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib27)\), and GEAR\([Kang et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib28)\)reduce bytes per retained entry via low\-precision representations\. KVFetch uses 4\-bit affine quantization for its cold tier as an implementation choice, not as a quantization contribution\.
Across all four axes, the addressing primitive has been content relevance\. No existing method addresses positions by their*temporal relation*to the model’s current read trajectory\. KVFetch provides this second channel\.
## 3Method: KVFetch
KVFetch adds a temporal recall channel to any score\-based compressor\. The distinction between content addressing and temporal addressing mirrors a classical dichotomy in hardware cache design: associative caches index by content tag, while sequential prefetchers predict demand from the position stream\. Modern CPU caches have long combined both modes; KV cache compressors, however, have implemented only the first\. KVFetch provides the second\.
### 3\.1Preliminaries and Notation
A score\-based compressor assigns an importance scoresps\_\{p\}to each positionppafter prefill and retains only the top\-⌊\(1−ρ\)L⌋\\lfloor\(1\-\\rho\)L\\rfloorpositions:
ℋ=top\-⌊\(1−ρ\)L⌋\(\{sp\}p=0L−1\)\\mathcal\{H\}=\\operatorname\{top\}\\text\{\-\}\\lfloor\(1\-\\rho\)L\\rfloor\\\!\\left\(\\\{s\_\{p\}\\\}\_\{p=0\}^\{L\-1\}\\right\)whereLLis the prompt length andρ\\rhothe eviction rate\. Decoding then attends exclusively overℋ\\mathcal\{H\}, whose membership remains fixed thereafter\. We writeata\_\{t\}for the attention distribution at decoding steptt,ℋt\\mathcal\{H\}\_\{t\}for the hot tier, and𝒞\\mathcal\{C\}for the cold tier introduced by KVFetch\. Batch, layer, and head indices are omitted except where semantics differ\.
### 3\.2Sequential Forgetting
#### Definition 1 \(Sequential forgetting\)\.
Letπ=\(p1,…,pm\)\\pi=\(p\_\{1\},\\ldots,p\_\{m\}\)be a contiguous span that must be reproduced verbatim\. A compressed cacheℋ\\mathcal\{H\}exhibits*sequential forgetting*onπ\\piif there existsj<mj<msuch thatp1,…,pj∈ℋp\_\{1\},\\ldots,p\_\{j\}\\in\\mathcal\{H\}butpj\+1∉ℋ∪dom\(𝒞\)p\_\{j\+1\}\\notin\\mathcal\{H\}\\cup\\operatorname\{dom\}\(\\mathcal\{C\}\)\. The model generates the firstjjtokens correctly, then fails irreversibly at positionpj\+1p\_\{j\+1\}\.
Sequential forgetting differs from diffuse forgetting in two ways: \(i\) it is abrupt, meaning an otherwise correct copy breaks sharply at a single position; and \(ii\) it resists the four natural improvement axes \(better scoring, larger budgets, summary compensation, and dynamic re\-scoring\)\. Tasks exhibiting this pattern account for 86% of the aggregate per\-task gap between the strongest baseline and full KV\.
### 3\.3Overview and System State
KVFetch extends the baseline through three components: admission \(§3\.4\), triggering \(§3\.5\), and prefetching \(§3\.6\), each described below\. Figure[2](https://arxiv.org/html/2610.08811#S3.F2)illustrates the pipeline\. The system augments the baseline state to𝒮t=\(ℋt,𝒞,ℳpos,ptrt,𝐡t\)\\mathcal\{S\}\_\{t\}=\\left\(\\mathcal\{H\}\_\{t\},\\ \\mathcal\{C\},\\ \\mathcal\{M\}\_\{\\mathrm\{pos\}\},\\ \\mathrm\{ptr\}\_\{t\},\\ \\mathbf\{h\}\_\{t\}\\right\), where𝒞\\mathcal\{C\}is a 4\-bit cold tier \(capped at 5% ofLL\) with anO\(1\)O\(1\)position index,ℳpos\\mathcal\{M\}\_\{\\mathrm\{pos\}\}maps hot slots to original positions, andptrt\\mathrm\{ptr\}\_\{t\}is the read pointer\. The state is updated by𝒮t\+1=Φ\(𝒮t,𝐚t\)\\mathcal\{S\}\_\{t\+1\}=\\Phi\(\\mathcal\{S\}\_\{t\},\\mathbf\{a\}\_\{t\}\)using only the attention already computed: no extra forward passes, no training\. Without sequential access, all added components remain idle and the system reduces to the unmodified baseline\.
Figure 2:Overview of KVFetch as a training\-free plug\-in\.Left:ordinary\(a\)prefill KV selection and\(b\)decoding\.Right:\(1\)unretained candidate spans enter a position\-indexed 4\-bit cold tier;\(2\)attention peaks update a stall\-tolerant read pointer and trigger;\(3\)positional successors are fetched and swapped into the hot tier\. Swaps preserve the number of prompt hot slots; cold storage is additional\. Attention cells and token chunks are schematic; two fetched entries illustrate the update \(defaultk=8k=8\)\.
### 3\.4Admission: Constructing the Cold Tier
Tokens lacking standalone semantics, such as hexadecimal digits, base64 fragments, and rare identifiers, receive uniformly low importance scores at prefill because the verbatim demand that will eventually consume them does not yet exist\. Permanently deleting these positions makes sequential forgetting inevitable\.
KVFetch demotes such tokens into a 4\-bit quantized cold tier indexed by original position\. The admission signal is unigram\-frequency rank: tokens in the bottom\-τ\\taupercentile form candidate runs when they occur consecutively, extended byδ\\deltapositions on each end for tokenizer\-boundary tolerance\. This signal is format\-agnostic: hex strings, JSON keys, code identifiers, and rare nouns are all captured without format\-specific rules\.
The cold\-tier budget is computed on demand and capped atγcold=5%\\gamma\_\{\\mathrm\{cold\}\}=5\\%ofLL\. Tasks without candidate spans receive no cold tier, and unused budget is partially refunded to the hot tier, eliminating any regression on non\-copying tasks\. The cold tier uses 4\-bit per\-channel affine quantization; 4\-bit matches 8\-bit precision in our experiments, while 2\-bit degrades substantially \(§[C](https://arxiv.org/html/2610.08811#A3)\)\.
### 3\.5Triggering: Detecting Active Copying
When the model copies a span verbatim, its attention peak advances monotonically in the original position coordinate\. We build the trigger from this behavioral signature\.
At each decoding steptt, we extract the attention peak over prompt tokens and recover its original position:
pt∗=ℳpos\[argmaxj∈𝒱𝐚t\[j\]\]p\_\{t\}^\{\*\}=\\mathcal\{M\}\_\{\\mathrm\{pos\}\}\\Big\[\\arg\\max\_\{j\\in\\mathcal\{V\}\}\\mathbf\{a\}\_\{t\}\[j\]\\Big\]\(1\)Each layer maintains its own pointer, observed through its most confident KV head\. LetΔt=pt∗−ptr\\Delta\_\{t\}=p\_\{t\}^\{\*\}\-\\mathrm\{ptr\}\. The pointer handles three cases:
ptr←\{pt∗,0<Δt≤Δmax\(advance\)ptr,−Δmax≤Δt≤0\(stall\)pt∗,\|Δt\|\>Δmax\(jump; reset\)\\mathrm\{ptr\}\\leftarrow\\begin\{cases\}p\_\{t\}^\{\*\},&0<\\Delta\_\{t\}\\leq\\Delta\_\{\\max\}\\quad\(\\text\{advance\}\)\\\\ \\mathrm\{ptr\},&\-\\Delta\_\{\\max\}\\leq\\Delta\_\{t\}\\leq 0\\quad\(\\text\{stall\}\)\\\\ p\_\{t\}^\{\*\},&\|\\Delta\_\{t\}\|\>\\Delta\_\{\\max\}\\quad\(\\text\{jump; reset\}\)\\end\{cases\}\(2\)Copy mode activates when at leastnadv=2n\_\{\\mathrm\{adv\}\}=2advances occur within a window ofW=8W=8steps:
Advt=𝟏\[0<Δt≤Δmax\],Copyt=𝟏\[∑i=0W−1Advt−i≥nadv\]\\mathrm\{Adv\}\_\{t\}=\\mathbf\{1\}\\big\[0<\\Delta\_\{t\}\\leq\\Delta\_\{\\max\}\\big\],\\qquad\\mathrm\{Copy\}\_\{t\}=\\mathbf\{1\}\\Big\[\\textstyle\\sum\_\{i=0\}^\{W\-1\}\\mathrm\{Adv\}\_\{t\-i\}\\geq n\_\{\\mathrm\{adv\}\}\\Big\]\(3\)withΔmax=4\\Delta\_\{\\max\}=4\. The trigger activates on approximately 1% of decoding steps during active copying and remains near zero otherwise\.
Content scoring typically retains each span’s head tokens as hot\-tier anchors, over which the pointer forms a trajectory; once copy mode activates, prefetched successors extend the available context in a positive feedback loop\. This bootstrapping condition delimits KVFetch’s scope: the host compressor must preserve initial localization for the temporal channel to engage\.
### 3\.6Prefetching: Recalling Positional Successors
Upon triggering, KVFetch fetches thekkpositional successors from the cold tier:
ℛt=\[ptr\+1,ptr\+k\]∩dom\(ℳcold\)∖range\(ℳpos\)\\mathcal\{R\}\_\{t\}=\\big\[\\mathrm\{ptr\}\{\+\}1,\\ \\mathrm\{ptr\}\{\+\}k\\big\]\\cap\\operatorname\{dom\}\(\\mathcal\{M\}\_\{\\mathrm\{cold\}\}\)\\setminus\\operatorname\{range\}\(\\mathcal\{M\}\_\{\\mathrm\{pos\}\}\)\(4\)Each recalled entry replaces the unprotected prompt slot with the lowest composite score\. Newly swapped\-in slots are protected forTprotT\_\{\\mathrm\{prot\}\}steps\. The default prefetch distance isk=8k=8\.
#### Safety\.
Swaps preserve the union of hot and cold positions: nothing is permanently lost, so false triggers cost at mostkkrecoverable replacements\. Generated tokens are permanently protected\.
#### Attention cost\.
Each swap\-in pairs with a swap\-out, maintaining\|ℋt\|=\|ℋ0\|\|\\mathcal\{H\}\_\{t\}\|=\|\\mathcal\{H\}\_\{0\}\|for alltt\. The cost per trigger isO\(k\)O\(k\)lookups, independent ofLL\.
#### Fetch criterion\.
The default criterion is positional successors; query–key similarity is equally viable\. Appendix[B\.4](https://arxiv.org/html/2610.08811#A2.SS4)shows that the choice of criterion is secondary to the channel’s presence: replacing positional successors with query–key similarity changes the four\-task average by only 0\.76, whereas disabling the channel entirely is far more costly\. The bottleneck is the channel, not the criterion\.
The full pseudocode appears in Algorithm[1](https://arxiv.org/html/2610.08811#alg1)\.
## 4Experiments
### 4\.1Setup
#### Models\.
Our primary model is Qwen2\.5\-7B\-Instruct\([Qwen Team, 2025a](https://arxiv.org/html/2610.08811#bib.bib22)\)\. We validate across model families and scales with Qwen3\-4B\-Instruct\([Qwen Team, 2025b](https://arxiv.org/html/2610.08811#bib.bib19)\)and Llama\-3\.1\-8B\-Instruct\([Grattafiori et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib24)\)\.
#### Benchmarks\.
We evaluate on RULER\([Hsieh et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib20)\)at context lengths 4K, 16K, and 32K \(13 tasks; 1,625 samples at 16K\) and on LongBench\([Bai et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib21)\)\(16 tasks\)\. All experiments use a unified query\-aware compression setting, the SDPA attention backend, and a single RTX 5090 GPU\.
#### Baselines\.
We compare against representative methods from each family: score\-based eviction \(H2O\([Zhang et al\., 2023](https://arxiv.org/html/2610.08811#bib.bib1)\), SnapKV\([Li et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib2)\), PyramidKV\([Cai et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib29)\), AdaKV\([Feng et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib5)\), OBCache\+SnapKV\([Gu et al\., 2025](https://arxiv.org/html/2610.08811#bib.bib4)\)\), dynamic eviction \(TOVA\([Oren et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib3)\)\), summary compensation \(MomentKV\([Li et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib10)\), CompressKV\([Lin et al\., 2026](https://arxiv.org/html/2610.08811#bib.bib8)\)\), and offload\-and\-recall \(Quest\([Tang et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib13)\)\)\. KVFetch wraps OBCache\+SnapKV as its host scorer\. Full KV serves as the upper bound\. All methods retain 20% of the KV cache unless stated otherwise\.
#### Budget accounting\.
KVFetch’s total measured storage is 20\.36% of full KV \(20% hot tier plus a 4\-bit cold sidecar of 3\.25 MiB\)\. The iso\-budget control allocates 22\.9% to OBCache\+SnapKV, giving the baseline 12\.5% more storage than KVFetch to ensure a conservative comparison\.
### 4\.2Diagnosing Sequential Forgetting
As established in §[1](https://arxiv.org/html/2610.08811#S1), scaling the retention budget from 10% to 40% does not resolve verbatim copying: the host’s s3 rises from 0\.8 to only 3\.2, no score\-based baseline exceeds 4\.0 even at 40%, and even the summary\-compensation baselines reach at most 12\.0 against a full\-KV ceiling of 99\.2\. We introduce a finer diagnostic to localize the failure\.
Sustained Copy Length localizes the breakpoint\.We measure Sustained Copy Length \(SCL\), defined as the longest gold\-matching prefix of the generated answer\. On s3, full KV sustains 31\.25 tokens on average; H2O sustains only 5\.43 and OBCache\+SnapKV only 10\.84 before breaking, confirming mid\-copy failure rather than localization failure\. The nine tasks that improve under KVFetch contribute 346\.0 of the 400\.4\-point full\-KV gap \(86\.4%\), identifying the dominant residual failure and motivating a targeted mechanism\.
### 4\.3Main Results: RULER\-16K
Table[1](https://arxiv.org/html/2610.08811#S4.T1)reports results at 20% retention across three models under an iso\-budget control \(baseline at 22\.9%, KVFetch at 20\.36% measured total\)\. KVFetch improves the 13\-task average by \+8\.43 \(from 56\.45 to 64\.88\) on Qwen2\.5\-7B, with 9 of 13 tasks improving and no material regression\. Per\-task analysis confirms that the gains concentrate on sequential\-access tasks: on Qwen3\-4B, s3 improves by \+96\.8, multivalue by \+13\.0, and cwe by \+7\.04, while tasks without sequential demand \(qa\_1, qa\_2, niah\_single\_1/2\) show zero change\. The pattern is consistent across all three models\.
Table 1:RULER\-16K results across three models \(20% hot retention unless marked\)\. Avg: 13\-task average; s3: verbatim\-copy task \(niah\_single\_3\)\.KVFetch at 20% hot retention uses 20\.36% measured total storage \(hot tier plus a 4\-bit cold sidecar\)\. Retention ratios exclude cold\-tier and auxiliary storage\. The 22\.9% control row uses the aggregate scores reported in the manuscript; – denotes values not reported for that configuration, not zero\.
The largest gain appears on s3, where all baselines score at most 8\.8 and KVFetch recovers to 78\.4 \(Qwen2\.5\-7B\), 97\.6 \(Qwen3\-4B\), and 75\.2 \(Llama\-3\.1\-8B\)\. The SCL diagnostic confirms the mechanism: KVFetch sustains 28\.86 tokens vs\. 10\.84 for the host \(full\-KV ceiling: 31\.25\), directly repairing the continuation breakpoint identified there\. Non\-sequential tasks show zero change, consistent with the dormancy design\. A task\-level bootstrap \(5,000 resamples\) yields non\-overlapping 95% CIs \(64\.88±1\.4464\.88\\pm 1\.44vs\.56\.45±1\.3856\.45\\pm 1\.38\)\. Per\-task gains correlate with cold\-tier recall hit rate atr=0\.924r=0\.924: tasks requiring sequential traversal improve, while purely associative tasks \(qa\_1, qa\_2\) show no change\. This pattern aligns with a prediction of the dual\-channel framework rather than a post\-hoc observation\.
Plug\-and\-play validation\.We wrap KVFetch around four additional hosts \(Table[10](https://arxiv.org/html/2610.08811#A1.T10)in Appendix[A](https://arxiv.org/html/2610.08811#A1)\) to verify that it is not specific to OBCache\+SnapKV\. All score\-based hosts recover s3 to above 62, with the gain scaling with host anchor quality \(H2O: 62\.4, SnapKV: 71\.2, AdaKV: 73\.6, OBCache\+SnapKV: 78\.4\)\. TOVA, whose s3 is 0\.0 at baseline \(a localization failure, not a continuation failure\), remains near zero \(\+3\.2\), confirming the applicability boundary identified in §[4\.5](https://arxiv.org/html/2610.08811#S4.SS5): KVFetch repairs continuation only when the host preserves initial localization\.
### 4\.4Component Ablation
We ablate each of KVFetch’s three components independently: admission \(which builds the cold tier\), triggering \(which detects copying\), and prefetching \(which recalls positional successors\)\. All ablations use Qwen2\.5\-7B on RULER\-16K at 20% retention \(Table[2](https://arxiv.org/html/2610.08811#S4.T2)\)\.
Admission is necessary\.Removing the cold tier \(w/o Admission\) drops s3 from 78\.4 to 0\.8 and the 13\-task average to 54\.31, which matches the host level\. With nothing to recall, the system reduces to its unmodified host\.
Triggering is necessary\.With the cold tier and prefetch intact but no trigger \(never\-fetch\), s3 returns to the host baseline \(0\.8\): the channel exists but is never activated\. Disabling the trigger entirely and fetching at every step \(always\-fetch\) is even worse: undirected recalls displace useful hot\-tier entries, reducing s3 to 24\.0 and the average to 51\.72, which falls below the host’s 54\.28\. The trigger therefore serves a dual role: it activates recall on sequential tasks and protects non\-sequential tasks from recall pollution\.
Prefetching is necessary\.With admission and triggering intact but no swap execution \(w/o Prefetch\), the system detects copying but cannot act on it; s3 remains at the host level \(0\.8, average 54\.48\)\.
Trigger design\.Collapsing the accumulated history window to an instantaneous stride \(retaining the cold tier and swap logic but removing the requirement for sustained evidence\) reduces s3 from 78\.4 to 30\.4, showing that robust copy detection requires temporal accumulation rather than a single\-step signal\.
Fetch criterion\.Once the temporal channel is open, the specific addressing mode becomes an implementation choice\. We default to positional successors because they require only anO\(k\)O\(k\)lookup, whereas query–key similarity costs a dot product per step\. Appendix[B\.4](https://arxiv.org/html/2610.08811#A2.SS4)verifies that the criterion is secondary to the channel’s presence: under a configuration\-matched comparison, replacing positional successors with query–key similarity changes the four\-task average by only 0\.76, while disabling the channel entirely costs over 48 points\.
Table 2:Component ablation \(Qwen2\.5\-7B, RULER\-16K, 20% hot retention\)\. Rows mark whether admission, triggering, and prefetching are active; “simplified” denotes the instantaneous\-stride trigger with no accumulated history\. s3: verbatim copying; Avg: 13\-task average\.ConfigurationAdmissionTriggerPrefetchs3AvgFull KVFetch✓\\checkmark✓\\checkmark✓\\checkmark78\.464\.88w/o Admission×\\times✓\\checkmark✓\\checkmark0\.854\.31w/o Trigger \(always fetch\)✓\\checkmark×\\times✓\\checkmark24\.051\.72w/o Trigger \(never fetch\)✓\\checkmark×\\times×\\times0\.854\.52w/o Prefetch✓\\checkmark✓\\checkmark×\\times0\.854\.48*Trigger design \(reference: Full KVFetch above\)*Instantaneous stride \(no accumulated state\)✓\\checkmarksimplified✓\\checkmark30\.460\.24*Reference*Host baseline \(OBCache\+SnapKV @20%\)–––0\.854\.28
### 4\.5Robustness and Scope
#### Context length\.
Figure[3](https://arxiv.org/html/2610.08811#S4.F3)tests input\-length dependence\. At 20% hot retention, KVFetch exceeds the host at all three RULER context lengths \(4K, 16K, 32K\), with s3 ranging between 73\.6 and 80\.8 across the three settings\.
Figure 3:Context\-length robustness on Qwen2\.5\-7B at 20% hot retention\. Left: 13\-task average; right: s3\. Retention excludes cold\-tier and auxiliary storage\.
#### Non\-sequential tasks\.
The dual\-channel framework predicts that the temporal channel should impose no cost in the absence of sequential access\. Table[12](https://arxiv.org/html/2610.08811#A1.T12)confirms this prediction: no LongBench task family regresses materially \(\+0\.33 overall\), and step\-level trigger rates \(0\.000–0\.029\) show that the temporal channel remains dormant throughout\.
#### Prevalence of sequential access in deployment workloads\.
Although LongBench’s comprehension tasks do not require verbatim copying, sequential access is common in practice: RAG pipelines must reproduce UUIDs, transaction IDs, and field values token by token; code generation copies variable names verbatim; legal and financial workflows demand exact clause numbers and amounts\. Citation\-heavy writing requires faithful reproduction of titles and identifiers\. These spans share three properties formalized in Definition 1: they are embedded in long contexts, carry low standalone salience, and tolerate no single\-token error\. LongBench evaluates comprehension rather than verbatim fidelity, which explains the dormancy, but this does not diminish the cost of the failure when it occurs\. Four of thirteen RULER tasks exhibit this pattern and contribute 86% of the residual gap \(§[4\.2](https://arxiv.org/html/2610.08811#S4.SS2)\)\. Even a single call that requires identifier\-level fidelity, such as one RAG query or one code\-completion request, turns a hard failure into correct output\. The overhead \(4\.8% latency, 0\.36% storage\) applies only during active copying and drops to near zero otherwise, making the cost negligible relative to a single silent corruption\.
#### Applicability boundary\.
KVFetch repairs continuation, not localization\. On Mistral\-7B\-Instruct\([Jiang et al\., 2023](https://arxiv.org/html/2610.08811#bib.bib23)\), the compressed host cannot localize targets at all \(trigger rate<0\.002<0\.002compared with 0\.068 on Qwen2\.5 copy tasks\); no copy trajectory forms, and KVFetch’s gain is limited to \+1\.66 \(from 26\.39 to 28\.05\) with no regression\. A single full\-KV probe on a representative task suffices to diagnose this boundary before deployment\.
#### Multi\-needle discrimination\.
KVFetch does not repair tasks where the failure is selecting the wrong candidate among several rather than losing a copy midway\. Onniah\_multikey\_2/3, the host already selects an incorrect needle; the copy itself does not break, so the temporal channel has nothing to repair\. This is an orthogonal discrimination problem that falls outside the dual\-channel framework\.
### 4\.6Efficiency
Table[3](https://arxiv.org/html/2610.08811#S4.T3)reports storage, attention cost, and latency at 16K context length\. Each swap\-in pairs with a swap\-out, keeping decoding attention at exactly 1\.000×\\timesthe host\. The 4\-bit cold sidecar adds 3\.25 MiB \(0\.36% of full\-KV storage\), and average per\-step latency is 19\.6 ms vs\. 18\.7 ms \(4\.8% overhead, trigger rate 0\.011\)\.
Table 3:Efficiency at 16K context\. Step\-level trigger rate is 0\.011; each trigger costs at mostkkO\(1\)O\(1\)lookups plus dequantization\. Peak CUDA memory is comparable to the host\.
## 5Conclusion
KV cache compressors have so far implemented only one of the two addressing modes that hardware caches have combined for decades\. Opening the temporal channel, even with a minimal, training\-free implementation, recovers a class of failures that no amount of content\-addressing refinement can reach\. Under an iso\-budget control, KVFetch improves the RULER\-16K 13\-task average by\+8\.4\+8\.4, lifts verbatim copying from0\.80\.8to78\.478\.4\(and to97\.697\.6on Qwen3\-4B\), and imposes no cost on tasks without sequential access\. Component ablations show that admission, triggering, and prefetching are each necessary\. The dual\-channel view, content addressing combined with temporal addressing, offers more than a post\-hoc account of KVFetch’s gains: the per\-task hit\-rate correlation \(r=0\.924r=0\.924\) confirms that the framework correctly identifies which tasks will benefit and which will not\. We argue that this decomposition should become a standard design axis for KV memory systems\. The specific trigger and prefetch choices made here are one instantiation; future compressors can implement the temporal channel with alternative mechanisms, including learned triggers, variable prefetch distances, or integration with offload\-and\-recall architectures\.
## AI Use Statement
We used generative AI tools for literature organization, code debugging, and text polishing\. All experiments, data, and conclusions were verified and reviewed by the authors, who take full responsibility for the content\.
## Reproducibility Statement
All experiments use publicly available benchmarks \(RULER\([Hsieh et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib20)\), LongBench\([Bai et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib21)\)\) and models \(Qwen2\.5\-7B\([Qwen Team, 2025a](https://arxiv.org/html/2610.08811#bib.bib22)\), Qwen3\-4B\([Qwen Team, 2025b](https://arxiv.org/html/2610.08811#bib.bib19)\), Llama\-3\.1\-8B\-Instruct\([Grattafiori et al\., 2024](https://arxiv.org/html/2610.08811#bib.bib24)\), Mistral\-7B\-Instruct\([Jiang et al\., 2023](https://arxiv.org/html/2610.08811#bib.bib23)\)\)\. Code, telemetry logs, and configuration files will be open\-sourced upon acceptance\. Baseline numbers are reproducible with KVPress\([NVIDIA Corporation, 2025](https://arxiv.org/html/2610.08811#bib.bib25)\)\.
## Ethics Statement
This work addresses inference\-time memory management and does not modify model weights, training data, or output distributions\. We identify no specific ethical risks beyond those inherent to the underlying language models\.
## References
- Baiet al\.\(2024\)Y\. Bai, X\. Lv, J\. Zhang, H\. Lyu, J\. Tang, Z\. Huang, Z\. Du, X\. Liu, A\. Zeng, L\. Hou, Y\. Dong, J\. Tang, and J\. LiLongBench: a bilingual, multitask benchmark for long context understanding\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics,pp\. 3119–3137\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.acl-long.172),[Link](https://aclanthology.org/2024.acl-long.172/)Cited by:[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px2.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Caiet al\.\(2024\)Z\. Cai, Y\. Zhang, B\. Gao, Y\. Liu, Y\. Li, T\. Liu, K\. Lu, W\. Xiong, Y\. Dong, J\. Hu, and W\. XiaoPyramidKV: dynamic KV cache compression based on pyramidal information funneling\.External Links:2406\.02069,[Link](https://arxiv.org/abs/2406.02069)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Chenet al\.\(2024\)R\. Chen, Z\. Wang, B\. Cao, T\. Wu, S\. Zheng, X\. Li, X\. Wei, S\. Yan, M\. Li, and Y\. LiangArkVale: efficient generative LLM inference with recallable key\-value eviction\.InAdvances in Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=4oAt5L4lYe)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p5.1)\.
- Fenget al\.\(2025\)Y\. Feng, J\. Lv, Y\. Cao, X\. Xie, and S\. K\. ZhouAda\-KV: optimizing KV cache eviction by adaptive budget allocation for efficient LLM inference\.InAdvances in Neural Information Processing Systems,External Links:[Link](https://papers.nips.cc/paper_files/paper/2025/hash/a40ff56daab9f4808b1e18350c8a11ce-Abstract-Conference.html),2407\.11550Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Fuet al\.\(2026\)Y\. Fu, G\. Xiao, X\. Dong, S\. Han, and O\. VillaSparDA: sparse decoupled attention for efficient long\-context LLM inference\.External Links:2606\.04511,[Link](https://arxiv.org/abs/2606.04511)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p6.1)\.
- Grattafioriet al\.\(2024\)A\. Grattafiori, A\. Dubey, A\. Jauhri,et al\.The llama 3 herd of models\.External Links:2407\.21783,[Link](https://arxiv.org/abs/2407.21783)Cited by:[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px1.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Guet al\.\(2025\)Y\. Gu, X\. Liang, J\. Zhao, and E\. DiaoOBCache: optimal brain KV cache pruning for efficient long\-context LLM inference\.External Links:2510\.07651,[Link](https://arxiv.org/abs/2510.07651)Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Hooperet al\.\(2024\)C\. Hooper, S\. Kim, H\. Mohammadzadeh, M\. W\. Mahoney, Y\. S\. Shao, K\. Keutzer, and A\. GholamiKVQuant: towards 10 million context length LLM inference with KV cache quantization\.External Links:2401\.18079,[Link](https://arxiv.org/abs/2401.18079)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p7.1)\.
- Hsiehet al\.\(2024\)C\. Hsieh, S\. Sun, S\. Kriman, S\. Acharya, D\. Rekesh, F\. Jia, Y\. Zhang, and B\. GinsburgRULER: what’s the real context size of your long\-context language models?\.InConference on Language Modeling,External Links:[Link](https://openreview.net/forum?id=kIoBbc76Sy),2404\.06654Cited by:[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px2.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Huanget al\.\(2025\)Y\. Huang, P\. Wang, J\. Han, W\. Zhao, Z\. Su, A\. Sun, H\. Lyu, H\. Zhao, Y\. Wang, C\. Xiao, X\. Han, and Z\. LiuNOSA: native and offloadable sparse attention\.External Links:2510\.13602,[Link](https://arxiv.org/abs/2510.13602)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p5.1)\.
- Jianget al\.\(2023\)A\. Q\. Jiang, A\. Sablayrolles, A\. Mensch, C\. Bamford, D\. S\. Chaplot, D\. de las Casas, F\. Bressand, G\. Lengyel, G\. Lample, L\. Saulnier, L\. R\. Lavaud, M\. Lachaux, P\. Stock, T\. Le Scao, T\. Lavril, T\. Wang, T\. Lacroix, and W\. El SayedMistral 7B\.External Links:2310\.06825,[Link](https://arxiv.org/abs/2310.06825)Cited by:[§4\.5](https://arxiv.org/html/2610.08811#S4.SS5.SSS0.Px4.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Kanget al\.\(2024\)H\. Kang, Q\. Zhang, S\. Kundu, G\. Jeong, Z\. Liu, T\. Krishna, and T\. ZhaoGEAR: an efficient KV cache compression recipe for near\-lossless generative inference of LLM\.External Links:2403\.05527,[Link](https://arxiv.org/abs/2403.05527)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p7.1)\.
- Liet al\.\(2026\)Y\. Li, B\. Li, and T\. LanMomentKV: closing the directional gap in KV cache eviction for long\-context inference\.External Links:2606\.01563,[Link](https://arxiv.org/abs/2606.01563)Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p4.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Liet al\.\(2024\)Y\. Li, Y\. Huang, B\. Yang, B\. Venkitesh, A\. Locatelli, H\. Ye, T\. Cai, P\. Lewis, and D\. ChenSnapKV: LLM knows what you are looking for before generation\.InAdvances in Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=poE54GOq2l),2404\.14469Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Linet al\.\(2026\)X\. Lin, J\. Wang, O\. Kondrateva, Y\. Shi, B\. Li, and G\. L\. ZhangCompressKV: semantic\-retrieval\-guided KV\-cache compression for resource\-efficient long\-context LLM inference\.External Links:2606\.24467,[Link](https://arxiv.org/abs/2606.24467)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Liuet al\.\(2024\)Z\. Liu, J\. Yuan, H\. Jin, S\. Zhong, Z\. Xu, V\. Braverman, B\. Chen, and X\. HuKIVI: a tuning\-free asymmetric 2bit quantization for KV cache\.InInternational Conference on Machine Learning,Vol\.235,pp\. 32332–32344\.External Links:[Link](https://proceedings.mlr.press/v235/liu24bz.html)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p7.1)\.
- Moschellaet al\.\(2026\)L\. Moschella, L\. Manduchi, and O\. SenerLearning to evict from key\-value cache\.External Links:2602\.10238,[Link](https://arxiv.org/abs/2602.10238)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p6.1)\.
- NVIDIA Corporation \(2025\)NVIDIA Corporationkvpress: KV cache compression library for long\-context LLMs\.External Links:[Link](https://github.com/NVIDIA/kvpress)Cited by:[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Orenet al\.\(2024\)M\. Oren, M\. Hassid, N\. Yarden, Y\. Adi, and R\. SchwartzTransformers are multi\-state RNNs\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing,pp\. 18724–18741\.External Links:[Link](https://arxiv.org/abs/2401.06104),2401\.06104Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Qwen Team \(2025a\)Qwen TeamQwen2\.5 technical report\.External Links:2412\.15115,[Link](https://arxiv.org/abs/2412.15115)Cited by:[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px1.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Qwen Team \(2025b\)Qwen TeamQwen3 technical report\.External Links:2505\.09388,[Link](https://arxiv.org/abs/2505.09388)Cited by:[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px1.p1.1),[Reproducibility Statement](https://arxiv.org/html/2610.08811#Sx2.p1.1)\.
- Tanget al\.\(2024\)J\. Tang, Y\. Zhao, K\. Zhu, G\. Xiao, B\. Kasikci, and S\. HanQuest: query\-aware sparsity for efficient long\-context LLM inference\.InInternational Conference on Machine Learning,pp\. 47901–47911\.External Links:[Link](https://proceedings.mlr.press/v235/tang24l.html)Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p5.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
- Wanget al\.\(2026a\)Y\. Wang, Q\. Zhang, J\. Yu, T\. Liang, D\. Ma, X\. Hu, Z\. Lin, C\. Li, Z\. Wang, M\. Peng, N\. Chen, J\. Li, Y\. Yang, H\. Mi, and D\. YuFlashMemory\-DeepSeek\-V4: lightning index ultra\-long context via lookahead sparse attention\.External Links:2606\.09079,[Link](https://arxiv.org/abs/2606.09079)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p6.1)\.
- Wanget al\.\(2026b\)Y\. Wang, Y\. Wang, Z\. Yue, H\. Zeng, Y\. Wang, I\. Lourentzou, Z\. Tu, X\. Chu, and J\. McAuleyFASA: frequency\-aware sparse attention\.External Links:2602\.03152,[Link](https://arxiv.org/abs/2602.03152)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1)\.
- Xiaoet al\.\(2024\)C\. Xiao, P\. Zhang, X\. Han, G\. Xiao, Y\. Lin, Z\. Zhang, Z\. Liu, and M\. SunInfLLM: training\-free long\-context extrapolation for LLMs with an efficient context memory\.InAdvances in Neural Information Processing Systems,Vol\.37,pp\. 119638–119661\.External Links:[Link](https://arxiv.org/abs/2402.04617)Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p5.1)\.
- Yanget al\.\(2026a\)J\. Yang, C\. Tang, L\. Zhen, and J\. LvRethinking KV cache eviction via a unified information\-theoretic objective\.External Links:2604\.25975,[Link](https://arxiv.org/abs/2604.25975)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p2.1)\.
- Yanget al\.\(2026b\)W\. Yang, H\. Huang, N\. Li, S\. Wang, D\. Yang, Y\. Pan, W\. Xia, S\. Li, and X\. ZouRESA: bringing back what sparse attention ignores with residual estimation\.InInternational Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=ktcq26hMCH)Cited by:[§2](https://arxiv.org/html/2610.08811#S2.p4.1)\.
- Yanget al\.\(2026c\)X\. Yang, H\. Gu, B\. Xu, L\. Li, B\. Liu, J\. Liu, Q\. Zhu, Y\. Guo, and S\. HanIndexMem: learned KV\-cache eviction with latent memory for long\-context LLM inference\.External Links:2605\.25475,[Link](https://arxiv.org/abs/2605.25475)Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p4.1)\.
- Zhanget al\.\(2023\)Z\. Zhang, Y\. Sheng, T\. Zhou, T\. Chen, L\. Zheng, R\. Cai, Z\. Song, Y\. Tian, C\. Ré, C\. W\. Barrett, Z\. Wang, and B\. ChenH2\{\}\_\{2\}O: heavy\-hitter oracle for efficient generative inference of large language models\.InAdvances in Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=RkRrPp7GKO),2306\.14048Cited by:[§1](https://arxiv.org/html/2610.08811#S1.p1.1),[§2](https://arxiv.org/html/2610.08811#S2.p2.1),[§4\.1](https://arxiv.org/html/2610.08811#S4.SS1.SSS0.Px3.p1.1)\.
Appendix guide: Appendix[A](https://arxiv.org/html/2610.08811#A1)provides supplementary benchmark results\. Appendix[B](https://arxiv.org/html/2610.08811#A2)covers mechanism diagnostics and ablation details\. Appendix[C](https://arxiv.org/html/2610.08811#A3)reports hyperparameter sensitivity analyses\. Appendix[D](https://arxiv.org/html/2610.08811#A4)discusses failure cases and applicability boundaries\. Appendix[E](https://arxiv.org/html/2610.08811#A5)specifies implementation details and pseudocode\.
## Appendix ASupplementary Benchmark Results
This section expands the main results along four dimensions: model, retention budget, context length, and LongBench task\. Hot\-tier retention and total storage follow the definitions in the main text\.
### A\.1Qwen2\.5\-7B Per\-Task Results
Table[4](https://arxiv.org/html/2610.08811#A1.T4)gives the full 13\-task breakdown for the Qwen2\.5\-7B main run\. The table lists the 20% host, the per\-task full\-KV reference, and KVFetch\. The full\-KV scores support the gap decomposition in §[4\.2](https://arxiv.org/html/2610.08811#S4.SS2)\.
Table 4:Qwen2\.5\-7B\-Instruct full per\-task results on RULER\-16K\.
### A\.2Qwen3\-4B Per\-Task Results
Table[5](https://arxiv.org/html/2610.08811#A1.T5)gives the full 13\-task breakdown for the Qwen3\-4B cross\-model run\. The table compares KVFetch against the 20% host to show which tasks change\. The main\-text iso\-budget claim for Qwen3\-4B uses the 22\.9% aggregate control \(61\.86\), yielding a gain of \+7\.22\.
Table 5:Qwen3\-4B\-Instruct full per\-task results on RULER\-16K\.
### A\.3Retention Sweep
All entries in the retention sweep are measured results, not interpolations\.
Tables[6](https://arxiv.org/html/2610.08811#A1.T6),[7](https://arxiv.org/html/2610.08811#A1.T7), and[8](https://arxiv.org/html/2610.08811#A1.T8)report the 10%–40% retention sweep separately for each model\. Columns align retention levels within each model, and the full\-KV reference appears at the top of each table\.
Table 6:Qwen2\.5\-7B retention sweep on RULER\-16K\. Avg: 13\-task average; s3: verbatim copying\.Table 7:Qwen3\-4B retention sweep on RULER\-16K\. Avg: 13\-task average; s3: verbatim copying\.Table 8:Llama\-3\.1\-8B retention sweep on RULER\-16K\. Avg: 13\-task average; s3: verbatim copying\.
### A\.4Cross\-Length Full Baseline Table
Table[9](https://arxiv.org/html/2610.08811#A1.T9)expands Figure[3](https://arxiv.org/html/2610.08811#S4.F3)by including the score\-based baselines omitted from the main text for space\.
Table 9:Full cross\-context\-length results on RULER\.
### A\.5Plug\-and\-Play Validation across Hosts
Table[10](https://arxiv.org/html/2610.08811#A1.T10)reports the plug\-and\-play validation referenced in §[4\.3](https://arxiv.org/html/2610.08811#S4.SS3)\. Each row wraps KVFetch around a different host scorer using the default cold\-tier configuration\.
Table 10:Plug\-and\-play validation \(Qwen2\.5\-7B, RULER\-16K, 20% hot retention\)\. Each row wraps KVFetch around a different host scorer with the default cold tier\. TOVA, whose s3 is 0\.0 at baseline, cannot bootstrap the trigger and stays near the host\.
### A\.6LongBench Task\-Family and Per\-Task Results
We list all 16 LongBench tasks below\. Table[11](https://arxiv.org/html/2610.08811#A1.T11)compares the host with KVFetch at the per\-task level; gains and declines delimit the scope of the mechanism\.
Table 11:LongBench per\-task results\.Table[12](https://arxiv.org/html/2610.08811#A1.T12)aggregates the same results by task family\.
Table 12:LongBench results by task family\. No task family shows material regression\.
## Appendix BMechanism Diagnostics and Ablation Details
This section complements the main mechanism analysis with sustained\-copy\-length measurements, controlled ablations, and hit\-rate diagnostics\.
### B\.1Sustained\-Copy Length
Sustained\-Copy Length \(SCL\) measures the longest token prefix of a verbatim answer that matches the gold span\. Letg1:mg\_\{1:m\}be the gold answer tokenized by the evaluation tokenizer andy^1:n\\hat\{y\}\_\{1:n\}the generated answer after the same normalization used by the benchmark\. SCL is defined as
SCL\(g,y^\)=max\{ℓ∣g1:ℓ=y^1:ℓ\}\.\\mathrm\{SCL\}\(g,\\hat\{y\}\)=\\max\\\{\\ell\\mid g\_\{1:\\ell\}=\\hat\{y\}\_\{1:\\ell\}\\\}\.The metric is averaged over samples\. It separates two failure cases that exact\-match scoring collapses into the same zero: a model that never found the target span \(SCL≈0\\mathrm\{SCL\}\\approx 0\) and a model that found the span but lost the continuation mid\-copy \(SCL\>0\\mathrm\{SCL\}\>0but<m<m\)\. Onniah\_single\_3, the full\-KV upper bound is 31\.25 tokens\. H2O reaches 5\.43, OBCache\+SnapKV reaches 10\.84, OBCache\+AdaKV reaches 11\.82, and KVFetch reaches 28\.86\.
### B\.2Visualizing the Ablation Results
Figure[4](https://arxiv.org/html/2610.08811#A2.F4)reports the trigger mechanism and recall\-selection ablations under the plotted configuration\.
Figure 4:Ablation results for the trigger mechanism \(a\) and recall selection \(b\) on Qwen2\.5\-7B, RULER\-16K, 20% hot retention\. Panel \(a\) uses the default unigram admission signal; panel \(b\) uses the literal\-predicate signal for consistency with Table[13](https://arxiv.org/html/2610.08811#A2.T13)\. The two panels are not directly comparable across admission configurations; each is internally consistent\.
### B\.3Hit\-Rate–Gain Correlation
We report two complementary diagnostics: the step\-level trigger rate \(fraction of decoding steps whereCopyt=1\\mathrm\{Copy\}\_\{t\}=1\) and the cold\-tier recall hit rate \(fraction of cold\-tier entries recalled at least once during generation\)\. On LongBench, trigger rates fall in the range 0\.000–0\.029 and recall hit rates in 0\.042–0\.130; both occupy the zero\-gain band\.
The hit\-rate analysis is computed from the full RULER\-16K prediction and telemetry files\. In the final run, task\-level cold\-tier hit rate and gain over the 22\.9% iso\-budget control have Pearson correlationr=0\.924r=0\.924across 13 tasks\. After removingniah\_single\_3, Spearman’sρ\\rhoremains 0\.818\. An independent earlier full run yields Pearsonr=0\.940r=0\.940and post\-removal Spearmanρ=0\.846\\rho=0\.846\. LongBench hit rates fall in the 0\.042–0\.130 zero\-gain band, consistent with the observed \+0\.33 average gain and no material regression\.
Figure 5:Hit\-rate–gain prediction and verification\.\(a\)RULER gains grow with cold\-tier recall hit rate \(Pearsonr=0\.924r=0\.924in the plotted run\)\.\(b\)A dedicated zoom shows that all LongBench tasks occupy the low\-hit, near\-zero\-gain regime \(overall\+0\.33\+0\.33\), rather than being visually compressed into panel \(a\)\.
### B\.4Fetch Criterion
Once the temporal channel is open, the addressing mode becomes an implementation choice\. Replacing the default positional\-successor criterion with query–key similarity changes the four\-task average by only 0\.76 \(from 92\.96 to 93\.52\) and improves s3 by \+9\.6 \(from 80\.0 to 89\.6\); random successors degrade substantially \(s3 = 12\.8\)\. The gap between the two meaningful criteria is dwarfed by the gap between having the channel and not having it\. We default to positional successors because they require only anO\(k\)O\(k\)position\-index lookup with no additional dot products\. This ablation uses the literal\-predicate admission signal; as a configuration\-matched variant, it leaves the conclusion unchanged under the default unigram signal\.
Table 13:Fetch criterion ablation \(Qwen2\.5\-7B, RULER\-16K, 20% hot retention\)\.
## Appendix CHyperparameter Sensitivity
We report the sensitivity analyses referenced in Section[4\.4](https://arxiv.org/html/2610.08811#S4.SS4)\. All sweeps below were conducted under the literal\-predicate admission signal for configuration consistency with the ablations in Appendix[B\.4](https://arxiv.org/html/2610.08811#A2.SS4); the relative ordering is unchanged under the default unigram signal \(Table[14](https://arxiv.org/html/2610.08811#A3.T14)\)\.
Cold\-tier quantization bit\-width: s3 = 79\.2 for 8\-bit, 80\.8 for 4\-bit \(default\), and 24\.0 for 2\-bit\. Prefetch distancekk: s3 = 67\.2 fork=4k=4, 80\.0 fork=8k=8\(default\), 89\.6 fork=16k=16, and 93\.6 fork=32k=32\. Admission run threshold: s3 = 83\.2 for threshold 4, 80\.0 for threshold 6, and 80\.0 for threshold 8\.
Figure 6:niah\_single\_3s3 as a function of the prefetch distancekk\.Figure 7:niah\_single\_3s3 as a function of the cold\-tier quantization bit\-width\. 4\-bit matches 8\-bit; 2\-bit collapses\.
Table[14](https://arxiv.org/html/2610.08811#A3.T14)compares candidate admission signal variants with all other configuration fields held identical\.
Table 14:Candidate signal variants \(all other configuration fields identical\)\. The three instantiations yield comparable performance on their covered tasks; unigram frequency is the default because it requires no format priors\.
## Appendix DFailure Cases and Applicability
We distinguish two failure modes: locating a span but losing its continuation, and failing to locate the target after compression\. The former motivates recall; the latter limits applicability\.
### D\.1Failure\-Sample Gallery
Figure[1](https://arxiv.org/html/2610.08811#S1.F1.fig1)schematically illustrates the failure mode that motivates SCL: copying begins with a correct prefix but cannot continue when successor KV entries are unavailable\. The ID and outputs shown are illustrative, not recorded failure samples\. The diagnostic category targeted by KVFetch is a correctly found span whose successor tokens are no longer reachable under static prefill eviction\.
### D\.2Mistral Full\-KV Probe and Trigger\-Rate Telemetry
For Mistral\-7B\-Instruct, the 13\-task compressed host average is 26\.39 and KVFetch reaches 28\.05\. A 10% full\-KV probe onniah\_single\_2reaches 100\.0, whereas the compressed host reaches only 0\.8 on the same task\. The KVFetch trigger rate is 0\.0018, compared with 0\.068 on Qwen2\.5 copy tasks\. This supports the main\-text boundary claim: KVFetch repairs continuation once a copy trajectory is present but does not perform global re\-localization after the host compression has destroyed target localization\.
## Appendix EImplementation Details of KVFetch
### E\.1Candidate Identification and Cold\-Tier Ordering
The default admission signal is unigram frequency rank: tokens in the bottom\-τ\\taupercentile of unigram frequency form candidate runs when they occur consecutively\. For the configuration\-matched ablations in Appendices[B\.4](https://arxiv.org/html/2610.08811#A2.SS4)and[C](https://arxiv.org/html/2610.08811#A3), we use an alternative literal predicate, described below for reproducibility\.
The literal predicate first strips tokenizer prefixes and whitespace\. A token is considered literal if the remaining string consists entirely of\[0\-9a\-fA\-F\_\-\], or if it is a0x\-prefixed hexadecimal string with at least two hexadecimal digits after the prefix\. A run requires at leastMrunM\_\{\\mathrm\{run\}\}consecutive literal tokens\. Cold\-tier membership is decided by the three\-tier priority score
σ\(p\)=\{ccand\+rank\(p\),p∈𝒮candsa−λ\(p−a\),p∈\(a,a\+Wa\],a∈𝒜ε0sp,otherwise𝒞=top\-ncold\(σ\)\\sigma\(p\)=\\begin\{cases\}c\_\{\\mathrm\{cand\}\}\+\\mathrm\{rank\}\(p\),&p\\in\\mathcal\{S\}\_\{\\mathrm\{cand\}\}\\\\\[2\.0pt\] s\_\{a\}\-\\lambda\\,\(p\-a\),&p\\in\(a,\\,a\+W\_\{a\}\],\\ a\\in\\mathcal\{A\}\\\\\[2\.0pt\] \\varepsilon\_\{0\}\\,s\_\{p\},&\\text\{otherwise\}\\end\{cases\}\\qquad\\mathcal\{C\}=\\mathrm\{top\}\\text\{\-\}n\_\{\\mathrm\{cold\}\}\(\\sigma\)\(5\)where𝒮cand\\mathcal\{S\}\_\{\\mathrm\{cand\}\}is the union of candidate runs \(extended byδ\\deltapositions on each end\), restricted to positions outside the hot tier, and𝒜\\mathcal\{A\}is the set of high\-scoring hot\-tier anchors\. In Eq\. \([5](https://arxiv.org/html/2610.08811#A5.E5)\), we setccand=2\.0c\_\{\\mathrm\{cand\}\}=2\.0, use position rank as the within\-candidate tie breaker,λ=0\.01\\lambda=0\.01, anchor windowWa=64W\_\{a\}=64, andε0=10−3\\varepsilon\_\{0\}=10^\{\-3\}, then retain the top\-ncoldn\_\{\\mathrm\{cold\}\}positions\.
### E\.24\-bit Affine Quantization
The cold tier stores keys and values using per\-head\-dimension affine quantization\. For each channel, we compute
s=max\(\(xmax−xmin\)/15,ε\),z=xmin,s=\\max\\left\(\(x\_\{\\max\}\-x\_\{\\min\}\)/15,\\ \\varepsilon\\right\),\\qquad z=x\_\{\\min\},and storeclip\(round\(\(x−z\)/s\),0,15\)\\mathrm\{clip\}\(\\mathrm\{round\}\(\(x\-z\)/s\),0,15\)as a 4\-bit integer\. Two quantized values are packed into one byte\. Dequantization appliesx^=sq\+z\\hat\{x\}=sq\+zbefore a cold entry is swapped back into the hot tier\.
### E\.3Victim Scoring and the Protection Period
Victim slots are chosen by the composite score
Svict\(j\)=0\.5s¯j\(prefill\)\+0\.5Norm\(𝐄t\[j\]\),S\_\{\\mathrm\{vict\}\}\(j\)=0\.5\\,\\bar\{s\}\_\{j\}^\{\(\\mathrm\{prefill\}\)\}\+0\.5\\,\\mathrm\{Norm\}\(\\mathbf\{E\}\_\{t\}\[j\]\),where𝐄t\\mathbf\{E\}\_\{t\}is an exponential moving average of hot\-tier attention with decay factorβ=0\.9\\beta=0\.9\. This EMA is used only for victim scoring; peak extraction uses the instantaneous attention at the current decoding step\. Candidate victims exclude attention sinks, the prompt trailing window, and slots under protection\. Newly recalled slots receiveTprot=12T\_\{\\mathrm\{prot\}\}=12protected steps; the counter is decremented at every step and floored at zero\.
### E\.4Hyperparameters
The default configuration uses the following hyperparameters: minimum run lengthMrun=6M\_\{\\mathrm\{run\}\}=6, literal\-run extensionδ=4\\delta=4, slackηs=1\.25\\eta\_\{s\}=1\.25, refund ratioηr=0\.58\\eta\_\{r\}=0\.58, cold\-tier budget capγcold=0\.05\\gamma\_\{\\mathrm\{cold\}\}=0\.05, prefetch distancek=8k=8, trigger windowW=8W=8, advance thresholdnadv=2n\_\{\\mathrm\{adv\}\}=2, maximum strideΔmax=4\\Delta\_\{\\max\}=4, pointer band=4=4, protection periodTprot=12T\_\{\\mathrm\{prot\}\}=12, sink size=4=4, trailing window=64=64, and EMA decayβ=0\.9\\beta=0\.9\. In the default configuration, the pointer\-band constraint dominates the back\-tolerance parameter\.
### E\.5Complete Pseudocode
Algorithm[1](https://arxiv.org/html/2610.08811#alg1)gives the complete procedure of KVFetch\. Line\-level comments indicate the correspondence to the equations in the main text\.
Algorithm 1KVFetch \(host scorer: any ScorerPress; we use OBCache\-K\+SnapKV\)1:— Prefill —
2:
s←HostScorer\(K,V\)s\\leftarrow\\textsc\{HostScorer\}\(K,V\)⊳\\trianglerightscores left untouched
3:
ℋ←top\-\(nbase\+nret\)\(s\)\\mathcal\{H\}\\leftarrow\\mathrm\{top\}\\text\{\-\}\(n\_\{\\mathrm\{base\}\}\+n\_\{\\mathrm\{ret\}\}\)\(s\)⊳\\trianglerightnretn\_\{\\mathrm\{ret\}\}: on\-demand budget refund \(§[3\.4](https://arxiv.org/html/2610.08811#S3.SS4)\)
4:
⊳\\triangleright*The baseline ends here \(frozen after top\-nbasen\_\{\\mathrm\{base\}\}\); everything below is added by KVFetch\.*
5:record the position map
ℳpos\\mathcal\{M\}\_\{\\mathrm\{pos\}\}
6:
𝒞←top\-ncold\(σ\)\\mathcal\{C\}\\leftarrow\\mathrm\{top\}\\text\{\-\}n\_\{\\mathrm\{cold\}\}\(\\sigma\), 4\-bit quantized; build index
ℳcold\\mathcal\{M\}\_\{\\mathrm\{cold\}\}⊳\\trianglerightthree\-tier admission, Eq\. \([5](https://arxiv.org/html/2610.08811#A5.E5)\)
7:— Each decoding steptt\(per layer\) —
8:
𝐚t←\\mathbf\{a\}\_\{t\}\\leftarrowhot\-tier attention⊳\\trianglerightsame forward as the baseline; no extra compute
9:
p∗←ℳpos\[argmaxj∈𝒱𝐚t\[j\]\]p^\{\*\}\\leftarrow\\mathcal\{M\}\_\{\\mathrm\{pos\}\}\\big\[\\arg\\max\_\{j\\in\\mathcal\{V\}\}\\mathbf\{a\}\_\{t\}\[j\]\\big\];
Δ←p∗−ptr\\Delta\\leftarrow p^\{\*\}\-\\mathrm\{ptr\}⊳\\trianglerightEq\. \([1](https://arxiv.org/html/2610.08811#S3.E1)\)
10:update
ptr\\mathrm\{ptr\}, history
𝐡\\mathbf\{h\}, and
Copyt\\mathrm\{Copy\}\_\{t\}by Eqs\. \([2](https://arxiv.org/html/2610.08811#S3.E2)\)–\([3](https://arxiv.org/html/2610.08811#S3.E3)\)
11:if
Copyt=1\\mathrm\{Copy\}\_\{t\}=1then
12:
ℛ←\[ptr\+1,ptr\+k\]∩dom\(ℳcold\)∖range\(ℳpos\)\\mathcal\{R\}\\leftarrow\[\\mathrm\{ptr\}\{\+\}1,\\ \\mathrm\{ptr\}\{\+\}k\]\\cap\\operatorname\{dom\}\(\\mathcal\{M\}\_\{\\mathrm\{cold\}\}\)\\setminus\\operatorname\{range\}\(\\mathcal\{M\}\_\{\\mathrm\{pos\}\}\)⊳\\trianglerightEq\. \([4](https://arxiv.org/html/2610.08811#S3.E4)\),\|ℛ\|≤k\|\\mathcal\{R\}\|\\leq k
13:
𝒰←\\mathcal\{U\}\\leftarrowthe
\|ℛ\|\|\\mathcal\{R\}\|unprotected prompt slots with the lowest composite scores
14:
Φswap\(ℋ,𝒞,ℛ,𝒰\)\\Phi\_\{\\mathrm\{swap\}\}\(\\mathcal\{H\},\\mathcal\{C\};\\ \\mathcal\{R\},\\mathcal\{U\}\); update
ℳpos\\mathcal\{M\}\_\{\\mathrm\{pos\}\},
ℳcold\\mathcal\{M\}\_\{\\mathrm\{cold\}\}⊳\\trianglerightone\-for\-one;\|ℋ\|\|\\mathcal\{H\}\|unchanged \(Properties 1–2\)
15:
protect\[slots ofℛ\]←Tprot\\mathrm\{protect\}\[\\text\{slots of \}\\mathcal\{R\}\]\\leftarrow T\_\{\\mathrm\{prot\}\}
16:endif
17:
protect←max\(protect−1,0\)\\mathrm\{protect\}\\leftarrow\\max\(\\mathrm\{protect\}\-1,\\ 0\)
The implementation additionally aggregates query heads into their corresponding GQA KV head before choosing the layer\-local observation peak, computes the cold\-tier quota on demand from the detected literal\-run set, and writes telemetry for cold\-tier hit rate, trigger rate, storage, and swap counts\. The executable order is as follows: decrement the protection counter first and floor it at zero, construct the hot mask explicitly from hot indices, compute valid recall targets againstℳcold\\mathcal\{M\}\_\{\\mathrm\{cold\}\}, and only then perform symmetric swaps\.
#### Attention peak extraction under SDPA\.
PyTorch’s scaled dot\-product attention does not return attention weights by default\. We extract the attention peak by computingargmax\(QK⊤\)\\arg\\max\(QK^\{\\top\}\)for the single most confident KV head per layer at each decoding step\. This partial computation covers one head rather than the full multi\-head attention and is included in the reported latency \(Table[3](https://arxiv.org/html/2610.08811#S4.T3)\)\. No additional full forward pass is required\.
### E\.6Per\-Layer and Per\-Head Semantics
Each layer maintains one read pointer per sample\. Within a layer, the observation comes from the highest\-confidence KV head after GQA aggregation\. Prefetching and swapping are executed independently per KV head, so a successful trigger in one layer does not force other layers to enter copy mode\.Similar Articles
ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression
ResKV proposes a KV cache compression method that divides a fixed budget into an exact main cache and a compact residual cache to reconstruct omitted attention contributions, improving performance on LongBench and RULER across multiple backbones.
CompressKV: Semantic-Retrieval-Guided KV-Cache Compression for Resource-Efficient Long-Context LLM Inference
CompressKV proposes a semantic-retrieval-guided KV-cache compression method for GQA-based LLMs, identifying Semantic Retrieval Heads to retain critical tokens. It achieves over 97% full-cache performance using only 3% of the KV cache on LongBench tasks.
KVpop -- Key-Value Cache Compression with Predictive Online Pruning
KVpop introduces a learned KV cache eviction policy supervised by future-attention targets, achieving high compression rates (e.g., 98% performance at 75% compression) on Qwen3 models while maintaining quality.
RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
RestoreKV introduces a learned restoration mechanism that complements query-agnostic KV cache eviction, recovering full-cache behavior under aggressive budgets by generating a compact context-conditioned restore cache via a single LoRA-adapted pass, improving performance on four long-context benchmarks.
PolyKV: Heterogeneous Retention and Allocation for KV Cache Compression
PolyKV is a layer-wise KV cache compression framework that assigns heterogeneous eviction policies and non-uniform budgets per layer, significantly improving over uniform baselines on LongBench with LLaMA-3.1-8B and Qwen3-8B.