WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds
Abstract
Most KV-cache compression methods classify attention heads once, either offline or during prefill, and keep this classification fixed throughout generation. Across three models (1.5B-8B) and three regimes (needle retrieval, long chain-of-thought, and multi-turn recall), we measure head behavior on four model-regime combinations and find that most heads change their reading behavior at least once during generation. We introduce WakeKV, a reactive residency policy that moves cooling heads to a recoverable CPU reservoir rather than freezing or permanently evicting their state. At matched memory or budget, WakeKV consistently improves miss rate over frozen classification and destructive eviction, evaluated across five model-regime combinations and over three cited baselines (SnapKV, uniform R-KV, and ReasonAlloc) across four eligible combinations. A FlexiCache/vLLM implementation on Mistral-7B confirms the benefit on real hardware, improving throughput while retaining LongBench quality.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AR, cs.DC, cs.LG
- Comments
- Accepted to the NeurIPS 2026 Workshop on ML for Systems. 2 figures, 4 tables, appendix
Related papers
Familiar Words, Unfamiliar Minds: Conventionalization without Calibration in the Vocabulary of Mind
Shared title terminologycs.CLMatthieu Queloz
Who Attributes a Mind to Whom? Mutual Theory of Mind in Simulated User-Assistant Conversation
Shared title terminologycs.CLMingxi Yan, Vasudha Varadarajan, Qiaosi Wang et al.
Shared Stopping Decisions Change Answers in HQQ Cache Quantization
Shared title terminologycs.CLSeunghui Jwa, Minsu Oh, Chanjun Park et al.
When Evidence Changes: Evaluating Memory Repair and Re-reading in Language-Model Agents
Shared title terminologycs.CLWenhui Chu
Single-Pass Uncertainty Heads for Claim-Level Hallucination Detection in Persian Medical Language Models
Shared title terminologycs.CLMehrdad Ghassabi, Pedram Rostami, Hamidreza Baradaran Kashani et al.
The Persona Is Still There, but Who Is Speaking? Latent Identity Reversion in Persistent AI Agents
Shared title terminologycs.CLDavid Fraile Navarro