NeurIPS 2026QuestionsPapersAreasAboutMarkdown

DropKV: Decoupling Residual-Output Perturbation for Near-Optimal KV-Cache Eviction

Aozhong Zhang, Selcuk Gurses, Yanxia Deng, Naigang Wang, Chi-Chun, Davis Wertheimer, Derrick Liu, Xin Li, Zi Yang, Felix X.-.F Ye, Penghang Yin

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › KV Cache Optimization · Type: new method · Keywords: KV-cache eviction, long-context LLM inference, approximation algorithms, Triton kernels, efficient inference

Areas: Memory › Model Memory Optimization › KV Cache Optimization; Long Context › Long-context mechanisms › KV cache eviction

Summary

DropKV introduces a decoupled residual-output perturbation framework that enables near-optimal KV-cache eviction with provable guarantees and a fast Triton implementation, achieving up to 9.9% prefill speedup and lower latency on long-context LLMs.

Explained to a 5-year-old

Large language models need to remember a lot of information when they read long texts. This memory is stored in a special cache that can get too big. The new method splits the decision of what to forget into small, easy steps, making it fast and accurate. It uses a clever trick to avoid making the model forget too much important stuff. As a result, the model runs faster and uses less memory.

Explained to a 5-year-old, longer

Imagine a big robot that reads very long stories. To remember everything it reads, it stores notes in a big notebook. As the story gets longer, the notebook becomes huge and takes a lot of space. The robot needs to decide which notes to keep and which to throw away. Doing this perfectly is a hard puzzle that takes a lot of time. The researchers split the puzzle into many tiny puzzles, each about one note at a time. This makes the job easy and fast. They also added a rule to make sure the robot does not forget the most important parts. The robot can now throw away old notes quickly without slowing down. This saves memory and lets the robot work faster. The new method works well on many different stories. It also works on different types of robots that read text. Overall, the robot can now handle longer stories without running out of memory.

For a technical reader

The system addresses KV-cache eviction by turning a complex combinatorial optimization into independent per-token scoring, which yields a provable approximation bound. A custom Triton kernel implements this scoring efficiently without materializing the full attention matrix, delivering a 19.8× speedup in the scoring step and up to a 9.9% end-to-end prefill speedup. Evaluations on RULER and LongBench show the method achieves the lowest latency among existing eviction techniques while remaining faster than a dynamic cache baseline.

Problem

Scaling LLMs to long contexts requires managing KV caches that grow linearly in memory, and existing eviction methods face a trade-off between optimality and computational tractability because minimizing output perturbation is NP-hard.

Method

The approach decouples the joint eviction decision into independent per-token scores, providing a constant-factor approximation guarantee under a cone condition, and implements the scoring with fused Triton kernels that avoid materializing the full attention matrix.

Results

The approach achieves a 19.8× speedup in scoring and up to a 9.9% prefill speedup, and on RULER and LongBench it yields the lowest inference latency among eviction methods while still being faster than the dynamic cache baseline.

Contributions

The paper provides a principled eviction framework that decouples token scoring to avoid NP-hard optimization, offers a provable constant-factor approximation guarantee, and delivers a high-performance Triton implementation with significant speedups and latency improvements on long-context LLMs.

Practical relevance

Enables more efficient long-context LLM inference on existing hardware by reducing memory usage and improving latency.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction