Reserving 10% of KV cache at prompt boundaries restores 69-90% of quality
Structural protection of KV cache boundaries dominates scoring, recovering most model quality
AI/ML arXiv 18 May 2026 Measurement Simulation evidence
Published as “Protection Is (Nearly) All You Need: Structural Protection Dominates Scoring in Globally Capped KV Eviction”
Why it matters
Adding a simple bilateral prefix/suffix guard to any KV-eviction implementation can recover most of the quality lost to aggressive cache compression without affecting throughput.
Summary
Structural protection of prompt-boundary KV positions dominates KV-eviction performance: without it all seven policies collapse to near-zero F1 (≤0.064), while reserving 10% of the cache at each end recovers 69-90% of the full-cache ceiling across ten models. The evidence is strong, with statistically significant lifts (p < 0.001) on a balanced LongBench QA set (N=162) and consistent results on synthetic needle-in-a-haystack tests.
What they found 3
- All policies without structural protection achieve near-zero quality.
“without structural protection, they collapse to near-zero quality on six pure-transformer models (F1≤0.064).”
- Protection lifts performance to near-ceiling levels.
“Structural protection transforms all tested policies from catastrophic failure to near-ceiling performance.”
- LRU+protection recovers 89% of the full-cache ceiling at C=256 using only 13% of cache memory.
“LRU+prot at C=256 achieves 89% of the full-cache ceiling using only 13% of cache memory, compared to 3.6% without protection.”
Caveats 5
- Even with protection, attention-based policies still outperform LRU by 0.011-0.021 F1 at K=8, showing scoring is not completely irrelevant.
- Faithful per-head implementations add an extra 0.03-0.04 absolute F1 over simplified variants.
- It differs from production serving paradigms such as per-request PagedAttention [18] or streaming prefill (Section 10).
- We add one matched prefill-time stress test at 32K context as limited transfer evidence, but it is not a substitute for a native serving-system evaluation.
- Generation uses greedy decoding with a maximum of 128 new tokens.
What’s new here 4
- Identification of a shared structural vulnerability in all existing KV-eviction policies under a globally capped decode-time regime.
- A trivial 10% prefix-and-suffix protection that restores near-ceiling quality for all policies.
- Empirical demonstration that, once protected, scoring heuristics converge and offer only modest additional gains.
- Negative result showing learned online credit does not improve over simple LRU+protection.