arXiv:2609.03515cs.AISep 2026

Manuscript Offprint

arXiv:2609.03515

What Matters for Aggressive Decoding-Time KV Eviction? Temporal Aggregation and Ranking Preservation

Bo Zeng, Yu Zhao, Yefeng Liu, Zhihong Lu, Xuanfan Ni, Xintong Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Decoding-time KV cache compression research focuses heavily on designing better token scoring functions, while the temporal rule that aggregates scores across decode steps is often treated as an implementation detail. Under aggressive KV compression, we find that exponential-moving-average (EMA) aggregation makes approximately order-preserving scorer modifications largely indistinguishable at the eviction-set level. Value-norm and entropy variants remain highly correlated with attention and produce nearly unchanged retention sets, whereas KeyDiff, key norm, recency, and a learned scorer alter the ranking and degrade substantially. We associate this stability with the evaluated aggregation, which couples layer weighting and temporal retention. Building on this observation, we introduce InertiaKV, an EMA-based decoding-time eviction method, and InertiaKV-Lazy, its periodic-refresh variant, which yields 1.34–1.46× decode throughput relative to full refresh InertiaKV. We also study Score-Free decoding as a separate empirical operating point: it scores the full context once at the first decode step, freezes that ranking, and incurs an average quality change of +0.03 while removing all subsequent scoring. Across six open-weight backbones and the LongBench, LongBench-v2, and RULER benchmarks, the results identify temporal aggregation and ranking preservation as distinct, consequential design factors; they do not imply that scoring quality is irrelevant in general.

1 Introduction

Decoding-time KV cache compression (Zhang et al., 2023; Liu et al., 2023; Oren et al., 2024) is a sequential decision problem: at each generation step, the compressor must decide which tokens to retain and which to permanently evict under a fixed memory budget. This decision decomposes

into two commonly discussed design axes: (1) a per-step scoring function that estimates each token's current importance, and (2) an aggregation rule that combines scores across decoder layers and decode steps into the running utility estimate that drives eviction.

Existing methods focus primarily on the first axis: H2O (Zhang et al., 2023) accumulates attention mass, TOVA (Oren et al., 2024) ranks by last-query attention, ScissorHands (Liu et al., 2023) exploits attention persistence patterns, AdaKV (Feng et al., 2025) adapts budgets across heads, FastGen (Ge et al., 2024) uses model-aware adaptive compression, KeyDiff (Park et al., 2025) scores by key geometry. Prefill-time methods such as SnapKV (Li et al., 2024) select tokens before generation begins; orthogonal techniques reduce per-token cost via quantization (Liu et al., 2024) or cross-layer sharing (Brandon et al., 2024). The aggregation axis (single-step, cumulative sum, or bounded-memory smoothing) is treated as an implementation detail rather than a first-class design choice.

At moderate compression rates, existing methods generally maintain acceptable quality. Under aggressive compression, however, this no longer holds: on RULER (Hsieh et al., 2024), as the KV budget shrinks from 50% to 10%, TOVA, SnapKV, and AdaKV all degrade substantially, albeit at different rates, despite employing fundamentally different scoring functions (Table 1). This shared degradation across diverse scorers suggests that scoring alone may not determine quality in this regime. Prior work has rarely isolated scoring from temporal aggregation; they are typically evaluated as a coupled system, leaving open which axis governs quality at such aggressive budgets.

This motivates a shift in focus toward the neglected second axis: score aggregation. We adopt exponential moving average (EMA) smoothing, which accumulates scores during decoding with bounded memory and a tunable coefficient α\alpha. In

*Corresponding author xintong.wang@uni-hamburg.de.

Full50%25%10%
TOVA94.5977.1065.8348.34
SnapKV94.5968.7943.2624.33
AdaKV+EA94.5989.2471.1628.06

Table 1: RULER score on Llama-3.1-8B as KV budget decreases. Methods with different scoring functions exhibit different degradation rates as the budget shrinks.

the evaluated implementation, the running state is updated sequentially as scores are obtained from the decoder layers and is retained across decode steps, thereby coupling layer weighting with temporal retention. To isolate scorer variation under this fixed aggregation procedure, we conduct an initial experiment on Llama-3.1-8B at 90% compression: we fix the sequential layer-temporal aggregation rule and systematically vary the scoring function. Replacing the attention-based scorer with value-norm or entropy weighting produces near-identical eviction sets (Figure 1; mean pairwise Jaccard = 0.97). After the running ranking stabilizes, approximately order-preserving scorer modifications rarely change keep/evict membership.

To assess the generality of this finding, we extend the experiment to Qwen2.5-7B and Llama-3.3-70B on LongBench (Bai et al., 2024), LongBench-v2 (Bai et al., 2025), and RULER. The pattern is consistent: perturbations that approximately preserve the utility ranking produce similar retention sets under the evaluated aggregation, while scorers that substantially reorder it degrade quality. Under these aggressive-compression settings, the evaluated sequential layer-temporal aggregation makes approximately order-preserving scorer modifications largely indistinguishable at the eviction-set level; this conclusion does not extend to scorers that substantially alter the utility ranking.

We associate this with ranking inertia under the evaluated sequential layer-temporal aggregation: repeated updates are associated with more stable retention-set membership (§5.3), but the present experiments do not separate cross-step memory from the recurrence’s implicit later-layer weighting. This stability comes at a cost: stronger smoothing delays adaptation to relevance shifts, producing an observed boundary-error vs. lag-error tradeoff analyzed in §3.1. This persistence motivates InertiaKV-Lazy, which periodically refreshes scores and yields 1.34–1.46× decode throughput relative to full-refresh InertiaKV. As a separate operating point, Score-Free computes scores across the decoder layers at the first decode step and freezes the resulting ranking; in our evaluation it eliminates all subsequent score updates with negligible average quality change (Δ=+0.03 points). In summary, this paper makes three contributions:

  • We identify ranking inertia in sequential layer-temporal aggregation across 7B–70B models on LongBench, LongBench-v2, and RULER: approximately order-preserving scorer changes leave the eviction set nearly unchanged, whereas ranking-altering scorers can sharply degrade quality.

  • We characterize the observed boundary-error vs. lag-error tradeoff and provide a rank-stability bound, explaining why stronger temporal smoothing can stabilize eviction decisions yet delay adaptation to relevance shifts. Our negative result further shows that local noise and drift alone cannot reliably guide adaptive smoothing.

  • We translate decode-time ranking persistence into operating points: InertiaKV-Lazy yields 1.34–1.46× decode speedup over full-refresh InertiaKV, while Score-Free eliminates all subsequent score updates after first-step initialization with negligible average quality change. These results establish refresh frequency as explicit quality–efficiency control.

References (17)