DropKV leads tested eviction methods with a small token cache
DropKV: Decoupling Residual-Output Perturbation for Near-Optimal KV-Cache Eviction · arXiv:2610.22130

In plain words
Language models keep information about earlier words in a cache so they can use it as they continue processing a long passage.
To make that cache smaller, DropKV estimates how much removing each saved token would change the model’s attention output, then removes tokens with the smallest estimated effect.
On RULER, a test of long-context tasks, DropKV had higher average accuracy than the other tested removal methods across three models at a 128K-token context and a 5% cache budget. That result applies to those models and settings.
The research
A cache can be made smaller by permanently removing saved token information, but choosing several tokens together to minimize the change in a model’s attention output is computationally hard. Can a simple per-token score make that choice tractable without losing too much task performance?
DropKV scores cached tokens by their estimated effect on attention output, then removes the least disruptive ones to preserve task performance with a limited cache.
DropKV scores each token by its estimated effect on attention output, adds squared scores across recent queries, then removes the lowest. This replaces a difficult joint choice with per-token scoring.
At a 5% cache budget, its average scores exceeded competing eviction methods on RULER’s long-context tasks and 16 English and code LongBench tasks across three models. That supports its performance in these tested settings.
The theoretical bound applies only when attention weights are small and the cone condition holds; that condition failed for some sampled triples. The evaluations cover three models and the specified tasks and cache budgets, and the Triton acceleration is for prefill scoring, not decode-time scoring.
What the evidence shows
- The cache-removal problem
DropKV is a method for permanently removing tokens from the cache that stores information about earlier tokens during long-context language-model inference. The question is how to shrink that cache while keeping the attention output close to what it would have been with all tokens present.
Attention-only scores can overlook a token’s value vector, while choosing the best group of removals together is computationally difficult.
- Scoring each removal
DropKV estimates the output change from removing each token on its own. Its score combines the token’s attention weight with the difference between its value vector and the original attention output, then sums squared estimates over recent queries.
It removes tokens with the smallest totals. This avoids searching all possible groups, though it leaves out interactions among tokens removed together.
- Results on RULER
RULER tests long-context abilities with synthetic and question-answering tasks; its reported accuracy is averaged over tasks separately for each model. At a 128K-token sequence length and a 5% cache budget, DropKV had the highest reported average among the tested eviction methods on all three models.
Its averages exceeded AnDPro, the strongest competing baseline for each model, but averages do not mean it led on every task.
- A second task evaluation
LongBench covers 16 English and code tasks, including question answering, summarization and code completion. At a 5% cache budget, DropKV had the highest reported average score among the tested methods on each of the three models.
The two evaluations therefore support its performance relative to those methods on these task sets and settings; they do not establish the same result for other models or tasks.
- A separate speed result
The method also has a fused Triton implementation for computing scores. In a separate measurement on an NVIDIA A100-80GB GPU, the scoring step was 19.8 times faster than a PyTorch reference at 128K context length, with an eight-query window, batch size one and a 5% cache budget. This measures score computation, not the full inference process.