首页 > AI前沿 > RAVEL-KV: Request-Level Analysis of Violation Events in KV-Cache Compression

RAVEL-KV: Request-Level Analysis of Violation Events in KV-Cache Compression

arXiv自然语言 2026-11-30 01:57 6 阅读 查看原文

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\pm0.0026 AUROC and 0.5941\pm0.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.