MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference
Michael Wang, Keith Li, Roozbeh Bostandoost
cs.LG
Quick verdict
MetaKV picks per-prompt KV compression under latency+memory budgets, gaining ~0.07 CSR over static configs; needs significance tests, ablations, generality.
Summary
MetaKV is a per-prompt adaptive framework for LLM inference that selects one of eleven KV-cache configurations — uncompressed FP16 plus ten settings spanning KVQuant quantization (2/3/4-bit), H2O token eviction (20/40/60% retention), and RocketKV sparse compression (8×/16×/32×) — to satisfy user-specified end-to-end latency and peak KV-cache memory budgets. Three LightGBM predictors estimate each candidate's latency, peak memory, and correctness probability; a budget filter discards infeasible options, and a hand-crafted hierarchy (prefer FP16, else least-compressed per method, accuracy-model tie-break) makes the final pick. On Llama 3.1 8B with a single RTX PRO 6000 GPU, profiling 8,192 prompts from GSM8K, HellaSwag, ARC-Challenge, and SQuAD 1.1 with a 1,232-prompt test split, MetaKV reports positive CSR (constrained success rate) gains over the best static configuration across all 16 tested latency–memory constraint pairs — approximately 0.07 average, up to 0.135 — with accuracy within 0.2–1.8 percentage points of an oracle selector. Key limitations: no statistical significance testing or confidence intervals for gains as small as ~0.01; no ablation isolating the weak accuracy model (AUROC 0.70) from the hand-crafted hierarchy; RocketKV's near-invariant peak memory (~30.6 MB across ratios) and KVQuant's ~10× latency overhead raise implementation-fidelity questions; LightGBM input features are unspecified; evaluation covers one model, one GPU, and an unoptimized Hugging Face Transformers stack. A code link is given in the abstract.
Review complete
Assessment at a glance
4
risk flags identified
● high 0
● medium 3
● low 1
5 strengths · 5 weaknesses · 5 author questions
Levels reflect verification complexity — not a quality score. Evolve never rates your paper.
Key claims under review
- The three lossy KV compression families (KVQuant quantization, H2O token eviction, RocketKV sparse attention) exhibit distinct, prompt- and dataset-dependent accuracy–latency–memory trade-offs with no universally dominant configuration (Table 1, Appendix A).
- Per-prompt selection via LightGBM predictors plus a budget filter and fixed hierarchy improves CSR over the best static configuration across all 16 tested latency–memory constraint pairs, by ~0.07 on average and up to 0.135.
- MetaKV's accuracy is within 0.2–1.8 percentage points of an oracle selector, and its violation rate is only 0–6 points above Oracle, indicating most violations stem from the candidate pool's limits rather than prediction error.
- The selector overhead (10.96 ms, ~0.34% of average inference latency) is negligible relative to inference cost.
Strengths
Practical problem framing with a well-chosen metric
Selecting compression per prompt under explicit dual budgets (Lmax, Mmax) mirrors real deployment heterogeneity; CSR (§3.1) cleanly couples correctness with constraint satisfaction, and the violation score L̂/Lmax + M̂/Mmax gives a principled infeasible-case fallback (§2.3).
Candid reporting of predictor quality and failure modes
The paper discloses unflattering numbers — latency MAPE 38.19%, accuracy AUROC 0.70 (§3.1) — and uses the Oracle comparison (Fig. 3b) to attribute most constraint violations to the candidate pool (Oracle violates up to 35%) rather than to prediction error, with MetaKV only 0–6 pp above Oracle.
Consistent directional gains concentrated where trade-offs bind
Per-dataset transparency supports the core motivation
Extensible design and explicit scope
Weaknesses
No statistical inference behind the headline claim
Missing ablation of the learned component
Baseline implementation fidelity concerns distort the trade-off landscape
Underspecified predictors and measurement protocol
No related-work positioning
Full Review Report
$1.99 · one-timeUnlock the complete preliminary analysis Evolve produced for this paper.
Report preview
Scope & Claims
MetaKV (arXiv 2609.07966) targets per-request configuration of KV cache compression: given a prompt plus user-specified end-to-end latency (Lmax) and peak KV-cache memory (Mmax) budgets, it selects one of eleven configurations — uncompressed FP16; KVQuant at 2/3/4-bit; H2O retaining 20/40/60% of tokens; RocketKV at 8×/16×/32×. Three tuned LightGBM predictors estimate latency, peak memory, and correctness probability per candidate; a budget filter plus a fixed hierarchy (prefer FP16; else least-aggressive setting per method; accuracy-model tie-break; violation score L̂/Lmax + M̂/Mmax when nothing fits) makes the final call (§2.3). Central claims: (1) the method families exhibit distinct, prompt- and dataset-dependent trade-offs (Table 1, Appendix A); (2) adaptive per-prompt selection beats the best static configuration on constrained success rate (CSR) across all 16 tested constraint pairs, ~0.07 on average and up to 0.135; (3) MetaKV is within 0.2–1.8 pp of an oracle, and most violations are attributable to the candidate pool, not prediction error.
The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.
- All 5 strengths & 5 weaknesses, analyzed in detail
- 4 risk flags with severity, section & reviewer questions
- Methods & statistical evidence assessment
- 5 questions a peer reviewer would ask
- Full six-dimension evaluation report & recommendations
One-time purchase · this paper only
One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.
Frequently asked questions
What is MetaKV and what problem does it solve?
MetaKV is a framework for LLM inference that picks a KV cache compression setting separately for each prompt so the answer is likely correct while staying under two user-set limits: maximum end-to-end latency and peak KV cache memory. It replaces the usual one-size-fits-all fixed compression setting with per-prompt adaptation driven by small predictive models (LightGBM).
How much better is MetaKV than a fixed compression configuration?
On Llama 3.1 8B over four datasets (GSM8K, HellaSwag, ARC-Challenge, SQuAD 1.1), the authors report that the constrained success rate — the fraction of prompts answered correctly within both budgets — beats the best single fixed configuration in all 16 tested latency–memory constraint pairs, by about 0.07 on average and up to 0.135.
Which KV cache compression methods are evaluated?
Three representative families: KVQuant quantization (2/3/4-bit), H2O token eviction (keeping 20/40/60% of tokens), and RocketKV sparse compression (8×/16×/32×), plus an uncompressed FP16 baseline — ten compressed settings in total, executed with Hugging Face Transformers.
What are the main limitations of the MetaKV paper?
Evaluation covers one model (Llama 3.1 8B), one GPU (RTX PRO 6000, 96 GB), four datasets, and three compression methods; predictors must be re-profiled for each new model/hardware combination; absolute latencies come from an unoptimized Hugging Face Transformers stack; and the paper reports no statistical significance tests for gains as small as ~0.01.
About this review
This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.
- Figures 1–4 are raster images in the extraction; only captions and in-text quoted numbers are available, so per-grid-cell ΔCSR values and Figure 3 sub-panel details could not be independently verified beyond what the text states.
Go deeper on this paper
Wrote a paper? Stress-test it before reviewers do.
Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.
