Global Importance Estimation for KV Cache Eviction
Seojin Kim, Noseong Park
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › KV Cache Optimization · Type: new method · Keywords: KV cache eviction, global importance estimation, Personalized PageRank, LLM inference efficiency, memory compression
Areas: LLM Reasoning › Efficient Reasoning › KV Cache Compression; Memory › Model Memory Optimization › KV Cache Optimization; Long Context › Long-context mechanisms › KV cache eviction
Summary
PRKV is a training-free KV eviction method that estimates global token importance via Personalized PageRank to reduce memory usage in long-context LLM inference.
Explained to a 5-year-old
When a computer reads a very long story, it needs to remember many words, which takes up a lot of space. The paper finds a way to figure out which words are truly important by looking at how the computer links words together. It uses a simple game of passing a ball to spread the importance from one word to another, so it can see the bigger picture. With this method, the computer can forget the less important words and keep the story clear, using much less memory. This helps the computer run faster and use less space, making it easier to use on small devices.
Explained to a 5-year-old, longer
When a computer reads a very long story, it has to keep track of many words so it can remember the story later. This tracking is stored in a special place called a cache, which works like a notebook for the computer. The notebook can get too big and use a lot of the computer's memory, making it slow. The paper comes up with a new idea to decide which words in the story are most important. It looks at how the computer connects words to each other, like a web of relationships. By following these connections, the method can see not just the nearby words but also words that influence each other far away. It uses a simple game where importance is passed from one word to another, like tossing a ball in a circle. This helps the method understand the overall meaning of the story better than just looking at recent words. With this better understanding, the computer can safely forget words that are not needed. Forgetting those words frees up space in the notebook, so the computer uses less memory. The story still sounds good because the important parts are kept. This makes the computer run faster and work better on devices that have limited memory.
For a technical reader
PRKV is a training-free technique that reduces the memory footprint of the key-value cache used by large language models during long-context inference. It builds a graph from the model’s attention patterns and runs Personalized PageRank to propagate importance scores across multiple hops, capturing global token relevance. Tokens with low importance are evicted, allowing the model to operate at compression ratios up to 90% while preserving task performance. The method adds only a modest computational overhead and works with any LLM family without modifying the model. Benchmarks on understanding, retrieval, and reasoning tasks show that PRKV matches or exceeds existing eviction baselines in accuracy-memory trade-offs.
Problem
Long-context LLM inference suffers from high memory consumption due to the key-value cache, which stores many tokens and limits scalability. Existing eviction strategies rely on recency or immediate attention, often discarding tokens that are globally important.
Method
The approach builds attention-induced transition graphs from the model’s attention patterns and applies Personalized PageRank to propagate importance scores across multiple hops, estimating each token’s global relevance without any training. Tokens with lower estimated importance are evicted from the KV cache, preserving memory while retaining performance.
Results
The approach maintains competitive performance at compression ratios up to 90% and reduces peak memory usage with low overhead, showing a favorable accuracy-memory trade-off for scalable long-context inference.
Contributions
It introduces a training-free method to estimate global token importance via multi-hop influence propagation and provides an empirical evaluation across multiple LLM families and tasks. This yields a more effective KV eviction strategy that balances memory savings and performance.
Practical relevance
The method enables more memory-efficient deployment of large language models on constrained hardware, facilitating scalable long-context inference.
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