English

Polynomial Context-Truncation Sensitivity in Autoregressive Language Models: Sequential Wyner-Ziv Bounds for KV Cache Compression

Information Theory 2026-05-26 v1 Artificial Intelligence Machine Learning math.IT

Abstract

We study the rate-distortion limits of online KV cache compression in autoregressive language models, formulating it as sequential Wyner-Ziv source coding on the filtration induced by the model, with the next-step query as decoder side information. Empirically, across four models spanning two families and 0.50.5-33B parameters, we find that the next-token distribution's sensitivity to context truncation decays \emph{polynomially} rather than \emph{geometrically}: a power law improves on an exponential fit by an order of magnitude in extrapolation, the fitted exponent is recovered independently from a sink-plus-recent KL measurement, and the decay is verified to be free of positional-encoding artifacts by a position-preserving ablation. Under a corresponding \emph{polynomial truncation-sensitivity} assumption, our main result characterizes the per-token memory requirement of \emph{suffix-only} cache policies: a sliding-window scheme attains distortion ε\varepsilon with window w=O(ε1/α)w = O(\varepsilon^{-1/\alpha}), and -- under an additional two-sided Bayes-risk condition -- a converse shows w=Ω(ε1/α)w = \Omega(\varepsilon^{-1/\alpha}) is necessary within this policy class, so the scaling is Θ(ε1/α)\Theta(\varepsilon^{-1/\alpha}) for suffix-only policies. Whether recurrent or propagating cache summaries can beat this scaling is left open. An explicit block-Markov scheme achieves the upper bound; its rate-of-convergence exponent matches the converse under additional forward-decay and regularity hypotheses (not implied by truncation sensitivity alone), and differs by a factor of two otherwise. Empirically, the polynomial law predicts the degradation curves of concrete cache policies: recency-based eviction (sliding, sink-plus-recent) suppresses distortion by roughly two orders of magnitude over random retention at equal budget, with a power-law decay in the budget.

Cite

@article{arxiv.2605.25085,
  title  = {Polynomial Context-Truncation Sensitivity in Autoregressive Language Models: Sequential Wyner-Ziv Bounds for KV Cache Compression},
  author = {Munsik Kim},
  journal= {arXiv preprint arXiv:2605.25085},
  year   = {2026}
}
R2 v1 2026-07-22T07:31:02.175Z