atlas

Research map / Architectures and efficiency / Quantization

CompilerKV: Risk-Adaptive KV Cache Compression via Offline Experience Compilation

NeurIPS 2026 · Architectures and efficiency › Quantization · approach: KV cache quantization

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CompilerKV, which compiles head-reliability and prompt-risk retention tables offline with conservative Q-learning so that prefill-only KV compression needs only O(1) lookups online beyond the observation-window scan.

Problem

Prefill-only KV cache compression makes irreversible retention decisions, but existing methods estimate per-head reliability and prompt-level compression sensitivity online from a single noisy prompt.

Approach

Treat head reliability and prompt-risk-to-threshold mappings as stable model-level priors compiled offline from a calibration corpus with a horizon-1 conservative Q-learning estimator; at inference, combine a window-aggregated stabilized utility, max-pooled head-weighted scores, and a 20x4 entropy-by-perplexity threshold gate with a budget clamp.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: PG19 arXiv PubMed GovReport QMSum BookSum ShareGPT UltraChat The Pile subsets

Benchmarks: LongBench RULER Needle-in-a-Haystack MATH-500 SQuAD-long SCBench RepoBench-P LongGen GSM8K GPQA

Metrics: average score Spearman rho tokens per second TTFT TPOT peak GPU memory bootstrap 95% CI

Baselines: FullKV SnapKV PyramidKV DynamicKV AdaKV HeadKV CAKE ChunkKV StreamingLLM H2O KVZip FastKV

Builds on: SnapKV CQL DuoAttention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy