Researchers presented a method that uses attention entropy to set per-layer cache budgets in a single pass, but controlled tests showed its accuracy could not be distinguished from uniform allocation or from SnapKV.
When large language models process long prompts, the key-value cache that stores attention states grows in direct proportion to context length and consumes a substantial share of GPU memory. Most existing compression schemes either split the budget evenly across layers or follow a fixed pattern, and they often change token selection at the same time, making it hard to tell which design choice actually helps.
A paper published December 6 in Scientific Reports separates those two levers: it measures how much attention mass is discarded by token eviction, correlates that with per-layer attention entropy, and uses a single hyperparameter to set layer-specific retention ratios in one pass.
- Entropy-guided allocation dropped less attention mass than uniform allocation at the same token-selection pressure.
- Accuracy was statistically indistinguishable from uniform allocation across five LongBench tasks.
- At equal observation windows, accuracy could not be separated from SnapKV; memory savings versus SnapKV had confidence intervals spanning zero.
- CAKE outperformed the entropy-guided method on two of three models by combining allocation with token scoring.
Controlled Comparisons Show Limits of Entropy Signal
The authors ran paired bootstrap confidence intervals on five LongBench tasks using three language models. The entropy-guided per-layer allocation discarded less total attention mass than a uniform ratio under identical token-selection pressure, yet downstream accuracy could not be distinguished from the uniform baseline.
When compared against SnapKV at the same observation window and token-selection pressure, overall accuracy was again statistically indistinguishable, although the entropy-guided method remained more accurate on one model. Memory savings relative to SnapKV produced confidence intervals that included zero on all models, and latency stayed within 0.1 seconds of SnapKV.
A separate approach, CAKE, which jointly optimizes allocation and token scoring, was more accurate on two of the three models tested. The findings suggest that an “intuitively superior” signal — here, attention entropy — does not automatically translate into measurable gains on long-context benchmarks when token selection is held constant.
EMNLP 2026 Findings Introduce ConsistKV
At the Findings of the Association for Computational Linguistics: EMNLP 2026 in Budapest, Hungary, a different team introduced ConsistKV, an adaptive compression method that aggregates token-importance scores across neighboring layers to identify shared contextual anchors and uses inter-layer disagreement to estimate per-layer cache demand under a fixed global budget.
The authors — Xu, Dongjie; Qian, Kai; Shi, Weijie; Jin, Fenglei; and Xu, Jiajie — report that ConsistKV achieves the highest average performance among evaluated baselines on LongBench under the same cache budget.
CAKE outperformed the entropy-guided approach on two of three models by jointly optimizing allocation and token scoring, a result the Scientific Reports authors attribute to combining both levers rather than isolating allocation alone.
PolyKV Couples Eviction Patterns with Layer-Wise Budgets
Another line of work, PolyKV, treats eviction pattern and cache budget as coupled layer-wise design choices. It selects retention patterns per layer and phase (prefill and decoding) and allocates phase-specific budgets using sensitivity signals derived from entropy and perplexity degradation.
Under an average 512-token KV budget, PolyKV recovered 40.0%–54.5% of the gap to full-cache performance and improved over the strongest single-policy baseline by 1.7%–6.4%. The method’s layer-wise strategy is fixed for a given model and budget and reused at deployment without online search.
Together, these papers show a shift from global, uniform cache policies toward layer-adaptive strategies — but the Scientific Reports study stresses that isolating the allocation lever from token selection is essential to know whether a new signal actually moves the needle.