RAVEL-KV: Request-Level Analysis of Violation Events in KV-Cache Compression
cs.CL, cs.LG
Submitted: 2026-11-29
Updated: 2026-11-29
Comments: Submitted to IEEE International Symposium on Circuits and Systems (ISCAS) 2027 for Review
License: http://creativecommons.org/licenses/by/4.0/
The gist: Key--value (KV) cache compression reduces the memory cost of long-context large language model (LLM) inference, yet average task scores can obscure request-level failures.
Abstract
Key--value (KV) cache compression reduces the memory cost of long-context large language model (LLM) inference, yet average task scores can obscure request-level failures. We present RAVEL-KV, a controlled request-level characterization of heterogeneous KV-cache compression. We evaluate 27,951 Mistral-7B-Instruct v0.2 generations over 1,331 LongBench requests, nine tasks, four compression mechanisms, and five retained-token budgets. At a FullKV-relative quality-loss tolerance of 0.10, 16.26% of compressed request--configuration pairs violate the threshold, with failures strongly dependent on mechanism and budget. A lightweight predictor identifies these violations before compressed execution, achieving 0.8719 plus or minus0.0026 AUROC and 0.5941 plus or minus0.0098 AUPRC across five repeated request-grouped evaluations. A request-wise oracle achieves 94.17% mean nominal retained-token saving with zero violations, revealing substantial adaptive-execution headroom. These results motivate treating KV-cache compression as a request-level risk problem rather than solely an average-quality problem.
Related papers
- MedGame: Storytelling Gamification Empowered by Large Language Models for Medical Education
- SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
- UniVer: A Unified Perspective for Multi-step and Multi-draft Speculative Decoding
- Grounding Text Embeddings in Stakeholder Associations
- Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agents
- TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning