NoHairCache: Calibrate-Once KV Cache Eviction with One Power-Law Exponent
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 , where is cumulative attention and controls the age penalty, H2O and StreamingLLM correspond to and , respectively (with StreamingLLM additionally hard-coding an attention-sink patch). The no-hair mechanism of \citet{xiang2026nohair} bounds the admissible range of , and the measured exponents agree: calibrating once on WikiText yields 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. \textsc{NoHairCache} achieves the lowest perplexity across three datasets (WikiText, PG19, and arXiv) without per-dataset tuning, outperforming both H2O and StreamingLLM ( on all three datasets, with -- PPL gains over StreamingLLM at budget ). On downstream four-way multiple-choice QA, it matches or outperforms StreamingLLM across all nine (task, budget) cells, retaining of full-cache accuracy on NarrativeQA at retention versus 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.
Create a lesson
Related papers
Dual-Side Uncertainty Estimation: Calibrating Data and Model Uncertainty into a Shared Probability Space
Shared title terminology · Jiaxuan Gao, Yang Hu, Feihong Lu et al.
The Humming Revachol: A Dialogue Network Analysis of Narrative Power in Disco Elysium
Shared title terminology · Xinran Liu, Miguel Arana-Catania, Jack Orchard
SupportChain: Trace-Calibrated Aggregation of Quote-Grounded Reasoning Chains for Multi-Hop RAG with Small Readers
Shared title terminology · Zhexi Gu