paper-with-me

홈 › Papers

Value-Aware Stochastic KV Cache Eviction for Reasoning Models

2026-06-02 · Ting-Yun Chang, Harvey Yiyun Fu, Deqing Fu, Chenghao Yang, Jesse Thomason, Robin Jia arxiv

Reasoning models improve accuracy through extended chains of thought, but their long outputs create a memory and compute bottleneck. KV cache eviction methods reduce this cost by evicting unimportant key-value pairs from the cache, yet they often yield worse accuracy than selection-based sparse attention alternatives, which keep the full KV cache. We identify key factors crucial to KV cache eviction accuracy. First, a small fraction of value states have abnormally large magnitudes, and evicting them causes catastrophic failure where models enter repetitive reasoning loops. Second, introducing stochasticity during eviction improves accuracy by increasing cache diversity. Based on these findings, we propose Value-aware Stochastic KV Cache Eviction (VaSE), a training-free recipe that protects large-magnitude value states and promotes diverse eviction decisions. Across six reasoning tasks, Qwen3 models using VaSE with 4x KV cache compression yield higher average accuracies than SOTA selection method at the same sparsity, while outperforming the strongest eviction method by more than 4%. Overall, VaSE bridges the gap between efficiency and accuracy, supporting FlashAttention2 and enabling a static memory footprint for reasoning models.

📄 PDF Abstract BibTeX arXiv:2606.03928

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Not All Tokens Are Worth Caching: Learning Semantic-Aware Eviction for LLM Prefix Caches

2026-05-12 · Shaoke Fang, Ziang Li, Wenfei Wu, Jiatong Ji 외 arxiv

Prefix caching is a key optimization in Large Language Model (LLM) serving, reusing attention Key-Value (KV) states across requests with shared prompt prefixes to reduce expensive prefill computation. However, its benefi…

ForesightKV: Optimizing KV Cache Eviction for Reasoning Models by Learning Long-Term Contribution

2026-02-03 · Zican Dong, Peiyu Liu, Junyi Li, Zhipeng Chen 외 arxiv

Recently, large language models (LLMs) have shown remarkable reasoning abilities by producing long reasoning traces. However, as the sequence length grows, the key-value (KV) cache expands linearly, incurring significant…

Reinforcement Learning

LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning

2025-06-19 · Haoyue Zhang, Hualei Zhang, Xiaosong Ma, Jie Zhang 외

Large Language Models (LLMs) exhibit enhanced reasoning capabilities by employing Chain-of-Thought (CoT). However, the extended reasoning sequences introduce significant GPU memory overhead due to increased key-value (KV…

GPU

OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference

2025-10-09 · Yuzhe Gu, Xiyu Liang, Jiaojiao Zhao, Enmao Diao arxiv

Large language models (LLMs) with extended context windows enable powerful applications but impose significant memory overhead, as caching all key-value (KV) states scales linearly with sequence length and batch size. Ex…

REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression

2025-08-14 · Mengjie Li, William J. Song arxiv

The growing sequence length of large language models poses significant challenges for key-value (KV) caches. Existing state-of-the-art cache eviction methods primarily analyze the inference behavior of attention heads in…