NoHairCache: Calibrate-Once KV Cache Eviction with One Power-Law Exponent
Shuyang Xiang
Published November 21, 2026 · on the feed November 24, 2026 · ▲ 2 · arXiv 2611.29006
The abstract
The decay exponent α in KV-cache eviction is an intrinsic property of the model: calibrated once on a single corpus, it transfers directly across domains. Attention-based accumulation (H2O) and recency-based sliding windows (StreamingLLM) are two dominant eviction frameworks, often treated as unrelated, but we show that they are the two endpoints of a single power-law family: by scoring each token as s_i = A_i cdot (t-i)^{-α}, where A_i is cumulative attention and α controls the age penalty, H2O and StreamingLLM correspond to α=0 and αtoinfty, respectively (with StreamingLLM additionally hard-coding an attention-sink patch). The no-hair mechanism of xiang2026nohair bounds the admissible range of α, and the measured exponents agree: calibrating once on WikiText yields [0.556, 0.822] for a representative model (Qwen2.5-1.5B-Instruct). The per-model ranges are consistent across five models (410M--1.5B) and independently match the optimal regions from perplexity sweeps. NoHairCache achieves the lowest perplexity across three datasets (WikiText, PG19, and arXiv) without per-dataset tuning, outperforming both H2O and StreamingLLM (p < 0.05 on all three datasets, with 0.06--0.10 PPL gains over StreamingLLM at budget 512). On downstream four-way multiple-choice QA, it matches or outperforms StreamingLLM across all nine (task, budget) cells, retaining 98.2% of full-cache accuracy on NarrativeQA at 25% retention versus 91.1% for StreamingLLM; per-cell McNemar tests are not significant, so QA is corroborating only. We release our calibration script and drop-in scorer upon publication.
The Brief
2:31A short podcast summary of the paper. Written and voiced by AI.
Transcript
NoHairCache. Calibrate-Once KV Cache Eviction with One Power-Law Exponent. By Shuyang Xiang. Published on the twenty-first of November.
When a model's KV cache has to be trimmed, something must decide which tokens to evict. Two frameworks dominate. One accumulates attention, as H2O does, and keeps the tokens that have drawn the most of it. The other is a recency-based sliding window, as in StreamingLLM, which keeps the most recent tokens. The two are often treated as unrelated approaches, each with its own logic.
NoHairCache shows they are the two ends of one power-law family. Each token is scored by its cumulative attention, multiplied by its age raised to the power of minus alpha. Alpha is a decay exponent that controls how much a token is penalized for being old. Set alpha to zero and there is no age penalty, which is H2O. Let alpha go to infinity and only age matters, which is StreamingLLM, apart from the attention-sink patch that StreamingLLM additionally hard-codes.
The central claim is about alpha itself. It is an intrinsic property of the model. Calibrated once on a single corpus, it transfers directly across domains.
Why should that be? The no-hair mechanism, from earlier work by Xiang, bounds the range of alpha that is admissible. The measured exponents agree with that bound. Calibrating once on WikiText gives a range from zero point five five six to zero point eight two two for a representative model, Qwen2.5-1.5B-Instruct. Across five models, from 410M to 1.5B parameters, the per-model ranges are consistent, and they independently match the optimal regions found by sweeping perplexity.
NoHairCache gets the lowest perplexity on three datasets, WikiText, PG19, and arXiv, without any tuning per dataset. It outperforms both H2O and StreamingLLM, with p below zero point zero five on all three. At a budget of five hundred and twelve, the perplexity gain over StreamingLLM is between zero point zero six and zero point one.
On downstream four-way multiple-choice question answering, it matches or beats StreamingLLM in all nine combinations of task and budget. On NarrativeQA at twenty-five percent retention, it keeps ninety-eight point two percent of full-cache accuracy, against ninety-one point one percent for StreamingLLM. The author is careful here: per-cell McNemar tests are not significant, so the QA results count as corroborating only.
Two eviction rules that looked like rivals become two settings of a single dial. And the right setting of that dial is not a per-task tuning chore. It is measured once per model, on one corpus, and then reused everywhere.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free