KV-COBRA: KV Cache Compression via Co-Optimized Bit-Rank Allocation
Sihyeon Ha, Jaeho Lee, Yo-Seb Jeon
NeurIPS 2026
TL;DR. KV-COBRA allocates rank and bits per head and balances the budget across heads — all on top of the standard SVD-rotate-and-quantize pipeline, with no new machinery.
Abstract. What limits KV-cache compression at extreme bit-rates? We argue it is not the choice of compression scheme but how its budget is allocated across attention heads. Existing methods apply rank and bit-width uniformly, ignoring that each head has a different optimal mix of rank truncation and quantization. We show that co-optimizing rank and bit-width per head — using only standard low-rank projection and scalar quantization — dominates uniform allocation, with the largest gains at low bit-rates. Our method, KV-COBRA (Co-Optimized Bit-Rank Allocation), formalizes this as a resource-allocation problem: it balances rank-truncation loss against quantization loss within each head, then redistributes budget across heads to minimize total distortion. A fused Hadamard rotation equalizes per-channel variance, and reordering the SVD basis by attention-KL importance makes the solver query-aware. The same allocator extends to joint compression. On perplexity, zero-shot, and long-context benchmarks from to bits per dimension (bpd), KV-COBRA shows the smallest accuracy degradation among evaluated methods at low bpd, with no per-token overhead.
From the authors: Jaeho Lee · edit · also an author?
Nothing yet.
edit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes the key to enable low bitrate KV-cache compression is through careful allocation of its budget into each attention head. Two reviewers incline acceptance while one review incline rejection. The method is practical, experiments are sufficient and the paper is well written. There are some minor concerns around C2 solver, scope, and calibration.
During the rebuttal, authors successfully addressed most of the concerns.
Therefore we recommend accept this paper.
Final justification
We recommend accept this paper.
- Final justification
- We recommend accept this paper.
Read meta-review
Meta-review
This paper proposes the key to enable low bitrate KV-cache compression is through careful allocation of its budget into each attention head. Two reviewers incline acceptance while one review incline rejection. The method is practical, experiments are sufficient and the paper is well written. There are some minor concerns around C2 solver, scope, and calibration.
During the rebuttal, authors successfully addressed most of the concerns.
Therefore we recommend accept this paper.
1 comment
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors argue that the real bottleneck in low-bit KV-cache compression isn't the choice of quantization kernel, but how the bit budget gets divvied up across attention heads. Current methods just assign the same rank and bit-width to every head, but heads have wildly different eigenvalue spectra — some concentrate their energy in a few directions, others spread it out. The proposed method, KV-COBRA, tackles this as a two-level optimization: C1 picks each head's optimal (r, b) pair by balancing truncation loss against quantization loss, and C2 redistributes the total bit budget across heads by equalizing marginal distortions. They also upgrade the objective from plain MSE to an attention-KL bound that makes the allocation query-aware. Experiments span three 7-8B models, multiple bpd levels, and show consistent gains over KIVI, KVQuant, GEAR, SVDq, KQ-SVD, TurboQuant — especially at low bit rates where the allocation decisions really start to matter.
Strengths and weaknesses
I found the problem framing quite convincing. The authors show that per-head distortion under uniform allocation spans over 100× across heads, which makes it immediately obvious why one-size-fits-all (r, b) is wasteful. The C1 + C2 decomposition is clean and connects naturally to classic rate-distortion ideas, with proper first-order optimality conditions in the appendix. The attention-KL upgrade (Proposition 4.1) is a nice piece of work — they derive per-direction weights that incorporate query variance, not just key variance, which means the allocator cares about what the attention layer actually attends to rather than just reconstructing the cache faithfully. The method also adds zero per-token overhead since everything is frozen at calibration time.
The experiments cover enough ground — three models, multiple bpd levels, perplexity on three datasets, zero-shot on five tasks, LongBench on five tasks. The ablation comparing KL vs. MSE was informative and the results align with what you'd expect (MSE wins on PPL, KL wins on downstream tasks).
That said, several things bothered me. For a paper whose entire motivation is the memory-bandwidth bottleneck in decoding, there's no end-to-end latency measurement. They report primitive-level attention speedup (1.79-1.89×) buried in the appendix, but what I actually want to see is wall-clock decode latency compared against KIVI and KVQuant at matched memory budgets. Without this, I can't really tell if the method delivers on its core promise. This feels like a significant gap for a systems paper.
The C2 solver situation is also a bit odd. They use a damped proportional update, which is fine, but then they mention that an exact DP solver actually makes PPL worse despite reducing the distortion surrogate. They brush this off as "the surrogate is the problem, not the solver," but I think this deserves more attention — it suggests the distortion model has systematic issues that aren't being discussed.
The scope is also limited in a few ways. Only pre-RoPE keys get compressed (post-RoPE is position-dependent and can't use a static SVD). V-side gets uniform allocation because its spectrum is too flat for cross-head redistribution to help. And only 7-8B models are tested. I get that there are technical reasons for each of these, but taken together they limit how much of the KV-cache problem this actually solves.
Finally, the calibration uses just 32 WikiText-2 samples with no cross-domain robustness check. If you calibrate on WikiText and evaluate on code (HumanEval), does the allocation hold up? We don't know.
Questions
-
Can you provide actual end-to-end wall-clock decode latency on an A100 (batch size 1), compared against KIVI and KVQuant at matched memory budgets? This is the single thing that would most change my evaluation — if the method truly delivers on the memory-bandwidth-bound claim, that matters a lot.
-
What happens when you calibrate on WikiText-2 and then evaluate on code (HumanEval) or math (GSM8K)? Even a single cross-domain data point would help clarify whether the calibration is brittle.
-
The fact that exact DP degrades PPL while reducing sum-distortion is puzzling and I think it needs a more honest treatment. What exactly breaks in the surrogate? Is it the high-resolution Bennett assumption at low b, or something more fundamental about how MSE/KL distortion relates to generation quality?
-
Are there any feasible workarounds for post-RoPE compression, even approximate ones? A brief speculative discussion would make the limitation section more constructive.
-
What's the calibration cost at 70B scale? The 200ms figure for 7-8B models is impressive, but does per-head SVD become a bottleneck on larger architectures?
Limitations
Yes
Final justification
The rebuttal substantially strengthens confidence in the paper's core claims but also exposes a gap between the paper's framing and its actual systems-level payoff. On the positive side, cross-domain calibration checks (WikiText→code/math) show the allocation isn't overfit, the DP-degradation puzzle is diagnosed convincingly (traced to Bennett-estimate bias rather than the solver or objective), and the 70B results confirm the method's advantage holds at scale rather than shrinking. However, my main concern — end-to-end decode latency — is only partially addressed: the measured real-world speedup (1.04–1.21×) is much smaller than the primitive-level figure (1.79–1.89×) the paper leads with, and no memory-matched comparison against KIVI/KVQuant was possible since those methods also compress V. The DP fix is diagnosed but not yet incorporated into the shipped method. Given the core contribution is technically sound but the systems-level benefit is more modest than advertised and the requested head-to-head latency comparison remains incomplete, I keep my score at (3).
Formatting concerns
no
2 comments
Rebuttal
Thank you for the detailed review. We answer your questions in order.
W1Q1. End-to-end wall-clock decode latency
"Can you provide actual end-to-end wall-clock decode latency [...] compared against KIVI and KVQuant at matched memory budgets?"
We measured decode throughput at batch size 1 on LLaMA-3.1-8B, running the method's actual C1+C2 allocations at 2/1/0.5 bpd (k-only, per-head ranks 8 to 128) with our ragged decode kernels under CUDA-graph capture. Times cover decode steps only, prefill excluded. Each number is a mean over 25 trials on a single RTX 6000 Ada with the other GPUs idle (we could not get an A100 in the rebuttal window), per-trial spread below 0.5 % on the graph-captured rows. The table shows tokens/s, with the ratio to FP16's fastest path in parentheses.
| Batch-1 decode, tokens/s (ratio) | 8k | 16k | 32k |
|---|---|---|---|
| FP16, eager (its fastest path) | 42.4 (1.00×) | 37.2 (1.00×) | 28.1 (1.00×) |
| FP16, CUDA-graph capture | 28.7 (0.68×) | 19.6 (0.53×) | 11.9 (0.42×) |
| KV-COBRA 2 bpd | 44.2 (1.04×) | 38.4 (1.03×) | 30.9 (1.10×) |
| KV-COBRA 1 bpd | 44.3 (1.04×) | 38.7 (1.04×) | 31.2 (1.11×) |
| KV-COBRA 0.5 bpd | 45.6 (1.08×) | 40.8 (1.10×) | 33.9 (1.21×) |
| KIVI 2-bit, official kernel, vs its own FP16 | 0.51× | 0.62× | 0.80× |
| KVQuant 4-bit, official kernel, vs its own FP16 | 0.34–0.35× |
The end-to-end ratios sit well below the paper's 1.79–1.89× because that figure is for the attention primitive alone. The parts of a step we touch (query projection into the per-head bases, quantize-and-append, and the fused dequant-attention kernel) take 28–39 % of an eager step, replacing the 3–18 % that FP16 attention took, so a speedup confined to that slice moves the whole step only a little at 8k. The slice grows with length, FP16's attention time growing about 7.8× from 8k to 32k while ours grows 1.8×, so the ratio is largest at 32k.
Our rows keep V in FP16, with 32k KV footprints of 2405/2281/2214 MB (2/1/0.5 bpd) against FP16's 4295 MB. KIVI and KVQuant quantize V as well and hold less, so the budgets in this table are not matched. We could not match them here, since their official kernels are hardwired to their native K+V modes and our kernel path implements only the paper's k-only configuration. The memory-matched comparison is the quality one, where every method runs k-only at the same bit rate (W4Q2 and the paper's main tables).
Graph capture hurts FP16 (second row), because CUDA graphs need a static cache, which reads its full preallocated length at every step. The same held on Mistral and Qwen, so eager FP16 is the fastest FP16 baseline we could find. Our method is the opposite case, with many small ops, so it needs graph capture (0.86× at 8k without it), which serving stacks use by default anyway.
The last two rows are each method's official kernel against its own FP16, so only the ratios are comparable across rows. Batch-1 decode also sits outside their design points (KIVI targets large batches, KVQuant memory capacity).
W4Q2. WikiText calibration, code/math evaluation
"What happens when you calibrate on WikiText-2 and then evaluate on code (HumanEval) or math (GSM8K)?"
Every number below uses the same 32 WikiText-2 calibration samples as the rest of the paper, with no recalibration. At 2 bpd the method is close to FP16 on both tasks, GSM8K within 1.2–2.0 EM (on a 250-problem subset) and HumanEval within 0.4–2.0 points. At 1 bpd there is a real gap, 3.0–6.4 EM on GSM8K. So the question is whether that gap comes from calibrating on the wrong domain. KIVI, KVQuant and GEAR use no calibration data, so their drop shows what 1-bpd quantization costs by itself. If our WikiText allocation were the problem, we should drop more than they do out of domain. We drop about half as much.
| Task (1 bpd, k-only) | Method | LLaMA | Mistral | Qwen |
|---|---|---|---|---|
| GSM8K (strict EM, full 1,319 problems) | FP16 | 55.0 | 40.0 | 82.9 |
| KV-COBRA-KL (ours) | 50.8 ± 0.3 | 37.0 ± 0.5 | 76.4 ± 0.8 | |
| KQ-SVD | 48.2 | 35.0 | 72.4 | |
| KIVI | 47.5 | 33.7 | 72.5 | |
| KVQuant | 47.5 | 33.7 | 72.4 | |
| GEAR | 47.3 | 33.7 | 72.6 | |
| HumanEval (pass@1, all 164) | FP16 | 37.2 | 26.8 | 64.0 |
| KV-COBRA-KL (ours) | 35.0 ± 0.9 | 25.6 ± 0.6 | 59.8 ± 0.0 | |
| KQ-SVD | 33.5 | 25.0 | 54.3 | |
| KIVI | 31.7 | 23.8 | 54.3 | |
| KVQuant | 31.7 | 23.8 | 54.3 | |
| GEAR | 31.7 | 23.8 | 54.3 |
Our rows are mean ± SD over 3 seeds. The other methods have no seed dependence, so they are single runs.
We also ran the reverse direction, calibrating on Python source (codeparrot) instead of WikiText-2. It helps by up to 1.6 points at low bit rates and never costs more than 0.3, within the seed noise. So the allocation seems to transfer in both directions, and the remaining low-bit gap is probably not a calibration issue.
W2Q3. Why exact DP degrades PPL
"The fact that exact DP degrades PPL while reducing sum-distortion is puzzling [...]"
We agree the original discussion was too brief. To find out, we quantized every (layer, head)'s rotated calibration activations with the deployed quantizer at b = 1…4 and compared measured MSE against the q(b) ∝ 2^(−2b) model, normalized at b = 4 so only the shape matters.
| measured MSE ÷ 2^(−2b) model (shape, all 3 models) | b = 4 | b = 3 | b = 2 | b = 1* |
|---|---|---|---|---|
| median across heads | 1.0 | 1.1 | 1.7 | 6.9 |
| per-head spread (p95−p05)/median | 31 % | 33 % | 41 % | 36 % |
* b = 1 is below the deployed b ≥ 2 floor and is shown for the trend.
From this, the problem looks like the estimate rather than the solver or the objective. An allocator compares distortion across heads and bit-widths, so what hurts is error that differs across the options being compared. Here the shape bias reaches 1.7× at b = 2 and varies 30–40 % from head to head, so an exact solver tends to pick the options whose cost is most underestimated.
We then replaced the Bennett estimate with measured per-head distortion tables (quantizing the calibration activations once per candidate (r, b) adds a few seconds) and re-ran the same exact DP.
| Wikitext-2 PPL, 1 bpd, k-only (mean ± SD, 3 seeds) | LLaMA | Mistral | Qwen |
|---|---|---|---|
| FP16 | 5.71 | 4.77 | 6.07 |
| water-filling + Bennett estimate (shipped) | 16.33 ± 0.55 | 7.39 ± 0.13 | 8.14 ± 0.07 |
| exact DP + Bennett estimate | 17.55 ± 1.49 | 7.17 ± 0.19 | 7.98 ± 0.06 |
| exact DP + measured estimate | 8.11 ± 0.02 | 5.39 ± 0.01 | 7.43 ± 0.01 |
With an accurate estimate the exact solver no longer degrades anything. It improves on the shipped allocator on all three models, and the solution becomes nearly seed-invariant (SD ≤ 0.02, where the Bennett variants move by up to ±1.5 on LLaMA). These runs use the full configuration with the Hadamard rotation, and the appendix's rotation-free comparison degrades the same way, so it is not specific to one setup.
So the degradation comes from the error of the assumed quantizer model. The 2^(−2b) surrogate misestimates the deployed quantizer's distortion at low bits, and an exact solver optimizes against those wrong numbers. Once the estimate is measured instead of assumed, the same objective and the same solver behave well. We will add this analysis, with the measured-distortion table, to the paper's discussion of the C2 solver.
W3Q4. Post-RoPE workarounds
"Are there any feasible workarounds for post-RoPE compression, even approximate ones?"
For keys, we think the practical answer is to compress before RoPE, which is what we do. RoPE is a fixed rotation at a known position, so applying it after decompression loses nothing. The baselines do the same. KVQuant lists per-channel pre-RoPE key quantization as one of its techniques, and the SVD-style baselines in our comparison operate pre-RoPE as well.
What the paper should explain better, and will, is why compressing after RoPE is harder. After RoPE, each position stores a differently rotated copy of the key distribution. A static basis then faces an average over rotations, E_p[R(p) Σ R(p)ᵀ], which is much closer to isotropic, with the high-frequency planes flattening first. The low-rank structure our method relies on fades, so any static basis pays more truncation loss at the same rank. This matches what KVQuant reports about per-channel structure mixing post-RoPE, and our appendix shows every tested method degrades when moved post-RoPE under the same protocol. Position-dependent bases could track the rotation in principle, though they give up the one-shot calibration that keeps the method simple. We think this is better left as future work.
References are arXiv:2104.09864 and arXiv:2401.18079.
Q5. Calibration cost at 70B
"What's the calibration cost at 70B scale? [...] does per-head SVD become a bottleneck?"
Measured on LLaMA-3.1-70B sharded over 4×48 GB (32 samples).
| Phase | Time |
|---|---|
| Activation collection (forward passes) | 14.6 s |
| Eigendecomposition (all 640 KV heads) | 2.2 s |
| C1 + C2 solve + Hadamard fold-in | 0.4 s |
| Attention-KL reordering variant | 1.1 s |
| Total one-time setup | 18.3 s |
Per-head SVD turns out not to be the bottleneck. We compute each head's basis by eigendecomposing its 128 × 128 covariance, which gives the same basis as the SVD at a cost independent of token count, and all 640 heads take 2.2 s. The solver adds 0.4 s. About 80 % of the total is the calibration forward passes, which is just sharded inference. The numbers are from four PCIe-connected RTX 6000 Ada cards, and newer GPUs or NVLink would shrink the dominant term further.
W3. Only 7–8B models
The 70B check suggests the method holds up at scale.
| LLaMA-3.1-70B, 1 bpd, k-only | PPL ↓ | LongBench F1 ↑ |
|---|---|---|
| FP16 | 5.38 | 14.3 |
| KV-COBRA-KL (ours) | 6.97 | 13.5 |
| KIVI | 163.8 | 3.7 |
| KVQuant | >10³ | — |
PPL is the mean over Wikitext-2/PTB/C4. LongBench is the five-task mean (25 samples per task).
Following up on W3, we completed the remaining metric at 70B. The table below extends the 70B check to the same three metrics as the 7–8B models, PPL, zero-shot, and LongBench, all at 1 bpd k-only under the paper's original protocol.
| LLaMA-3.1-70B, 1 bpd, k-only | PPL ↓ | Zero-shot ↑ | LongBench F1 ↑ |
|---|---|---|---|
| FP16 | 5.38 | 60.4 | 14.3 |
| KV-COBRA-KL (ours) | 6.97 | 58.4 ± 0.6 | 13.5 |
| KV-COBRA-MSE (ours) | 9.50 | 58.5 ± 0.9 | 10.5 |
| KQ-SVD | 9.79 | 57.0 | 11.2 |
| KVQuant | >10³ | 55.9 | 5.1 |
| KIVI | 163.8 | 52.6 | 3.7 |
| GEAR | 245.1 | 51.4 | 5.6 |
PPL is the mean over Wikitext-2/PTB/C4. Zero-shot is the mean over ARC-C, HellaSwag, PIQA, Winogrande, and MMLU (200 samples each). LongBench is the five-task mean (25 samples per task). Our zero-shot rows are mean ± SD over 3 seeds, and the other methods are seed-invariant single runs. The ordering matches the 7–8B results on every metric, so the method's advantage carries to 70B rather than shrinking with scale. This table will be added to the final version.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper targets per-token KV-cache compression at low bit-rates and argues that the main lever is not the compression kernel but how a fixed bit budget is split across attention heads, since per-head spectra vary widely. It formulates this as a rate-distortion allocation problem solved in two levels at calibration time: an inner step that jointly picks each head's retained rank and bit-width, and an outer step that redistributes the global budget across heads to equalize marginal distortion. A fused Hadamard rotation equalizes per-channel variance at no inference cost, and an attention-KL variant reorders the SVD basis by a query-aware importance weight so the allocation optimizes attention quality rather than reconstruction error.
Strengths and weaknesses
Strengths
- The "allocation, not kernel" framing is clean and interesting.
- The proposed pipeline is practical: gradient-free, calibration-only, with no per-token overhead.
- The method provides empirical improvements over different backbones(llama, qwen, mistral) and metrics.
- Paper is written in good clarity and is easy to follow.
Weaknesses
- The allocation is driven purely by the numerical magnitude of the per-head distortion, and every layer and head enters the objective with the same weight. From the model's semantic perspective the picture could be different. For instance, an error introduced in an earlier layer may gradually amplify in later layers, making early-layer distortion more costly, or the effect could go the other way. Authors may add some discussion or experiments on this point.
Questions
-
The finding that V-heavy splits dominate the joint K+V sweep is interesting (asymmetric KV budget, L239). Is this asymmetry consistent across tasks or task/model-dependent, and it would be valuable to see a more in-depth discussion of why the V side tolerates a larger share of the budget.
-
Does a distortion of the same magnitude have roughly the same downstream effect regardless of which layer/head it occurs in, or does its impact actually vary across layers?
Limitations
yes
Final justification
I maintain my original score, as the authors have satisfactorily addressed my questions about the V-heavy KV and the downstream impact of distortion, leaving no major unresolved concerns from my side.
Formatting concerns
No formatting concerns.
1 comment
Rebuttal
Thank you for the positive assessment. We take the two questions in order.
Q1. Is the V-heavy asymmetry task-dependent?
"Is this asymmetry consistent across tasks or task/model-dependent, and it would be valuable to see a more in-depth discussion of why the V side tolerates a larger share of the budget."
We measured this at the level of individual tasks rather than the suite average. The table shows the best (K, V) split of KV-COBRA-KL at each total budget (5 / 6 / 7 bpd), per LongBench task.
| Task | LLaMA-3.1-8B | Mistral-7B | Qwen2.5-7B |
|---|---|---|---|
| NarrativeQA | (1,4) / (1,5) / (1,6) | (1,4) / (2,4) / (3,4) | (1,4) / (2,4) / (3,4) |
| Qasper | (1,4) / (2,4) / (3,4) | (1,4) / (3,3) / (4,3) | (2,3) / (3,3) / (4,3) |
| MultiFieldQA | (1,4) / (2,4) / (1,6) | (1,4) / (2,4) / (3,4) | (2,3) / (3,3) / (3,4) |
| HotpotQA | (1,4) / (1,5) / (2,5) | (1,4) / (2,4) / (2,5) | (1,4) / (1,5) / (2,5) |
| MusiQue | (2,3) / (2,4) / (2,5) | (1,4) / (2,4) / (3,4) | (2,3) / (2,4) / (3,4) |
The direction is consistent. The best split is V-heavy in 40 of 45 (model, task, budget) cells, and in 15 of 15 at the tightest budget. Starving V is the harsher failure, with F1 falling below 7 on every task on LLaMA and Mistral at V = 2 bpd, while K does fine at 1–2 bpd. The five non-V-heavy cells (bold) are all Qasper and MultiFieldQA, the most extraction-flavored tasks in the suite, and they drift from V-heavy through balanced (3,3) to K-heavy (4,3) as the budget grows.
V tolerates a larger share because the two sides carry different kinds of error. K distortion perturbs addressing (where attention looks), while V distortion perturbs content (what it retrieves). K noise passes through the softmax, so its damage grows with how peaked the attention pattern needs to be. V noise enters the output linearly through the attention-weighted average, so it degrades smoothly. The collapse at V = 2 bpd matches V's flat spectrum, which leaves no low-error directions to drop at that budget.
The reversal at larger budgets comes from the two paths' different marginal returns. V has a hard floor near 3 bpd, so the first bits go to V. Above the floor, the value of extra K bits depends on how precisely the task must localize. NarrativeQA and the multi-hop tasks gather evidence from many places, so extra addressing precision buys little. Qasper and MultiFieldQA are the ones where, once V ≥ 3 is secured, the next bit becomes worth more in K.
This per-task table and discussion will be added to the final version.
W1Q2. Does equal distortion have equal effect at every depth?
"[...] every layer and head enters the objective with the same weight. [...] an error introduced in an earlier layer may gradually amplify in later layers [...] or the effect could go the other way."
"Does a distortion of the same magnitude have roughly the same downstream effect regardless of which layer/head it occurs in, or does its impact actually vary across layers?"
The impact does vary with depth, and we measured it. C2 already spreads budgets unevenly across layers, since its pool is global and each layer's share follows its spectra, but the objective does assume that a unit of the resulting distortion costs the same wherever it lands. To test that assumption we applied the full 1-bpd allocation to one layer quartile at a time (other layers FP16) and normalized each quartile's PPL increase by its share of the distortion surrogate at the deployed (r, b). If the assumption held, the rows below would be flat (mean over three calibration seeds).
| ΔPPL per unit surrogate (×10⁻⁴) | Q1 (early) | Q2 | Q3 | Q4 (late) | max/min |
|---|---|---|---|---|---|
| LLaMA-3.1-8B | 25.9 ± 4.3 | 10.9 ± 0.4 | 4.4 ± 0.3 | 5.0 ± 0.2 | 5.9× |
| Mistral-7B | 3.5 ± 0.2 | 4.9 ± 0.2 | 2.0 ± 0.0 | 1.9 ± 0.0 | 2.6× |
| Qwen2.5-7B | 8.0 ± 0.4 | 6.3 ± 0.7 | 15.7 ± 0.5 | 12.5 ± 0.4 | 2.5× |
This intuition turned out to be right. The spread across depth is 2.5–5.9×, and errors do compound. Compressing all layers costs +7.72 PPL on LLaMA versus a 4.03 sum of per-quartile costs. The profile is also model-dependent, with LLaMA most sensitive early and Qwen mid-to-late, so the right fix is a weight measured at calibration time rather than a fixed depth prior. The current objective captures part of the depth effect through each layer's spectrum but does not reweight across layers. Folding a measured depth weight into C2 is future work we plan to pursue, and this discussion will be added to the final version.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces a new method for KV cache compression. Instead of a uniform rank and bit-width across attention heads, it allocates a different rank and bit budget per head, found at calibration time by a two-level gradient-free optimizer. On the evaluated models (~7B params) and datasets, it shows less accuracy loss than prior SVD/quantization baselines, especially at low bit rates.
Strengths and weaknesses
Strengths
The work is well motivated and focuses on an under-explored aspect of kv-cache compression. Heads differ a lot in how their key spectrum decays, so a uniform rank and bit-width is inefficient. The suggested approach is sensible: it is gradient-free, its computation overhead happens offline at calibration time, and it adds no per-token cost. The per-head allocation and the attention-KL reordering are a reasonable and well-argued combination, the cheap solver is validated against a DP reference, and the paper is clearly written. The evaluation is reasonably broad, the gains concentrate at the low-bpd regime that matters most, and the limitations are clearly stated.
Weaknesses
Calibration evaluation. Everything is calibrated once on Wikitext-2 samples and never refreshed. To their credit, the authors explicitly acknowledge this as a limitation and do not overclaim. Still, it would have been reasonable and cheap to at least provide some sensitivity analysis across different calibration datasets, or even across different samples from the same data source.
The Gaussianity claim is overstated (Sec 3.4 / App A.3). A single randomized Hadamard transform, drawn once and reused for every token, is claimed to "Gaussianize each channel" so that Bennett's model is tight. This is provably false: one such transform does not guarantee Gaussian marginals, and two consecutive transforms do give some guarantees, but those are asymptotic in (arXiv:2605.06014). Heads are low-dimensional here (retained , sometimes 16), so the residual is not negligible. The guarantee is also only over the random draw, while here a single drawn transform is fixed and continuously reapplied. The claim should be more clearly presented as a heuristic.
Related work and baselines. The rotate-and-quantize core sits in a line the paper underplays. Random-rotation quantization with distortion guarantees already exists (e.g. RaBitQ, SIGMOD'24, and EDEN, ICML'22), so the Hadamard, uniform, and Bennett argument is largely a special case and should be cited and compared. Also AQUA-KV (2025), is a directly relevant omitted baseline. A quantizer ablation at fixed allocation would isolate whether the gains come from allocation or from the kernel. On scope,
Questions
How sensitive are the chosen and per-head budgets to the calibration data? For example, how much do they change if calibration uses a different corpus, or a different set of samples from Wikitext-2?
Limitations
yes
Final justification
I thank the authors for their detailed rebuttal. The response effectively addresses several of my initial concerns and clarifies the proposed concepts. However, since the review process at this stage does not allow for a full evaluation of the revised manuscript to verify exactly how these changes are integrated into the text, I am keeping my score as a borderline accept. The work has strong potential and merits publication, but it may ultimately benefit from a more comprehensive revision.
Formatting concerns
no
1 comment
Rebuttal
Thank you for the careful review. We answer the three weaknesses in order.
W1Q1. Calibration sensitivity of (r*, b*)
"How sensitive are the chosen (r*, b*) and per-head budgets to the calibration data? [...]"
We measured this at the allocation level, not only through end metrics. We recomputed the full C1+C2 solution under five alternative calibrations (a disjoint WikiText-2 draw, PTB, C4, and 4× smaller / 4× larger sets) on all three models and compared each against the paper's n = 32 WikiText-2 draw. Each allocation column shows the range over the three models and bit rates 0.5/1/2, and the last three columns are LongBench F1 per model (KV-COBRA-KL, 1 bpd).
| vs. paper calibration | budget corr. (Pearson) | mean budget change | identical b* | mean |Δr*| | LLaMA | Mistral | Qwen |
|---|---|---|---|---|---|---|---|
| (reference: n = 32 WikiText-2) | — | — | — | — | 10.8 | 10.6 | 9.4 |
| Disjoint WikiText-2 draw | 0.992–1.000 | 0.6–2.0 % | 97–100 % | 0.45–1.17 | 9.6 | 10.0 | 9.4 |
| PTB* | 0.984–0.998 | 1.5–2.7 % | 94–100 % | 0.76–3.05 | 12.1 | 10.5 | 8.9 |
| C4 | 0.990–0.999 | 1.1–2.3 % | 94–100 % | 0.42–2.30 | 9.0 | 9.8 | 9.4 |
| n = 8 (4× less data) | 0.991–0.999 | 0.8–1.9 % | 91–100 % | 0.30–3.31 | 10.6 | 10.1 | 9.2 |
| n = 128 (4× more data) | 0.993–0.999 | 0.6–1.7 % | 96–100 % | 0.37–1.79 | 10.3 | 9.8 | 9.4 |
* PTB samples are single sentences, so 32 of them total only ~1.5 k tokens (WikiText-2 ~6 k). Token-matching PTB (128 sentences) changes nothing, with correlation 0.987–0.996, b* 98–100 %, and |Δr*| 0.60–1.24.
The allocation barely moves, and where it moves the change is small. The remaining rank differences are oscillations between neighboring points of C1's rank-2 search grid. That is also why exact (r, b) matches are only 18–71 %, since near-ties flip under any perturbation. Changing the calibration size perturbs the allocation about as much as re-drawing a same-size set, so n = 32 looks converged. Downstream, every calibration lands in a narrow band on each model (LLaMA 9.0–12.1, Mistral 9.8–10.6, Qwen 8.9–9.4, five-task means at 50 samples per task) and no configuration collapses. LLaMA moves the most of the three, and its ordering matches what we saw on perplexity, PTB slightly up and C4 slightly down. The same holds across modalities, since calibrating on Python source moves HumanEval pass@1 by at most 1.6 points.
W2. Gaussianity claim overstated
"This is provably false: one such transform does not guarantee Gaussian marginals [...] The claim should be more clearly presented as a heuristic."
Thank you for the pointer to arXiv:2605.06014, which we had not seen and found helpful. At our dimensions, with retained ranks as low as 16, the Hadamard transform cannot guarantee Gaussian marginals. The guarantees there are asymptotic in dimension, so they do not reach this regime. They are also stated over a random draw of the transform, while we fix a single draw at calibration time and reuse it. We kept the fixed draw because it already delivers the reported gains, and re-drawing the rotation online, closer to the setting that analysis covers, looks like a worthwhile extension.
What the paper actually relies on is weaker and holds up empirically. Gaussianity here is a matter of degree that improves with dimension, and Appendix A.3 checks it at our sizes, with excess kurtosis collapsing after rotation and Q–Q agreement to about ±2.5σ. The assumption also enters the method in exactly one place, Bennett's distortion model inside the allocator, and only through its relative shape. That is why the allocator stays well behaved even where the Gaussian fit is imperfect, which the paper's results reflect. The submission is missing this discussion, so we will reword the claim, present the Gaussian model as a working assumption, and add the citation.
W3. Related work (RaBitQ, EDEN, AQUA-KV) and quantizer-vs-allocation
"Random-rotation quantization with distortion guarantees already exists [...] A quantizer ablation at fixed allocation would isolate whether the gains come from allocation or from the kernel."
The related-work section underplays the rotate-and-quantize line, and we will fix that. Our kernel is the standard construction from that line, and RaBitQ (arXiv:2405.12497) and EDEN (arXiv:2108.08842) already develop its distortion guarantees. The final version will cite both and present that construction as inherited, with the allocation as the contribution on top. AQUA-KV sits on a different axis, inter-layer prediction with residual quantization, and should compose with per-head allocation. The final version will add it to the discussion and compare against its released implementation where the operating points overlap.
For the isolation the review asks for, we ran the full 2×2 of {our C1+C2-KL allocation, uniform allocation} × {the deployed per-channel min–max grid, NF-style quantile levels on the same range}. The table shows Wikitext-2 PPL at 2 bpd, the same operating point as the component ladder, with mean ± SD over 3 seeds. The uniform-allocation rows are seed-invariant.
| Allocation × kernel (2-bpd PPL) | LLaMA | Mistral | Qwen |
|---|---|---|---|
| min–max grid, uniform allocation | 11.30 | 5.81 | 8.47 |
| min–max grid, + C1+C2 allocation (deployed) | 6.95 ± 0.28 | 4.98 ± 0.06 | 6.90 ± 0.11 |
| NF quantile kernel, uniform allocation | 8.62 | 5.68 | 8.11 |
| NF quantile kernel, + C1+C2 allocation | 7.59 ± 0.15 | 5.09 ± 0.01 | 7.03 ± 0.01 |
Adding the allocation on top of either kernel helps on every model, by 0.6 to 4.4 PPL. Swapping the kernel with the allocation in place moves PPL by at most 0.7. So the gains appear to come from the allocation rather than the kernel, and the kernel itself is the same grid the baselines use.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for the assessment. The metareview names three concerns, the C2 solver, scope, and calibration. Each was addressed with new experiments, all under the paper's original protocol, and we summarize them here so the record is easy to check. Details are in the per-reviewer responses.
C2 solver. The puzzle was that an exact DP solver reduced the distortion surrogate yet degraded PPL. We traced this to the distortion estimate rather than the solver or the objective. Measured quantizer MSE deviates from the q(b) ∝ 2^(−2b) model by 1.7× at b = 2, with a 30–40 % head-to-head spread, so an exact solver picks the options whose cost is most underestimated. Replacing the estimate with measured per-head distortion tables makes the same exact DP improve on the shipped allocator on all three models.
Details in the response to Reviewer XJH7 (W2Q3).
Scope. The rebuttal added a 70B scale check, end-to-end decode latency, and code/math evaluations. Since then we completed the remaining metric at 70B, zero-shot (posted as a follow-up comment to Reviewer XJH7), and ran the same three-metric check on two more model families at larger scale, Qwen2.5-72B and Mixtral-8x7B (a mixture-of-experts model). The pattern from the 7–8B results holds in all three families, and the one-time calibration takes 18.3 s on four 48 GB GPUs.
PPL is the mean over Wikitext-2/PTB/C4, zero-shot the mean over ARC-C, HellaSwag, PIQA, Winogrande, and MMLU (mean ± SD over 3 seeds for our rows), and LongBench the five-task mean (25 samples per task). These tables will be added to the final version. Details in the response to Reviewer XJH7 (W1Q1, Q5, W3).
Calibration. Stability holds at the allocation level, not only in end metrics. We recomputed the full C1+C2 solution under five alternative calibrations on all three models and compared each against the paper's n = 32 WikiText-2 draw. Per-head budgets stay correlated at 0.984 or higher, bit-widths are 91–100 % identical, and every configuration lands in a narrow LongBench band with no collapse.
Transfer also works across domains in both directions. WikiText-calibrated models lose about half as much as the calibration-free baselines on GSM8K and HumanEval, and calibrating on Python source instead moves HumanEval pass@1 by at most 1.6 points. Details in the responses to Reviewer 32QV (W1Q1) and Reviewer XJH7 (W4Q2).
Together with the per-reviewer responses, we believe this addresses the three concerns named in the metareview. All new results and discussions above will be included in the final version.