- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes Adaptive Mass-Segmented KV Compression (AMS), a training-free wrapper for decoding-time KV cache compression in long form reasoning. The key idea of AMS is to decouple budget allocation from token scoring by deriving an attention based “quality mass” over cache positions, assigning retention quotas and applying an existing scorer within each segment. The paper evaluates AMS mainly on mathematical reasoning benchmarks (MATH500, AIME, GSM8K) with additional ablations and system-efficiency measurements. The main empirical claim is that region-wise allocation reduces “Region Wipe-out” and improves accuracy under tight KV budgets while remaining compatible with multiple base scorers.
Strengths and weaknesses
Strengths
- Well-motivated failure mode. The paper identifies a plausible and important weakness of token wise KV eviction in that contiguous reasoning spans can be removed under tight budgets, as illustrated in Figure 2.
- Simple modular design. AMS is practically appealing because Section 3 cleanly separates mass construction, adaptive segmentation, segment-wise quota allocation, in-segment top- selection, and EMA credit.
- Useful plug-in abstraction. The “allocate-then-score” approach is supported by Table 5, where AMS improves multiple base scorers, including TriAttention, KeyDiff, and R-KV on MATH500.
- Broad empirical coverage. The evaluation covers main math results, cross-backbone transfer, 32B scaling, generality beyond math, etc.
Weaknesses
- Notation. Section 3.2 introduces as recent-window attention usage, but I could not find a definition in the manuscript. Furthermore indexing notation in section 3.3 is confusing as the authors do not clearly distinguish between token positions, cache positions, original generation positions, and segment indices. E.g. what do and stand for.
- Limited benchmark coverage for ablations. Several key supporting evaluations are only reported on MATH500 (cross-backbone transfer in Table 3, 32B scaling in Table 4, and plug-in scorer gains in Table 5). Since MATH500 is less selective than AIME-style benchmarks and Table 1 shows slightly noisy AIME behavior, it would be more convincing to include at least one AIME24/25 ablation. It would also be interesting how long full rollouts for Math500 are and if a KV budget restriction of e.g. 1024 leads to a meaningful compression.
- Confusing efficiency comparison. Appendix G separates fixed budget latency/memory results in Table 20 from free-generation dynamics in Table 21, but the two tables use different metrics and different method sets. Table 20 compares AMS-Expected against several baselines, while Table 21 only compares TOVA and AMS-TOVA. This makes it difficult to disentangle per-step computational overhead from shorter generations due to reduced repetition. A clearer presentation would compare all methods in one table, or at least report both fixed-token latency and free-generation token count/time for the same set of methods.
Questions
- Can you give a fully explicit definition of the usage score used in Eq. 1 and clarify notation for and (Section 3.3)
- Can you clarify the math-reasoning decoding protocol, including the number of rollouts per problem? Appendix A.1 says the evaluation uses a single final answer per problem and a fixed random seed, but it does not explicitly state whether each problem is decoded once or whether multiple rollouts are sampled and aggregated.
- Can you report the distribution of full-KV rollout lengths on the math500 benchmark? Most ablations (Tables 3,4,5) use this benchmarks so it would be interesting which compression ratio the full rollout lengths and reported compression budgets equate to approximately.
- Can you include at least one key AMS ablation or plug-in/scaling result on AIME24/AIME25?
- Can you clarify the inference software stack used for timing and memory evaluations, and whether baselines were evaluated with a comparable setup?
Limitations
The authors discuss some limitations, including reliance on attention derived mass, the need for broader evaluation on more architectures, multiturn interactions, and production serving systems.
Paper formatting concerns
I did not notice any paper formatting concerns.
Final justification
The rebuttal resolves my main concerns by clarifying the notation and evaluation protocol, quantifying rollout lengths and compression, and providing AIME25 ablations and runtime profiling. Although the AIME evidence remains noisy due to the small benchmark and limited seeds, I now consider this a minor limitation relative to the method's clear motivation, modularity, and consistent gains. I therefore increase my score from 3 to 4.
W1–W2: We attempt to address these points in our responses to the Questions section.
W3: Thank you for pointing this out. Tables 20 and 21 were originally intended to address two different efficiency questions. Table 20 compares runtime and memory usage under matched KV budgets to characterize the system cost of the cache-compression methods themselves, whereas Table 21 evaluates end-to-end behavior under free generation, where total runtime is also affected by generation length and repetitive output. We acknowledge that presenting the results in this way may make the comparison appear insufficiently aligned along a common dimension.
To separate per-token computational overhead from changes in generation length, we additionally measured latency normalized by the number of generated tokens for TOVA and AMS-TOVA on the same 50 MATH500 samples. TOVA and AMS-TOVA achieve 25.28 and 25.23 ms/token, respectively, and are essentially identical. Although this metric is obtained from free-generation runs, normalizing by the actual number of generated tokens removes the effect of differences in output length. Therefore, the difference in total free-generation time reported in Table 21 primarily reflects differences in the number of generated tokens, rather than faster per-step execution by AMS. At the same time, the result shows that AMS does not introduce a noticeable per-token runtime overhead.
We also conducted a fixed-600-token, single-sample profiling sanity check to further decompose the periodic computational cost of AMS. A single TOVA recompression takes 110.5 ms, whereas AMS-TOVA takes 330.9 ms, corresponding to an incremental AMS cost of approximately 220.4 ms per recompression. Amortized over a 512-token recompression interval, this increment is approximately 0.43 ms/token. The physical KV-cache update itself takes less than 0.5 ms, with most of the cost arising from attention scoring, segmentation, and token selection.
Q1 Thank you for pointing out that the definition and notation were not sufficiently explicit.
Let T denote the current KV-cache length and W the number of decoding queries in the recent observation window. Let Aq,τ,i denote the cache-aligned attention weight from the τ-th query in this window, at query head q, to current cache position i, after the sequence alignment and causal-mask handling described in Appendix A.4. Let Q denote the set of query heads sharing the current KV head, and let PK denote one-dimensional average pooling with kernel size K along the cache-position dimension. The usage score in Eq. 1 is defined as
ui=∣Q∣1∑q∈Q[PK(W1∑τ=1WAq,τ,:)]i,i=1,…,T.
Thus, the implementation first averages attention over the most recent W queries, then applies local average pooling along the cache-position dimension, and finally averages the query heads belonging to the same GQA group. This produces a usage vector
u=(u1,…,uT)∈RT,
which is converted into the normalized quality mass in Eq. 1:
mi=∑v=1T(max(uv,0)+ϵ)max(ui,0)+ϵ.
For the notation in Section 3.3, all position variables are defined in the coordinate system of the current KV cache at the corresponding compression event. In
\qquad t=1,\ldots,T,$$ $t$ denotes a current cache position. For the cumulative-mass threshold $k\Delta$, $$b_k=\min\{t\mid c(t)\geq k\Delta\}$$ denotes the initial cut position associated with the $k$-th threshold. After applying the segment-length split-and-merge adjustments, the $i$-th final segment is denoted by $$[a_i,b_i).$$ Here, $i$ is a segment index, while $a_i$ and $b_i$ are respectively the left boundary and the exclusive right boundary of that segment in the current KV-cache coordinate system. Therefore, the segment contains $$\{t\mid a_i\leq t<b_i\},$$ and its length and quality mass are $$L_i=b_i-a_i, \qquad M_i=\sum_{t=a_i}^{b_i-1}m_t.$$ The symbol $q_i$ denotes the retention quota assigned to the $i$-th segment. Thus, $i$ in Eq. 1 indexes a cache position, whereas $i$ in $[a_i,b_i)$, $M_i$, $L_i$, and $q_i$ indexes a segment; we will state these local indexing conventions explicitly in the revision. Finally, $t$, $a_i$, and $b_i$ refer to current KV-cache positions rather than absolute generation positions. The retained indices are sorted before gathering the compressed K/V states, so their chronological order is preserved, although adjacent cache positions may correspond to non-consecutive original generation positions after earlier compression events. Q2 All main mathematical reasoning experiments in the paper use greedy decoding. Each problem is decoded only once, meaning that each problem produces only one rollout and one output sequence; at each decoding step, the model directly selects the token with the highest logit. We do not use stochastic sampling, self-consistency, or majority voting, nor do we aggregate results across multiple rollouts or multiple random seeds. Therefore, the reported pass@1 is the single-output exact-match accuracy of the unique greedy output for each problem. The fixed random seed mentioned in the original manuscript is used to ensure the reproducibility of the evaluation pipeline and dataset subset selection, and does not indicate that multiple samples were generated for each problem. We will explicitly add a clarification in Appendix A.1 that each problem uses one greedy rollout. In addition, as a supplementary robustness check, we also evaluated AMS-RKV and R-KV on AIME25 under stochastic decoding using matched random seeds 42–49. Across the eight matched seeds, AMS-RKV achieved 4 wins, 4 ties, and 0 losses relative to R-KV; when aggregated, the two methods produced 30 and 22 correct problem-seed outcomes, respectively, indicating that the advantage of AMS remains stable under stochastic decoding. Q3 We additionally analyzed the rollout length distribution under Full-KV and used it to estimate the approximate retention ratios and compression strengths corresponding to the different KV budgets reported in the paper. All statistics use the same model, tokenizer/chat template, and HuggingFace/KVPress evaluation pipeline as the compressed runs; MATH500 uses max_new_tokens=4096, while AIME25 uses max_new_tokens=32768. The Full-KV rollout length is defined as the sum of prompt tokens and generated tokens. On the 500 MATH500 samples, the mean Full-KV rollout length is 2517.5 tokens, with a standard deviation of 1231.6 and a median of 2162.5; the 25th and 75th percentiles are 1526.5 and 4098.3, respectively, and the minimum and maximum are 280 and 4801. Under this definition, budgets of 256, 512, and 1024 correspond to mean retained ratios of 14.3%, 27.7%, and 51.1% on MATH500, respectively, with corresponding mean removed ratios of 85.7%, 72.3%, and 48.9%, and mean compression factors of 9.83\$\times\$, 4.92\$\times\$, and 2.49\$\times\$. The corresponding median retained ratios are 11.8%, 23.7%, and 47.4%. Therefore, the 256, 512, and 1024 budgets used in the paper approximately represent high-compression, medium-to-high-compression, and relatively mild-compression settings, respectively. As a supplement, we also analyzed the Full-KV rollout distribution on AIME25. Across the 30 samples, the mean length is 22757.6 tokens and the median is 32850 tokens. Therefore, the same budget corresponds to substantially stronger compression on AIME25. For a budget of 512, the mean retained ratio is 6.09%, corresponding to a mean removed ratio of 93.91%. Q4 We conducted three key AMS ablations on AIME25 under the same setting, using a per-layer KV budget of 512 and sampling seeds 42 and 43. Each variant therefore contains 60 rollouts in total. Under these matched seeds, the complete AMS-TOVA method achieves 8/60 (13.33%). Replacing the per-KV-head allocation with a global head-shared allocation reduces the result to 2/60 (3.33%). Replacing adaptive mass-based segmentation with fixed segmentation yields 4/60 (6.67%), while removing the EMA credit mechanism yields 5/60 (8.33%). These matched comparisons show that all three components contribute to AMS, with the largest degradation occurring when per-KV-head adaptive allocation is removed. Q5 We will clarify the inference stack and baseline protocol in the revised manuscript. All timing and peak-memory measurements were run on Linux servers with NVIDIA A800 80GB GPUs, using the same HuggingFace/KVPress-based inference pipeline for AMS and all baselines. Specifically, the reported runs used PyTorch + CUDA 12.1, HuggingFace Transformers, Accelerate, and our KVPress-based decoding-time compression controller. The baselines were evaluated in a comparable setup rather than taken from heterogeneous sources. For each method, we used the same backbone model, dataset split, prompts, decoding settings, compression interval, and target per-layer KV budget. All shared evaluation settings were kept fixed; only the method-specific scoring, retention, and cache-update logic differed. In particular, gather-based baselines such as StreamingLLM, TOVA, KeyDiff, PyramidKV, and AMS variants physically compress the KV cache to the same target length, while AdaKV-ExpE2 is evaluated under the same effective KV budget but remains mask-based; we explicitly note this distinction because it affects peak memory. For memory, we report the maximum allocated GPU memory over the inference run. For timing, we report wall-clock decoding time per sample over the same benchmark pass and hardware. The reported timing includes each method’s scoring, selection, and cache-update overhead during generation. We will add this clarification near the efficiency table and in the runtime-environment appendix.