Information-Aware KV Cache Compression for Long Reasoning

Jushi Kai, Zhuiri Xiao, Alexandra Birch, Zhouhan LinarXiv 2026

TL;DR

Existing key-value (KV) cache compression methods rely heavily on backward-looking attention weights, which often discard tokens crucial for long-term reasoning. To fix this, the authors introduce InfoKV, an entropy-aware compression framework that blends attention scores with information-theoretic signals. By tracking predictive uncertainty and layer-wise representation changes, InfoKV retains tokens that have a lasting impact on distant future contexts, outperforming standard attention-based methods in both long prefilling and decoding tasks.

What Problem Does This Paper Address?

As Large Language Models (LLMs) tackle increasingly long sequences and complex multi-step reasoning, managing the Key-Value (KV) cache becomes a massive computational bottleneck. The KV cache grows linearly with sequence length, consuming vast amounts of memory during both the prefilling and decoding stages.

To save memory, current techniques drop "unimportant" tokens based on recent attention weights. However, the authors argue that attention is inherently backward-looking—it only measures how much recent tokens look back at past tokens. In long-form reasoning or extended generation (like chain-of-thought), a token that isn't heavily attended to right now might be vital for a reasoning step thousands of tokens later. This mismatch leads to degraded performance on complex tasks when using aggressive cache compression.

Methods

The authors first introduce a new metric called Forward Influence, which measures how much removing a specific token alters the model's future token probability distributions (using KL divergence). Their analysis reveals a striking dichotomy: tokens with high attention weights primarily influence nearby tokens, whereas tokens with high predictive uncertainty (entropy) exert a strong, persistent influence on distant future contexts.

To leverage this, they propose InfoKV, which computes a unified token importance score by combining:

  1. Attention-based Relevance: Standard attention weights from a recent observation window.
  2. Top-$k$ Restricted Entropy: The entropy of the model's next-token prediction, calculated only over the top-$k$ most probable tokens to filter out low-probability noise. High entropy signifies that a token carries rich semantic information.
  3. Layer-wise Representation Evolution: The cosine distance between a token's hidden states in an early layer versus the final layer. Tokens whose representations change drastically across layers are deemed to hold unresolved semantic information and are prioritized for retention.

The final score balances these short-range and long-range signals using a weighting coefficient ($\alpha$).

Overview of the InfoKV framework, combining predictive entropy, layer-wise representation evolution, and attention scores.

Datasets

The authors evaluated InfoKV across two main paradigms:

  • Long Prefilling: Evaluated on LongReason, a synthetic long-context reasoning benchmark that tests an LLM's ability to find supporting evidence amidst extensive distractor information.
  • Long Decoding: Evaluated on three distinct reasoning benchmarks using reasoning-focused models:
  • IFEval (Instruction Following)
    • AIME 2024 (Mathematical Reasoning)
    • LiveCodeBench (Code Generation)

Arxiv-Summarization was also used during the initial exploratory analysis of Forward Influence.

Key Insights and Ideas

  • Attention is local, Entropy is global: Attention-based heuristics excel at capturing short-range dependencies but decay rapidly over long horizons. In contrast, entropy acts as a proxy for "native informativeness," successfully identifying content words (nouns, adjectives) that anchor long-range context.
  • The Pruning Paradox: Surprisingly, keeping fewer tokens can sometimes make a model smarter. In long decoding tasks, InfoKV with a 12.5% or 25% cache budget actually outperformed a full, uncompressed cache on the IFEval benchmark. This suggests that long reasoning paths contain substantial redundancy, and filtering out low-information tokens prevents the model from getting distracted by historical noise.
  • Representational Evolution Matters: Tracking how a token's embedding changes from early to late layers provides an orthogonal, sequence-independent signal of token importance. If a token's representation stabilizes early, it has semantically converged and its KV cache entry is less critical for future steps.

Key Results

  • Long Prefilling: On the LongReason benchmark, InfoKV consistently outperformed top attention-based baselines (SnapKV, PyramidKV, and Expected Attention) using Llama-3.1-8B and Llama-3.2-3B across 16k, 32k, and 64k context lengths. For instance, with a 20% cache budget on Llama-3.1 (with CoT), InfoKV achieved an average accuracy of 49.79%, beating SnapKV's 49.37% and Expected Attention's 48.70%.
  • Long Decoding: When paired with DeepSeek-R1-Distill models, InfoKV consistently beat the state-of-the-art online decoding compression method, RPC, across mathematical, coding, and instruction-following tasks.
Performance comparison of InfoKV against Full Cache and RPC across long decoding benchmarks.

Limitations and Future Work

While InfoKV marks a significant step forward, the authors note a few limitations:

  • Indirect Approximation: Predictive entropy is a strong heuristic for future utility, but it remains an indirect proxy rather than an explicit, mathematically optimized objective function for future generation steps.
  • Architecture Sensitivity: The authors experimented with an adaptive layer-wise budget allocation strategy (allocating more cache budget to uncertainty-rich layers). While this boosted performance for the Llama-based model, it degraded performance for the Qwen-based model. This indicates that different LLM architectures distribute information across layers differently, meaning more robust, architecture-aware budget allocation strategies are still needed.

Summary updated

BibTeX
@misc{kai2026information,
  author = {Jushi Kai and Zhuiri Xiao and Alexandra Birch and Zhouhan Lin},
  title = {{Information-Aware KV Cache Compression for Long Reasoning}},
  year = {2026},
  eprint = {2606.26875},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.26875},
}
Figure