paper-with-me

홈 › Papers

Reformulating KV Cache Eviction Problem for Long-Context LLM Inference

2026-05-08 · Tho Mai, Joo-Young Kim arxiv

Large language models (LLMs) support long-context inference but suffer from substantial memory and runtime overhead due to Key-Value (KV) Cache growth. Existing KV Cache eviction methods primarily rely on local attention weights, neglecting the influence of value representations, output projection, and inter-head interactions. In this work, we reformulate KV Cache eviction from a conventional head-wise, weight-averaging approach into an output-aware, layer-wise matrix multiplication approximation problem. We introduce LaProx, a novel eviction strategy that explicitly models the multiplicative interaction between attention maps and projected value states to accurately quantify token contributions while accounting for inter-head dependencies. Building on this metric, we propose the first unified eviction strategy that assigns globally comparable importance scores to tokens, enabling model-wide selection instead of local, head-wise decisions. Experimental results across 19 datasets on long-context benchmarks LongBench and Needle-In-A-Haystack demonstrate that our approach maintains model performance with only 5\% of the KV cache and consistently outperforms prior works across all configurations. Notably, our method achieves up to 2$\times$ accuracy loss reduction under extreme compression scenarios compared to existing state-of-the-art baselines with minimal overhead.

📄 PDF Abstract BibTeX arXiv:2605.07234

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction

2026-05-10 · Ngoc Bui, Hieu Trung Nguyen, Arman Cohan, Rex Ying arxiv

The key-value (KV) cache is a major bottleneck in long-context inference, where memory and computation grow with sequence length. Existing KV eviction methods reduce this cost but typically degrade performance relative t…

EvolKV: Evolutionary KV Cache Compression for LLM Inference

2025-09-10 · Bohan Yu, Yekun Chai arxiv

Existing key-value (KV) cache compression methods typically rely on heuristics, such as uniform cache allocation across layers or static eviction policies, however, they ignore the critical interplays among layer-specifi…

Code Completion

NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Time

2024-08-07 · Yilong Chen, Guoxia Wang, Junyuan Shang, Shiyao Cui 외

Large Language Models (LLMs) have ignited an innovative surge of AI applications, marking a new era of exciting possibilities equipped with extended context windows. However, hosting these models is cost-prohibitive main…

EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments

2025-09-22 · Minsoo Kim, Arnav Kundu, Han-Byul Kim, Richa Dixit 외 arxiv

Modern large language models (LLMs) extend context lengths to millions of tokens, enabling coherent, personalized responses grounded in long conversational history. However, the Key-Value (KV) cache grows linearly with t…

Conversational Question Answering

LLMs Know What to Drop: Self-Attention Guided KV Cache Eviction for Efficient Long-Context Inference

2025-03-11 · Guangtao Wang, Shubhangi Upasani, Chen Wu, Darshan Gandhi 외

Efficient long-context inference is critical as large language models (LLMs) adopt context windows of ranging from 128K to 1M tokens. However, the growing key-value (KV) cache and the high computational complexity of att…