- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper introduces a continued pre-training recipe that helps model being more robust to gradient-based compression. The authors explore the concept of compressibility of Transformers from a theoretical viewpoint, and show that the same function can be approximated with both Transformers whose states are compressible (to one state) and Transformers whose states are not. They design a continued training procedure to help models being robust to compression. They then carry out experiments on small-scale language models, showing that their method successfully compounds with gradient-based compression, while accelerating convergence to compressed states.
Strengths and weaknesses
Overall, this paper has interesting contributions but generally lacks clarity, coherence, and I believe the results are not as strong as is claimed by the paper.
Strengths
This paper makes valuable contributions:
- Theoretical approach of compressibility: The proposed framing of compressibility and the theoretical arguments are promising and could help design better approaches for KV cache compression.
- Positive experiments: The fact that compression-aware training improves both compression speed and robustness to compression is a valuable finding.
Weaknesses
I have several concerns about this paper:
- Conceptual issue in theory: the paper considers compressibility as a state size reduction under output-space distance constraint. Although it seems relevant, the actual behavior of language models is not affected by closeness in output-space but by similarity in probability space. For instance, if compressing the KV cache affects the tail of logits significantly as measured by Euclidean distance, this will have very limited impact on the next-token distribution. As such, the proposed definition of compressibility is conservative: a compressible model by the paper's definition will be close in distribution space (provided a well-behaved LM head), but a model could be maintaining performance through compression and not respect the paper's definition.
- Some important details in the theoretical developments are not well handled / discussed: In Theorem 3.1, the proof relies on a result about the approximation of permutation-invariant functions. The authors note that "some functions require [intermediate dimension] to be " but never actually comment on this fact. However, this is a crucial detail in the understanding of the theorem: if the dimension of the Transformers that approximates the target function has to be in the order of magnitude of the sequence length to be maximally compressible, then the compressibility property should rely on more directly. The theorem is not false, but the potential dependency on should be made more clear. Moreover, the and arguments are presented rather informally. The proof of this theorem essentially relies on inflating to satisfy all the constraints, and the lack of clear mention of dimensions across the proof makes it hard to understand how this inflation operates. The paper should discuss whether this inflation makes sense compared to the compressibility objective; all-in-all, it is not clear whether maximal compressibility intrinsically relies on the simple fact that a KV cache can be stored in a tensor.
- Lack of training-free / gradient-free KV cache eviction heuristics: It would be insightful to report a strong heuristic baseline (e.g. SnapKV, KeyDiff, or Expected Attention) to validate that gradient-based approaches are stronger and to show whether combining with the presented approach also helps in these cases.
- The evaluation protocol is not always standard: Needle-in-the-haystack experiments are based on 100 sequences. This is not sufficient to establish statistically meaningful gaps between methods. In the NLU evaluations, the authors only use 1000 samples for each dataset, while some of these datasets are much larger (e.g. Hellaswag counts ~10000 samples). This choice seems arbitrary, and is not justifiable by lack of compute given the general scale of the experiments in the paper.
- Results raise doubts on the actual harmlessness of the method: The authors claim that the continued training method does not affect model performance. However, the continue training phase induces a noticeable drop in peformance in ARC-C and Hellaswag as reported in Table 1. At this scale, it would be more insightful to report validation / out-of-domain PPL at 100% cache retention to measure the effect of the continued training on performance.
Questions
- In equation 88, is not always 0 based on equation 87?
- L221, what do you mean by "When the KV-sparsification policy is learnable"?
- The routing system uses a straight-through estimator, which is inherently biased in the sense that there is a mismatch between the forward pass and the backward pass. This seems to be a case where Gumbel methods would be well-suited; did you consider using such approaches?
Typos
- l745-746: An equation seems to be missing.
- I also noted a few text typos in the proof (e.g. l704: construciton)
Limitations
Yes.
Paper formatting concerns
None
Final justification
This paper has a strong experimental contribution, but I find that my concerns regarding theoretical limitations were not properly addressed, which impedes me to recommend acceptance. Improving the theoretical section's soundness would lead to a strong contribution.
We thank the reviewer for their thoughtful comments and for noting that our analysis is “promising and could help design better approaches for KV cache compression.” We address their comments below.
Conceptual issue in theory (W1)
We thank the reviewer for this observation. We note that measuring approximation via Euclidean output distance is common in many prominent theory papers on transformers [1, 2, 3, 4]. That being said, we agree that from the perspective of LMs, measuring similarity in probability space is also relevant. Theorem 3.1 naturally extends to this setting by replacing the output-space distance in Eq. (5) with the KL divergence between the output probability distributions. This requires only minor modifications to the existing proof.
For Part 1, let (x,y) denote two output logit vectors. It holds that
DKL(softmax(x)∥softmax(y))≤∥x−y∥1≤c⋅∥x−y∥2.
Therefore, if a compressed transformer approximates the target transformer's output logits under the Euclidian metric, it also approximates its output probability distribution in KL divergence.
For Part 2, it suffices to construct a non-compressible solution under the KL metric. The current proof constructs a vector u0 (Eq. (103), p. 23) whose Euclidean distance from the convex hull of all outputs of the compressed transformer is sufficiently large. Instead, we choose u0 so that
DKL(p∥softmax(u0))>C.
for every probability vector p achieved by applying softmax to a point in the convex hull of all possible output logits of the target transformer. Such a choice always exists because the set of attainable probability vectors is the continuous image (under softmax) of a compact set, and is therefore itself compact.
We will include this discussion together with the corresponding formal proof in the revised manuscript.
Details in the theoretical development (W2)
We thank the reviewer for pointing this out and agree that this aspect will benefit from a clearer discussion. The O(N) hidden-dimension assumption does not stem from our compressibility argument, but from existing expressivity results for transformers on general sequence-to-vector functions. In particular, prior work [1,2,3] has shown that there exist natural functions that require linear or polynomial hidden dimension for approximation, independently of any compressibility considerations. Since Theorem 3.1 is stated for arbitrary sequence-to-vector functions, it necessarily inherits the assumptions required to represent such functions with transformers.
Importantly, this dependence is not fundamental to the existence of compressible implementations. We demonstrate this in our histogram example, where the target function (computing the histogram of a string over a finite alphabet) admits transformer implementations with a constant hidden dimension. For this same function, we explicitly construct both compressible and non-compressible transformer solutions. Thus, even when the target function can be approximated using a constant hidden dimension, maximal compressibility is not guaranteed, demonstrating that our analysis captures a phenomenon beyond the hidden dimension required for function representation. We will clarify this in the revised manuscript.
Lack of training-free / gradient-free KV cache eviction heuristics (W3):
We thank the reviewer for raising this point. To address it, we expanded our evaluation to include 5 additional gradient-free eviction methods mentioned by the reviewers: H2O [5], SnapKV [6], StreamingLLM [7], KVzip [8] (FcaG), and KeyDiff [9] (hZUu). Cells report Base/KV-CAT. We will add these results to Table 2 in the paper and present them below. Across all 90 method/model/budget/metric combinations, KV-CAT consistently improves compression performance, with Δ PPL reductions of up to 37.0% for the 0.5B model and 59.1% for the 1.5B model. These results demonstrate that KV-CAT generalizes to gradient-free methods.
0.5B
1.5B
The evaluation protocol is not always standard (W4)
We thank the reviewer for pointing this out. For the NIAH evaluations, we now expand the evaluation to 1,000 examples per retention ratio:
The expanded evaluation preserves the original conclusion and strengthens the overall result. We will add these results to the paper.
For the NLU evaluations, we agree that the 1,000-example cap was unnecessary and was due to a default setting in the evaluation harness. We reran the six NLU tasks reported in Table 1 on their complete official evaluation splits, with compression disabled:
On the complete splits, dense performance is effectively unchanged at 0.5B and decreases by only 0.16 percentage points at 1.5B, leading to the same conclusions as our original analysis.
Results raise doubts on the actual harmlessness of the method (W5):
We thank the reviewer for this suggestion. To get a cleaner measure, we evaluated perplexity at 100% cache retention on a 115K-token validation set:
As shown above, the dense model trained with KV-CAT has lower NLL than the base for both model sizes. In addition, we note that while performance decreases slightly on ARC-C and HellaSwag, it also improves on the other four benchmarks by comparable amounts, resulting in nearly identical average performance across all benchmarks.
Equation 88 (Q1)
This quantity is indeed always zero in the uncompressed setting. However, under KV compression it can become non-zero, as compatible compression methods may alter the model's predictions. Equation 88 is intended to quantify this discrepancy in the compressed setting.
L221 (Q2)
By "when the KV-sparsification policy is learnable," we mean that our framework also allows for non-learnable compression policies during training (e.g., random KV-slot dropping or attention-based filtering). In practice, however, we use our learned routing policies throughout the paper, as they consistently performed best empirically. We will clarify this wording. See Lines 194–205 and Appendix D.1 for additional details.
Using Gumbel methods (Q3):
We thank the reviewer for this interesting suggestion. We did not explore Gumbel-based routing, as the method already involves a large number of design choices and hyperparameters. However, we agree that it is a promising alternative to the straight-through estimator and an interesting direction for future work.
Typos (Q4)
We thank the reviewer for the careful reading and will correct the identified typos, including the missing equation and the spelling errors in the appendix.
We thank the reviewer again for their thoughtful feedback. We hope our responses address the main concerns, and if so, we would greatly appreciate reconsideration of the score.
[1] Depth-Width tradeoffs in Algorithmic Reasoning of Graph Tasks with Transformers. Yehudai et al.
[2] When can transformers count to n? Yehudai et al.
[3] Theoretical limitations of multi-layer Transformer. Chen et al.
[4] Representational strengths and limitations of transformers. Sanford et al.
[5] H$_2$O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models. Zhang et al.
[6] SnapKV: LLM Knows What You Are Looking for Before Generation. Li et al.
[7] Efficient Streaming Language Models with Attention Sinks. Xiao et al.
[8] KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction. Kim et al.
[9] KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environments. Park et al.