计算机科学 > 计算与语言
[提交于 2026年10月2日]
标题:WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Utkarsh Ranjan[v1] 2026年10月2日 星期五 02:48:25 UTC