English

Understanding the Physics of Key-Value Cache Compression for LLMs through Attention Dynamics

Computation and Language 2026-03-03 v1

Abstract

As context windows in LLMs scale to 100K+ tokens, the key-value (KV) cache becomes the dominant memory bottleneck, with recent methods claiming 80-90% savings and minimal benchmark degradation. We argue these evaluations miss a structural issue: attention is not just storage but routing, and retaining KV pairs does not guarantee semantic accessibility. We propose a physics-inspired view of KV compression as a controlled perturbation of token-level routing, distinguishing retention, accessibility, and utilization. Using synthetic tasks probing multi-entity tracking, disambiguation, coreference, and multi-hop reasoning, we find that moderate compression degrades internal representations with little accuracy loss, revealing redundancy; all models exhibit a sharp hallucination safety cliff near 90% compression, correlated with spikes in Global Eviction Ratio (GER), suggesting a phase transition in semantic reachability; and architectures differ in routing dynamics, with LLaMA showing early consensus and late diversification, and Qwen showing funnel-like late convergence, leading to distinct resilience profiles. Beyond erasure, we identify representational rigidity, where excessive head-level consensus collapses routing flexibility despite token survival. These results suggest sparse token-route structures govern compression tolerance, reframing KV compression as a structural probe of attention geometry and linking long-context scalability to sparsity and the lottery ticket hypothesis in self-attention.

Keywords

Cite

@article{arxiv.2603.01426,
  title  = {Understanding the Physics of Key-Value Cache Compression for LLMs through Attention Dynamics},
  author = {Samhruth Ananthanarayanan and Ayan Sengupta and Tanmoy Chakraborty},
  journal= {arXiv preprint arXiv:2603.01426},
  year   = {2026}
}
R2 v1 2026-07-01T10:58:29.228Z