Reproduce “WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Utkarsh Ranjan

WakeKV manages long-context language model key-value cache residency by keeping each head’s recent pages on the GPU and demoting displaced pages to recoverable CPU storage for later fetches. In Mistral-7B needle-in-a-haystack simulation at about 56,000 matched pages, it reports a 0.055 miss rate versus 0.405 for frozen classification; this is a logged-attention simulation, not a real-system stall-time result.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.