CompilerKV: 100KB offline lookup tables compress KV cache to 1.56% with 2.45x throughput

机器之心 · wechat · 2026-11-26

Researchers from CAS IA, UESTC, CUHK-Shenzhen, Tianjin University and USTB propose CompilerKV, a risk-adaptive KV cache compression method based on offline experience compilation.

Key insight: head reliability and prompt-level compression sensitivity are noisy within a single prompt but highly regular across prompts (Spearman ρ=0.90 across corpora) — portable architectural priors that should be compiled offline, not recomputed online.

Method: using 50K calibration samples and CQL-regularized offline reward regression, the system compiles a per-head heterogeneity table (QueryHead granularity with weighted max-pooling veto) and a risk-adaptive threshold LUT indexed by attention entropy and local perplexity, queried in O(1). Total table size: <100KB for an 8B model.

Results:

Original post →

More from Infra

Infra channel →