Reproduce “Coverage-Driven KV Cache Eviction for Efficient and Improved Inference of LLM” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Shuvendu Roy, Mengyao Zhai, Hossein Hajimirsadeghi, Golnoosh Samei
K-VEC, developed by RBC Borealis (Borealis AI), introduces a coverage-aware KV-cache eviction strategy for LLMs that enhances the diversity of retained tokens across attention heads and layers. This method consistently improves LLM inference performance, particularly for long-context tasks and under aggressive memory constraints, achieving average gains of 1.61 points and up to 10.35 points on specific LongBench tasks at a 128-token budget.
Key insights
- LLM performance degradation under KV cache eviction is directly linked to a reduction in the coverage of unique tokens, which limits mutual information between input and output sequences.
- Existing eviction methods often exhibit redundancy, repeatedly retaining similar tokens across attention heads and layers while discarding other potentially important, diverse tokens.
- Systematically enhancing token diversity across both attention heads and model layers can significantly mitigate performance drops associated with KV cache eviction.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.