potentialpaper

KV Cache Compression via Attention Output Distortion Minimization

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:51 UTC · 996815138e42 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,25 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "IZ1HIOsJHX"
- }
- ],
- "title": "KV Cache Compression via Attention Output Distortion Minimization",
- "authors": [
- "Yi Wang",
- "Yixuan Cao",
- "Qiang Ding",
- "Zelin Gao",
- "Ping Luo"
- ],
- "abstract": "Efficient long-context inference requires compressing the KV cache under strict memory budgets without degrading model outputs. We formulate this problem as a constrained optimization: minimize the total attention-output distortion subject to a shared average bit-width budget, where each token's KV entry can be assigned a bit-width ranging from 0 (eviction), through mixed precision, to 16 (no compression). The central challenge is to estimate each token's contribution to attention-output distortion. We address this via a first-order perturbation analysis of the attention mechanism, which motivates a separable approximation to the distortion. Specifically, we approximate each token's compression cost by the product of (i) a token-specific risk score that captures the sensitivity of the attention output to perturbations of that entry, and (ii) a precision-dependent quantization error determined by the chosen bit-width. Building on this approximation, we allocate bits via Lagrangian relaxation, reducing the relaxed problem to independent per-token decisions. Experiments on LongBench and RULER with Llama-3.1-8B-Instruct and Qwen3-8B show that our method achieves comparable accuracy to uniform 4-bit quantization while using an average of 2 bits per entry. At an average of 1 bit, our method maintains substantially higher accuracy than both uniform quantization and token eviction baselines, which deteriorate sharply in this regime. We also implement a native mixed-bit inference system for ODM-KV that reduces GPU memory usage and can improve decoding throughput at larger batch sizes. Our code is available at https://github.com/yiiwang118/ODM-KV.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "ea0cd3f6-2d41-4c2b-be0d-71ef88c79264"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,15 @@
+{
+ "title": "KV Cache Compression via Attention Output Distortion Minimization",
+ "authors": [
+ "Yi Wang",
+ "Yixuan Cao",
+ "Qiang Ding",
+ "Zelin Gao",
+ "Ping Luo"
+ ],
+ "abstract": "Efficient long-context inference requires compressing the KV cache under strict memory budgets without degrading model outputs. We formulate this problem as a constrained optimization: minimize the total attention-output distortion subject to a shared average bit-width budget, where each token's KV entry can be assigned a bit-width ranging from 0 (eviction), through mixed precision, to 16 (no compression). The central challenge is to estimate each token's contribution to attention-output distortion. We address this via a first-order perturbation analysis of the attention mechanism, which motivates a separable approximation to the distortion. Specifically, we approximate each token's compression cost by the product of (i) a token-specific risk score that captures the sensitivity of the attention output to perturbations of that entry, and (ii) a precision-dependent quantization error determined by the chosen bit-width. Building on this approximation, we allocate bits via Lagrangian relaxation, reducing the relaxed problem to independent per-token decisions. Experiments on LongBench and RULER with Llama-3.1-8B-Instruct and Qwen3-8B show that our method achieves comparable accuracy to uniform 4-bit quantization while using an average of 2 bits per entry. At an average of 1 bit, our method maintains substantially higher accuracy than both uniform quantization and token eviction baselines, which deteriorate sharply in this regime. We also implement a native mixed-bit inference system for ODM-KV that reduces GPU memory usage and can improve decoding throughput at larger batch sizes. Our code is available at https://github.com/yiiwang118/ODM-KV.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}