Search papers, labs, and topics across Lattice.
This paper introduces InfoKV, an entropy-aware key-value (KV) cache compression framework that enhances long-context reasoning in large language models by integrating information-theoretic signals with attention scores. By employing a novel metric called Forward Influence, the authors reveal that while attention scores primarily capture local context relevance, tokens with high predictive uncertainty significantly impact distant future contexts. Experiments show that InfoKV outperforms existing methods, providing a more effective approach to managing KV cache size without sacrificing reasoning performance.
Tokens with high predictive uncertainty can dramatically enhance long-context reasoning, outperforming traditional attention-based methods in KV cache compression.
Reasoning capability has advanced rapidly in large language models (LLMs), leading to an increasing size of key-value (KV) cache in both prefilling and decoding stages. Existing KV cache compression methods mainly rely on attention weights to estimate token importance. While attention effectively captures contextual relevance, it overlooks complementary information-theoretic signals related to predictive uncertainty and token informativeness. In this paper, we revisit token importance from a forward-looking perspective and introduce \textit{Forward Influence}, a metric that measures how compressed tokens affect future contexts. Our analysis reveals that tokens selected by attention scores mainly influence nearby contexts, whereas tokens associated with high predictive uncertainty exhibit substantially stronger influence on distant future contexts. Based on the observation, we propose \textbf{InfoKV}, an entropy-aware KV cache compression framework that incorporates information-theoretic signals. It combines token-level predictive uncertainty with layer-wise representation evolution and integrates the resulting entropy scores with attention scores during reasoning. Experiments on long-context reasoning benchmarks with Llama-3.1, Llama-3.2, and DeepSeek-R1 demonstrate that InfoKV consistently outperforms existing attention-based KV compression methods in both long prefilling and decoding scenarios.