potentialpaper

Adaptive Mass-Segmented KV Compression for Long-Context Reasoning

Junzhe Yang, Xiaoyu Shen

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Long-context autoregressive reasoning in large language models is severely bottlenecked by key-value (KV) cache memory, making decoding-time compression essential. Existing methods typically rely on global or per-head token-wise selection. Under tight memory budgets and repeated compression events, however, these policies tend to over-focus on local attention spikes, causing Region Wipe-out: the severe depletion of contiguous spans of intermediate reasoning from the cache. This fragmentation disrupts reasoning, leading to Problem Drifting and Repetition Collapse. To address this, we propose Adaptive Mass-Segmented (AMS), a scorer-agnostic KV compression framework based on an "allocate-then-score" paradigm. By decoupling budget allocation from token scoring, AMS acts as a plug-in that shifts attention from a strictly micro-level retention metric to a macro-level spatial partitioning tool. Specifically, AMS derives an attention-based quality-mass distribution to partition each head's cache into adaptive segments, enforcing region-wise quotas with minimum-keep guarantees. Furthermore, an exponential moving average (EMA) credit mechanism makes this allocation history-aware, smoothing cache evolution across repeated recompressions. Experiments on MATH500, AIME24, AIME25, and GSM8K using 7B and 32B backbones show AMS improves pass@1 accuracy by up to 20.0 points over corresponding base scorers. AMS demonstrates generalization across diverse long-context workloads, including code completion, open-domain QA, and sparse retrieval. AMS seamlessly integrates with token-level scorers, consistently improves their performance, sometimes surpasses uncompressed full-KV decoding, and incurs negligible practical decoding-time overhead.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies decoding-time KV-cache compression for long-form reasoning. It proposes Adaptive Mass-Segmented compression, a training-free wrapper that uses recent attention mass to form adaptive temporal segments within each KV head, assigns a retention quota to each segment, and then applies an existing token scorer within each segment, an EMA signal is used to stabilize repeated compression. The main empirical claim is that this allocate-then-score design better preserves useful reasoning context under tight cache budgets and can improve several base scorers across models and task types.

The main strengths are the clear practical motivation, the simple modular design, and the broad evaluation. The proposed Region Wipe-out failure mode is plausible and gives a useful explanation for why global token-level selection may fail during long generations. The separation of allocation from scoring makes AMS easy to combine with existing methods, and the plug-in experiments support the view that the gains are not tied to one scorer. The paper also evaluates multiple cache budgets, model sizes, backbones, and tasks, and includes component ablations, context-retention diagnostics, and basic memory and latency measurements.

Weaknesses

  • The contribution appears narrower than the current framing. The main novelty is adaptive temporal segmentation and quota allocation within each KV head, while attention scoring, structured retention, adaptive budgeting, and temporal smoothing have substantial precedent.
  • Important evaluation details are missing or unclear, including the decoding strategy, number of rollouts, maximum generation length, full-KV rollout lengths, and effective compression ratios. The AIME results are also based on only 30 problems, and compressed decoding sometimes exceeds Full KV without sufficient analysis.
  • The proposed Region Wipe-out mechanism is plausible, and the appendix reports retention, repetition, and temporal-stability diagnostics, but the submission does not directly establish that contiguous deletion is responsible for the observed correctness gains.

Prioritized questions

  • Please give the complete decoding protocol for every main benchmark: greedy versus sampling, temperature if relevant, rollouts and seeds, max_new_tokens, full-KV output-length statistics, and the effective compression ratios. Please also provide suitable confidence intervals or clearly limit the interpretation of the AIME results.
  • Can the authors provide a direct quantitative connection between contiguous dropped spans and downstream failures, such as correctness, repetition, or output length? Existing logs may be sufficient; extensive new experiments are not required.
  • Please clarify the precise novelty relative to adaptive budgeting, chunk-based retention, and temporally smoothed eviction methods, and narrow the contribution claims where appropriate.
  • Please report fixed-token latency, free-generation length/time, and recompression overhead for a consistent set of methods, or otherwise narrow the efficiency and deployability claims. A full production vLLM integration is not expected during rebuttal.
  • Please define the attention usage score and indexing notation more explicitly, distinguish cache positions from original generation positions, and explain how GQA is handled.

Final meta-review update:

The response addresses most questions in initial meta-review. It clarifies the decoding and compression protocols, GQA handling, task-specific triggers, and measured overhead. The new event-matched analysis shows that AMS reduces contiguous region loss even after controlling for the number of compression events. The token-limit analysis also shows that avoiding the limit explains part, but not all, of the accuracy difference.

Reviewer Fvsf considered the main concerns resolved and raised the rating. Reviewer yMW2 did not provide a final reassessment. Reviewer 4vDR maintained a negative assessment. 4vDR again emphasized the sensitivity to the generation limit, limited AIME evidence, narrow novelty, missing HeadKV-R2 comparison, and lack of production serving integration.

These are valid limitations and should substantially narrow the claims. In particular, the paper should not claim production serving efficiency, and should clearly report the token-limit incidence and uncertainty of the AIME results. However, the controlled paired comparisons, broader plug-in results, and added diagnostic evidence still support the practical value of the proposed allocation framework.

Final justification

The main reasons are the simple modular design, consistent improvements across different scorers and settings, and the added evidence connecting regional deletion with generation failures. The rebuttal resolves most protocol and reproducibility questions. The novelty is narrow, some results are sensitive to the generation limit, and production serving efficiency is not established, but these limitations do not outweigh the controlled empirical evidence and practical utility.

Area Chair wymz · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper studies decoding-time KV-cache compression for long-form reasoning. It proposes Adaptive Mass-Segmented compression, a training-free wrapper that uses recent attention mass to form adaptive temporal segments within each KV head, assigns a retention quota to each segment, and then applies an existing token scorer within each segment, an EMA signal is used to stabilize repeated compression. The main empirical claim is that this allocate-then-score design better preserves useful reasoning context under tight cache budgets and can improve several base scorers across models and task types.

The main strengths are the clear practical motivation, the simple modular design, and the broad evaluation. The proposed Region Wipe-out failure mode is plausible and gives a useful explanation for why global token-level selection may fail during long generations. The separation of allocation from scoring makes AMS easy to combine with existing methods, and the plug-in experiments support the view that the gains are not tied to one scorer. The paper also evaluates multiple cache budgets, model sizes, backbones, and tasks, and includes component ablations, context-retention diagnostics, and basic memory and latency measurements.

Weaknesses

  • The contribution appears narrower than the current framing. The main novelty is adaptive temporal segmentation and quota allocation within each KV head, while attention scoring, structured retention, adaptive budgeting, and temporal smoothing have substantial precedent.
  • Important evaluation details are missing or unclear, including the decoding strategy, number of rollouts, maximum generation length, full-KV rollout lengths, and effective compression ratios. The AIME results are also based on only 30 problems, and compressed decoding sometimes exceeds Full KV without sufficient analysis.
  • The proposed Region Wipe-out mechanism is plausible, and the appendix reports retention, repetition, and temporal-stability diagnostics, but the submission does not directly establish that contiguous deletion is responsible for the observed correctness gains.

Prioritized questions

  • Please give the complete decoding protocol for every main benchmark: greedy versus sampling, temperature if relevant, rollouts and seeds, max_new_tokens, full-KV output-length statistics, and the effective compression ratios. Please also provide suitable confidence intervals or clearly limit the interpretation of the AIME results.
  • Can the authors provide a direct quantitative connection between contiguous dropped spans and downstream failures, such as correctness, repetition, or output length? Existing logs may be sufficient; extensive new experiments are not required.
  • Please clarify the precise novelty relative to adaptive budgeting, chunk-based retention, and temporally smoothed eviction methods, and narrow the contribution claims where appropriate.
  • Please report fixed-token latency, free-generation length/time, and recompression overhead for a consistent set of methods, or otherwise narrow the efficiency and deployability claims. A full production vLLM integration is not expected during rebuttal.
  • Please define the attention usage score and indexing notation more explicitly, distinguish cache positions from original generation positions, and explain how GQA is handled.

Final meta-review update:

The response addresses most questions in initial meta-review. It clarifies the decoding and compression protocols, GQA handling, task-specific triggers, and measured overhead. The new event-matched analysis shows that AMS reduces contiguous region loss even after controlling for the number of compression events. The token-limit analysis also shows that avoiding the limit explains part, but not all, of the accuracy difference.

Reviewer Fvsf considered the main concerns resolved and raised the rating. Reviewer yMW2 did not provide a final reassessment. Reviewer 4vDR maintained a negative assessment. 4vDR again emphasized the sensitivity to the generation limit, limited AIME evidence, narrow novelty, missing HeadKV-R2 comparison, and lack of production serving integration.

These are valid limitations and should substantially narrow the claims. In particular, the paper should not claim production serving efficiency, and should clearly report the token-limit incidence and uncertainty of the AIME results. However, the controlled paired comparisons, broader plug-in results, and added diagnostic evidence still support the practical value of the proposed allocation framework.

Final justification

The main reasons are the simple modular design, consistent improvements across different scorers and settings, and the added evidence connecting regional deletion with generation failures. The rebuttal resolves most protocol and reproducibility questions. The novelty is narrow, some results are sensitive to the generation limit, and production serving efficiency is not established, but these limitations do not outweigh the controlled empirical evidence and practical utility.

1 comment
Authors · CommentOpenReview ↗

Consolidated Response to the Area Chair’s Prioritized Questions

Dear Area Chair,

Thank you for summarizing the paper’s main strengths, limitations, and issues requiring prioritized clarification. Below, we provide a consolidated response to the five Prioritized Questions.

1. Decoding protocol, rollout lengths, compression ratios, and AIME

All main-table math experiments use deterministic greedy decoding: one argmax rollout per problem, with no sampling, self-consistency, majority voting, or rollout aggregation. The fixed seed is for reproducibility. MATH500/GSM8K use max_new_tokens=4096; AIME24/AIME25 use 32768 for all methods.

For MATH500, Full-KV rollout length is prompt plus generation length; mean/median are 2517.5/2162.5. Budgets 256/512/1024 give retained ratios 14.3%/27.7%/51.1% and compression factors 9.83/4.92/2.49. At target size 512, final-cache statistics give counterfactual Full-KV/final cache lengths of 2590.56/667.15, a 37.44% retained ratio, and a 4.35 compression factor.

For AIME25, mean/median Full-KV rollout lengths are 22757.6/32850. Budget 512 gives a 6.09% retained ratio; final-cache statistics give 15149.80/720.03 for counterfactual Full-KV/final cache length, corresponding to 8.48% retained, 91.52% removed, and a 23.79 compression factor. We will add AIME24 and GSM8K using the same definitions.

AIME24/AIME25 each contain 30 problems, so main-table results are point estimates under a unified deterministic protocol. The supplementary AIME25 stochastic check uses temperature=0.6, top_p=0.95, seeds 42–49, and one rollout per problem per seed, yielding 4 wins, 4 ties, and 0 losses. It is descriptive only.

2. Quantitative link between Region Wipe-out and downstream failures

Using complete compression traces, we define wipe-out severity from the longest cumulative dropped span, historical-token missing coverage, and empty temporal-window proportion. On MATH500 at target size 256, incorrect/correct severity is 0.472/0.188 for TOVA and 0.279/0.159 for AMS-TOVA. Across 62 paired cases where AMS-TOVA is correct and TOVA is incorrect, AMS-TOVA reduces severity by 0.301, 4-gram repetition by 0.242, and generation length by 1596 tokens. Even when both are incorrect, it reduces severity by 0.198 and repetition by 0.046. This links contiguous region loss to repetition, excessive length, and errors.

3. Precise novelty boundary

We will describe AMS as a scorer-agnostic, intra-head temporal-region allocation wrapper, not a new token-importance scorer. H2O/SnapKV improve token scoring; PyramidKV/AdaKV/HeadKV allocate across layers or heads; ChunkKV retains whole chunks; ReST-KV smooths token utility. AMS constructs variable-length cumulative-attention-mass segments after each KV-head budget is fixed, assigns regional quotas, and lets the original scorer select tokens within each region; EMA credit stabilizes repeated recompression. Thus, AMS decomposes global selection into region-level allocation and region-internal scoring. A ChunkKV segment is the final retention unit; an AMS segment is only a budget-allocation unit.

4. System overhead and claim scope

All measurements use an NVIDIA A800 80GB GPU and the same HuggingFace/KVPress pipeline, with matched model, data, prompt, decoding settings, compression interval, and KV budget. On 50 MATH500 samples, TOVA/AMS-TOVA have mean latencies of 25.28/25.23 ms/token. Under free generation, they average 2963.6 tokens/67.34 s and 2799.7 tokens/63.85 s; the total-time difference mainly reflects generation length.

In fixed 600-token profiling, recompression takes 110.5/330.9 ms, giving AMS an incremental 220.4 ms/event, or about 0.43 ms/token over a 512-token interval. The physical cache update is below 0.5 ms. With target size and interval both 512, AMS and its wrapped baseline have the same resident KV footprint; peak KV memory on MATH500/AIME25 is 54.30/56.00 MiB, versus 137.68/1244.56 MiB for Full KV.

5. Usage score, indexing, and GQA

Let cache length be LL, the recent window contain WW queries, and At,h,iA_{t,h,i} denote attention from query tt, head hh, to cache position ii. For KV head gg, let Hg\mathcal{H}_g be its shared query heads. The usage score averages over WW, pools over cache positions with kernel size bb, averages over Hg\mathcal{H}_g, and normalizes the result into that KV head’s quality-mass distribution.

Section 3.3 uses KV-cache coordinates: ii is a cache position, jj a segment index, [lj,rj)[l_j,r_j) its boundary, and qjq_j its quota. Retained indices are sorted before gathering K/V, preserving chronological order, though adjacent cache positions need not be consecutive original positions.

Under GQA, AMS aggregates recent-query attention per KV head, averages its shared query heads, and independently performs segmentation, allocation, and selection. Query heads mapped to the same KV head use the same retained K/V entries.

Reviewer FvsfOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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-kk 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 uiu_i 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 aia_i and bib_i 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 uiu_i used in Eq. 1 and clarify notation for aia_i and bib_i (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.

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.

Formatting concerns

I did not notice any paper formatting concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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 TT denote the current KV-cache length and WW the number of decoding queries in the recent observation window. Let A~q,τ,i\widetilde{A}_{q,\tau,i} denote the cache-aligned attention weight from the τ\tau-th query in this window, at query head qq, to current cache position ii, after the sequence alignment and causal-mask handling described in Appendix A.4. Let Q\mathcal{Q} denote the set of query heads sharing the current KV head, and let PK\mathcal{P}_{K} denote one-dimensional average pooling with kernel size KK along the cache-position dimension. The usage score in Eq. 1 is defined as

ui=1∣Q∣∑q∈Q[PK(1W∑τ=1WA~q,τ,:)]i,i=1,…,T.u_i=\frac{1}{|\mathcal{Q}|}\sum_{q\in\mathcal{Q}}\left[\mathcal{P}_{K}\left(\frac{1}{W}\sum_{\tau=1}^{W}\widetilde{A}_{q,\tau,:}\right)\right]_i,\qquad i=1,\ldots,T.

Thus, the implementation first averages attention over the most recent WW 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,\mathbf{u}=(u_1,\ldots,u_T)\in\mathbb{R}^{T},

which is converted into the normalized quality mass in Eq. 1:

mi=max⁡(ui,0)+ϵ∑v=1T(max⁡(uv,0)+ϵ).m_i=\frac{\max(u_i,0)+\epsilon}{\sum_{v=1}^{T}\left(\max(u_v,0)+\epsilon\right)}.

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

c(t)=∑u=1tmu,t=1,…,T,c(t)=\sum_{u=1}^{t}m_u, \qquad t=1,\ldots,T,

tt denotes a current cache position. For the cumulative-mass threshold kΔk\Delta,

bk=min⁡{t∣c(t)≥kΔ}b_k=\min\{t\mid c(t)\geq k\Delta\}

denotes the initial cut position associated with the kk-th threshold.

After applying the segment-length split-and-merge adjustments, the ii-th final segment is denoted by

[ai,bi).[a_i,b_i).

Here, ii is a segment index, while aia_i and bib_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∣ai≤t<bi},\{t\mid a_i\leq t<b_i\},

and its length and quality mass are

Li=bi−ai,Mi=∑t=aibi−1mt.L_i=b_i-a_i, \qquad M_i=\sum_{t=a_i}^{b_i-1}m_t.

The symbol qiq_i denotes the retention quota assigned to the ii-th segment. Thus, ii in Eq. 1 indexes a cache position, whereas ii in [ai,bi)[a_i,b_i), MiM_i, LiL_i, and qiq_i indexes a segment; we will state these local indexing conventions explicitly in the revision.

Finally, tt, aia_i, and bib_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.

Reviewer Fvsf · CommentOpenReview ↗

Thank you for the detailed response. The explicit definitions and indexing conventions resolve my notation concerns, while the decoding-protocol clarification and rollout-length statistics address my questions about evaluation and compression strength. The new AIME25 ablations provide the requested evidence beyond MATH500, although the small sample size should be acknowledged.

The additional profiling also clarifies that the free-generation speedup primarily results from shorter outputs, with a small amortized AMS overhead. Subject to incorporating these clarifications and results into the revision, my main concerns are addressed. I will increase my score accordingly.

Reviewer 4vDROpenReview ↗
Rating
2/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes adaptive Mass-Segmented (AMS), a training-free decoding-time KV-cache compression wrapper for long-form reasoning. Instead of selecting the globally top-scoring tokens, AMS first partitions each KV head into adaptive attention-mass segments, assigns each segment a quota, and then applies a base scorer (i.e., existing KV cache compression techniques such as TOVA or Expected Attention) to each segment. It uses EMA credit to steady repeated recompression.

Strengths and weaknesses

Strength: AMS can improve several existing scorers without changing the model or training a new predictor.

Weakness1: The novelty is incremental. AMS combines known ideas: attention/heavy-hitter scoring, per-head retention, structure-aware grouping, and temporal smoothing. H2O studied heavy hitters; SnapKV studied stable per-head attention patterns; PyramidKV and AdaKV studied adaptive budget allocation across layers/heads; HeadKV studied head-level allocation; ChunkKV studied semantic fragmentation caused by token-wise eviction; and ReST-KV studied spatial-temporal smoothing under repeated eviction. AMS’s main new contribution is narrower: it introduces attention-mass-based adaptive temporal segments within each KV head, assigns segment-wise quotas, and applies EMA smoothing to stabilize repeated recompression. This is useful, but it should be presented as an incremental allocation wrapper.

Weakness2: The vLLM prototype is not sufficient evidence of deployability. It only verifies functional equivalence of a compacted AMS layout, but it does not integrate with the real performance-critical parts of vLLM: scheduler, block-table manager, KV allocator, continuous batching, prefix caching, CUDA graphs, or paged-attention GPU kernels. AMS performs within-head temporal segmentation and per-head token gathering, which creates irregular head-wise layouts. This granularity is poorly aligned with vLLM’s block-based paged KV abstraction. Therefore, Full-KV vLLM may still outperform AMS in real serving because Full-KV uses mature fused kernels and regular block tables, while AMS may introduce extra gather/copy kernels, irregular memory access, block-table updates, synchronization overhead, and reduced batching efficiency. The paper’s prototype only shows that AMS can be mapped into a compact layout, not that it is efficient in a production vLLM serving engine. That is not something that can be addressed in a short rebuttal time.

Questions

1- Please address the weak points, if possible.

2-The authors should clearly state whether the generation uses greedy decoding or sampling. If sampling is used, they must report temperature, number of samples per problem, and number of random seeds. If greedy decoding is used, then pass@1 is deterministic single-output accuracy, and the AIME results should not be interpreted as statistically robust. The AIME24/AIME25 results are statistically fragile because each 3.33-point change corresponds to only one problem out of 30. The paper should report confidence intervals, multiple decoding seeds, or repeated sampling-based pass@1 estimates.

3- What is the exact maximum generation length for MATH500, AIME24, AIME25, and GSM8K? What does the paper set for max-new-token? The paper states that maximum generation length is fixed across methods, but the actual values for each dataset are not reported. I dont think that is good practice. Other papers set different values depending on the benchmark complexity. Based on Table 6, AMS for NIAH remains far below Full KV, so why is that the case?

4- What is the true compression ratio relative to Full KV at the end of generation?

5-How is GQA handled when several query heads map to one KV head?

Limitations

The paper has a limitations section, but it seems that, by itself, it is very limited. They need to discuss the details of the challenges to make the work more practical and its integration into real inference engines.

Final justification

I would like to thank the authors for their rebuttal and engagement throughout the discussion. Some of the concerns were resolved, but a major one still exists after subsequent back-and-forth. Given the concerns I raised, I will maintain my reject score. I think the paper still needs a good amount of work to be publishable. I hope my comments will be helpful in further improving the quality of the paper.

Formatting concerns

No major issues. I think the impact statement at the end of the conclusion is required for an ICML submission and not a NeurIPS one.

32 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1.W1. Contribution and distinction. Thank you for pointing out these related lines of work. While these ingredients have precedents, AMS differs in both its compression formulation and its allocation of retention budgets across adaptive temporal regions within each KV head. AMS is not another token-importance scorer. Its key design is to decompose conventional global token selection into two functionally distinct stages:

{Si,qi}=Allocator⁡(m,Tkeep),I=⋃iTopK⁡ ⁣(g∣Si,qi).\{S_i, q_i\}=\operatorname{Allocator}(m, T_{\mathrm{keep}}),\qquad I=\bigcup_i\operatorname{TopK}\!\left(g|_{S_i}, q_i\right).

Here, the allocator determines how the limited retention budget is distributed across temporal regions, while the scorer determines which tokens should be retained within each region. Conventional global Top-k implicitly conflates these two decisions: locally high-scoring tokens may consume most of the budget, without any guarantee that other contiguous historical regions remain represented. AMS instead first constrains the regional distribution of the budget through adaptive temporal segmentation and explicit segment-wise quotas, and only then performs token scoring within each segment. Our response to Reviewer yMW2, Question 1 further analyzes the relationship between region wipe-out and model performance, which may provide additional insight into the underlying mechanism.

The key distinction is the allocation dimension: AMS distributes a preassigned budget across contiguous temporal regions within each KV head. H2O and SnapKV improve token-level scoring; PyramidKV, AdaKV, and HeadKV allocate capacity across layers or heads; ChunkKV retains chunks as all-or-nothing units; and ReST-KV smooths token utility. AMS instead constructs variable-length cumulative-attention-mass segments, assigns regional quotas, and uses historical credit to stabilize segmentation and allocation without changing the wrapped scorer. AMS improves TriAttention, KeyDiff, and R-KV by up to 6.4, 20.0, and 8.4 percentage points, respectively. More directly, with TOVA fixed, replacing AMS’s segment-wise allocation with global per-head Top-k lowers MATH500 pass@1 from 48.4% to 42.8% at Tkeep=512T_{\mathrm{keep}}=512, isolating the allocator’s contribution.

W2. vLLM feasibility and scope. Our implementation validates AMS-specific policy-to-layout feasibility—not merely compact-tensor execution—rather than end-to-end production efficiency. AMS allows different KV heads to retain different historical positions, whereas a standard paged-KV block table uses logical token slots shared across KV heads. It constructs per-head source/destination slot mappings and verifies that attention over the compact layout is functionally equivalent to attention over dense KV tensors gathered according to the AMS keep indices. It also separates the compact physical cache length from the autoregressive logical position to preserve correct positional handling after recompression.

The irregularity introduced by per-head selection does not persist at every decoding step. Selected K/V entries are copied into unified compact destination slots only at periodic recompression events. After compaction, the per-head differences are encoded in the KV contents, allowing subsequent decoding to use an ordinary compact block table and the standard attention read path without an additional per-head indirection table. The main additional costs are therefore concentrated in periodic selection, compaction copy, and block-table replacement, rather than in every subsequent attention operation.

A complete vLLM integration path is detailed in Appendix D: at each recompression event, the runtime obtains the per-head keep indices, allocates compact replacement blocks, performs a layout-aware GPU copy, updates the request’s block table, releases the old blocks, and separately maintains logical and physical positions. Integrating this compaction primitive with the production scheduler, allocator, continuous batching, prefix caching, CUDA Graphs, and optimized GPU kernels requires additional runtime engineering. Accordingly, the current results establish paged-KV feasibility rather than end-to-end production efficiency.

2.Decoding protocol. Decoding protocol for the main experiments in the paper. All mathematical reasoning experiments in the main tables use greedy decoding. Each problem produces one argmax rollout and one output; the main experiments use no stochastic sampling, self-consistency, majority voting, or aggregation across multiple rollouts or seeds. Therefore, temperature, top-p, and top-k are not applicable. The reported pass@1 is the exact-match accuracy of the unique greedy output. The fixed seed ensures evaluation-pipeline and dataset-subset reproducibility, not token sampling. We will add this information to Appendix A.1.

AIME robustness. Finite-sample uncertainty of the AIME results. AIME24 and AIME25 each contain only 30 problems, so one changed answer shifts accuracy by 3.33 percentage points. We therefore conducted an independent stochastic-decoding robustness check on AIME25. AMS-RKV and R-KV use the same model, prompt, KV-cache budget, compression interval, maximum generation length, and sampling configuration, with matched seeds 42–49 and one sampled rollout per problem per seed. Across these seeds, paired AMS-RKV/R-KV pass@1 values (%) are 20.0/3.3, 10.0/6.7, 13.3/10.0, 6.7/6.7, 16.7/16.7, 10.0/6.7, 10.0/10.0, and 13.3/13.3.

AMS-RKV produces 30 correct answers versus 22 for R-KV, corresponding to cumulative accuracies of 12.5% and 9.17%. This gives 4 wins, 4 ties, and 0 losses across the matched seeds, showing that the gain is not driven by a single favorable random run.

3.Generation limits. Specifically, max_new_tokens is set to 4,096 for both MATH500 and GSM8K, and to 32,768 for both AIME24 and AIME25. The statement in the paper that “the maximum generation length is kept fixed across methods” means that Full KV, the compression baselines, and AMS use the same generation limit on the same dataset, rather than that all datasets share the same generation limit. A larger limit is used for AIME to prevent longer competition-level mathematical reasoning processes from being prematurely truncated.

NIAH gap. NIAH gap.**Regarding the NIAH gap, exact retrieval requires preserving a short, isolated piece of critical information with little substitutable redundancy; once the corresponding KV states are evicted, the information generally cannot be recovered from other retained states. As discussed in our response to Reviewer yMW2, Question 2, selective compression may match or outperform Full KV on mathematical reasoning, whereas NIAH depends on this sparse exact-retrieval requirement.

AMS maintains historical coverage through segment-level quotas, reducing the risk that an important region is entirely removed. However, this does not guarantee retention of every critical token because final selection still depends on the underlying scorer; AMS may retain the needle’s region while removing the decisive tokens. In Table 6, AMS-TOVA improves TOVA from 0.1894 to 0.2384, demonstrating that structural coverage improves retrieval under compression, but remains below Full KV at 0.3751. We will clarify that preserving exact sparse information is a current limitation of AMS.

4.End-of-generation compression. After the final recompression, newly generated tokens continue to be appended to the cache until either the next recompression event or the end of generation.

For each sample ii, we define the counterfactual Full-KV length as the sum of the prompt tokens and generated tokens, i.e., the number of KV entries that Full KV would retain for the same generated sequence. Let CiendC_i^{\mathrm{end}} denote the actual cache length at the end of generation. We compute the final retained ratio, removed ratio, and compression factor for each sample.

On the full 500-sample MATH500 evaluation with a target size of 512, the average counterfactual Full-KV length is 2,590.56 tokens, while the final cache contains 667.15 tokens on average. Averaged across samples, this corresponds to a retained ratio of 37.44%, a removed ratio of 62.56%, and an average compression factor of 4.35$\times$.

On AIME25, where the generated sequences are substantially longer, the average Full-KV length is 15,149.80 tokens, while the final cache contains 720.03 tokens on average. The corresponding per-sample averages are a retained ratio of 8.48%, a removed ratio of 91.52%, and a compression factor of 23.79$\times$.

5.GQA handling. Under GQA, AMS operates at the KV-head granularity. Let G=Hq/HkvG = H_q / H_{kv} denote the number of query heads sharing one KV head. For the attention-derived mass, we first average over the recent query window and then aggregate the GG query heads associated with each KV head, producing one score vector of shape [B,Hkv,T][B, H_{kv}, T]. AMS subsequently performs segmentation, quota allocation, and token selection independently for each KV head, yielding keep indices of shape [B,Hkv,Tkeep][B, H_{kv}, T_{\mathrm{keep}}]. All query heads mapped to the same KV head therefore use the same retained K/V entries, which is consistent with the original GQA sharing structure. We use mean aggregation across the associated query heads; since the group size is constant and the resulting score is normalized into a per-KV-head mass distribution, mean and sum aggregation are equivalent up to a constant scale. We will clarify this aggregation and tensor layout in the implementation details.

Reviewer 4vDR · CommentOpenReview ↗

Thank you for the rebuttal. It helped me understand the paper better, but it raises more concerns as well.

  1. AMS is an allocation wrapper over existing ideas: attention scoring, structure-aware retention, adaptive budgeting, temporal smoothing. Table 7 shows what the new part is worth. At T=512, removing the segment structure costs 5.6 points; making segments fixed-length instead of adaptive costs 0.4. So 93% of the gain comes from simply having contiguous segments with quotas. That is ChunkKV, a baseline the paper calls too rigid. The mass-adaptive part, the claimed contribution, is worth 0.4 points; EMA credit 0.4. At T=1024 the ordering flips: adaptive segmentation costs 3.0 to remove, mass-weighted quotas 0.6. Components that swap importance between budgets are not mechanisms. No significance test is given; 48.4 vs 42.8 on 500 problems gives p≈0.075, the largest gap in the table. The "+20.0 over KeyDiff" headline is one cell where KeyDiff scores 22.8%, below StreamingLLM's 28.0%. The baseline set also avoids the strongest relevant work (e.g., HeadKV-R2 is the closest head-level allocation method)

2-The rebuttal says greedy decoding and max_new_tokens = 4096 on MATH500. Full KV then sits far below published accuracy for the same checkpoints (DeepSeek-R1 paper in Table 15): MATH500, 7B, 52.80 vs 92.8, MATH500, 32B, 47.80 vs 94.3, AIME24, 7B, 33.33 vs 55.5. A 40-point gap means the reference is not the model the paper claims to study. DeepSeek averages 64 sampled runs, worth a few points, not forty. The disclosed choices explain it: the model card sets temperature to 0.5-0.7 "to prevent endless repetitions or incoherent outputs" and benchmarks at 32,768 tokens, not 4,096. The core story is repetition collapse, produced with the exact setting the model's authors warn causes it, so repetition here is not evidence about KV compression. And if outputs hit the token limit, any method that finishes sooner gains accuracy for reasons unrelated to context; Table 21 shows AMS generating fewer tokens than TOVA. Deleting part of the cache should not beat keeping all of it; when it does, the usual cause is the setup, not the method.

  1. As the authors mentioned, on AIME25 one answer is worth 3.33 points. The new check tests a setting that appears nowhere in the paper. It compares AMS-RKV against R-KV under sampling, while every table in the paper reports AMS-TOVA and AMS-Expected under greedy decoding. Temperature and top-p are not given.

Converting the reported percentages back into numbers of correct answers show over all eight seeds AMS is ahead by 8 answers. Seed 42 alone produces 5 of those 8. The other seven seeds together produce only 3. So most of the reported advantage comes from a single run in which the baseline did unusually badly, solving 1 problem out of 30. Drop that seed and AMS is 24/210 = 11.4%, R-KV is 21/210 = 10.0%. The gap falls from 3.3 points to 1.4.

The difference is also not significant. Pooling all 240 trials per method, which ignores that all seeds share the same 30 problems and therefore flatters the result, gives 12.5% vs 9.17%, p = 0.24. The seed-level sign test, with 4 ties out of 8 pairs, gives p = 0.125. "4 wins, 4 ties, 0 losses" describes more like noise, I think.

  1. The prototype is confirmed not a production backend, so this is layout feasibility, not serving efficiency, and even a successful vLLM integration would not guarantee a speedup. All speed and memory numbers come from a single-request HuggingFace loop. Table 21 gives TOVA 67.34s / 2963.6 tokens = 22.7 ms per token and AMS-TOVA 63.85s / 2799.7 = 22.8 ms, so AMS is slower per token and the whole 5% wall-clock win is 5% fewer tokens, the same confound as point 2. Appendix D's per-event costs are called cheap with no number for any. Per-head block contents also make blocks unshareable, giving up prefix reuse.

  2. Table 6 does not match the documented protocol. Appendix A.2 and Table 10 state that compression is decode-only and fires every 512 generated tokens. NIAH, TriviaQA, LongBench, and RepoBench-P produce short outputs, so under that protocol compression would never fire and every method would match Full KV. Yet Table 6 shows NIAH ranging from 0.0866 to 0.3751, while AMS-TOVA on LongBench is 19.30, exactly Full KV's 19.30. Both cannot be true under one protocol, and whatever was actually run is not described anywhere.

Authors · CommentOpenReview ↗

Response to Reviewer 4vDR — Part 1/7

We thank the reviewer for the further comments. We believe that several conclusions conflate nested ablations with additive contribution decomposition, regional budget allocation with whole-block retention, paired evaluation with independent-proportion testing, and absolute accuracy under different decoding protocols. All Full KV, compressed baseline, and AMS results in this paper were rerun within the same HuggingFace/KVPress inference framework rather than collected from heterogeneous sources. For all methods within the same experiment, we fixed the model weights, tokenizer/chat template, data split, prompt, decoding strategy, generation limit, compression interval, KV budget, answer extraction procedure, and evaluator; the only differences between methods were their corresponding scoring, allocation, retention, and cache-update policies. Therefore, the comparisons in this paper are controlled paired comparisons under a unified execution stack.

1. Method Contributions, Table 7, ChunkKV, Statistical Significance, and Baselines

The reviewer adds the 5.6-point and 0.4-point drops at T=512T=512 and normalizes them into “93%/7%,” but the two variants in Table 7 are not independent, additive component ablations. The variant that removes segmentation does not merely remove the adaptive boundary. Instead, it replaces the entire region-wise allocate-then-score mechanism with global head-only Top-k, thereby simultaneously removing temporal partitioning, segment-wise quotas, regional coverage constraints, and the two-stage structure of region-internal token selection. By contrast, the fixed-segmentation variant retains segments, regional quotas, allocate-then-score, and the wrapped scorer within each segment, while replacing only the adaptive boundaries based on cumulative attention mass with fixed boundaries. Therefore, the 0.4-point difference represents only the conditional marginal effect of adaptive boundaries relative to fixed boundaries when the complete regional allocation mechanism remains in place; it does not represent the entire novel contribution of AMS. Likewise, the 5.6-point difference cannot be attributed entirely to any single existing component. Normalizing these two nested interventions into “93%” has no corresponding experimental-design basis. The core contribution of AMS is to decompose conventional global token selection into two distinct decisions: the allocator determines how the limited budget is distributed across temporal regions, while the scorer determines which tokens are retained within each region.

Directly equating this design with ChunkKV also conflates the allocation unit with the retention unit. ChunkKV treats each chunk as an all-or-nothing unit that is either retained or removed. In AMS, a segment only receives a budget, after which scorers such as TOVA, TriAttention, KeyDiff, and R-KV still select individual tokens within that segment. A segment containing 200 tokens may receive a quota of only 30 tokens and is not retained in its entirety. Therefore, ChunkKV performs chunk-level all-or-nothing retention, whereas AMS performs segment-level allocation followed by token-level scoring. The fact that both methods use contiguous structure does not imply that their decision rules are the same. Our previous rebuttal already distinguished these axes: H2O/SnapKV improve token scoring; PyramidKV/AdaKV/HeadKV allocate budgets across layers or heads; ChunkKV retains entire chunks; and AMS allocates budgets across temporal regions within each KV head.

Reviewer yMW2OpenReview ↗
Rating
4/6
Confidence
3/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

This work addresses the central challenge of decoding-time KV cache compression for long-form reasoning. The paper proposes Adaptive Mass-Segmented (AMS) KV compression, which first partitions each head’s cache into attention-mass-based temporal segments, allocates segment-wise quotas, and then applies an existing token scorer within each segment. The method is training-free and scorer-agnostic, and the experiments show improvements over several KV compression baselines across math reasoning and other long-context tasks.

Strengths and weaknesses

The paper is well-motivated and addresses an important problem for efficient long-context inference. The key idea of separating budget allocation from token scoring is simple, practical, and easy to plug into existing KV compression methods. The experiments are fairly broad, covering multiple cache budgets, backbones, model scales, and task types. The plug-in results are especially useful in supporting the claim that AMS is a general allocation layer rather than a method tied to a single scorer.

The main weakness is that the mechanistic motivation could be supported more systematically. The paper's claims about region wipe-out and reasoning failure modes are plausible, but the current evidence relies heavily on final accuracy and qualitative examples. A quantitative diagnostic connecting contiguous token deletion patterns to downstream failures would make the central argument stronger. Another concern is that some empirical results are difficult to interpret: compressed decoding sometimes matches or exceeds full-KV decoding, and the small AIME benchmarks are likely high-variance. The paper would also benefit from a more prominent summary of actual system-level costs, such as latency, memory, and recompression overhead.

Questions
  • Can the authors provide a quantitative region wipe-out diagnostic, such as dropped-span statistics and their correlation with answer correctness or repetition?
  • Can the authors clarify why compressed decoding sometimes matches or outperforms full-KV decoding?
  • For small benchmarks such as AIME24/AIME25, can the authors report variance, confidence intervals, or results over multiple seeds when applicable?
  • Can the authors summarize the key system overheads in the main text, especially latency, peak KV memory, and recompression cost?
Limitations

yes

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

1. Region wipe-out. Thank you for the reviewer’s suggestion. We agree that quantitatively analyzing region wipe-out is very important for understanding the potential failure mode of token-level KV eviction. To this end, we added a dropped-region diagnostic based on the complete trace of each compression event, measuring the longest cumulative dropped span, the missing coverage of historical tokens, and the proportion of empty temporal windows, and using these statistics to quantify the severity of region wipe-out. We further analyzed the relationship between this metric and answer correctness, 4-gram repetition rate, and generation length.

We mainly report the full experimental results on MATH500 with a target size of 256, because this setting has the largest sample size and also represents the highest compression pressure, under which region wipe-out is most likely to occur. Across the 1,000 generations produced by TOVA and AMS-TOVA, wipe-out severity exhibits a strong positive correlation with the 4-gram repetition rate, with a pooled Spearman correlation coefficient of ρ=0.700\rho = 0.700. This relationship is not caused solely by the overall difference between the two methods. Within each method, the correlation coefficient is ρ=0.712\rho = 0.712 for TOVA (p=1.63×10−78p = 1.63 \times 10^{-78}) and ρ=0.666\rho = 0.666 for AMS-TOVA (p=1.83×10−65p = 1.83 \times 10^{-65}). This indicates that, even within the same method, more severe region loss is generally accompanied by a higher degree of repetitive generation. Wipe-out severity also shows a strong positive correlation with generation length, with a pooled Spearman correlation coefficient of ρ=0.898\rho = 0.898, which is consistent with the observation that severe wipe-out is often accompanied by degenerate generation characterized by repetition, excessive length, or difficulty terminating normally. Because generation length and the number of compression events may themselves be correlated, we regard this result as supporting evidence rather than an independent causal demonstration.

This diagnostic metric can also distinguish correct from incorrect answers. For TOVA, the mean wipe-out severity is 0.472 for incorrect answers and 0.188 for correct answers; for AMS-TOVA, the corresponding values are 0.279 and 0.159, respectively. In other words, under both methods, incorrect answers exhibit more severe loss of contiguous historical regions. This result indicates a stable association between large-scale region wipe-out and answer errors as well as repetitive degenerate generation.

The paired comparison further supports our hypothesis regarding the role of adaptive segmentation. Among the 62 MATH500 examples for which AMS-TOVA produces a correct answer while TOVA produces an incorrect answer, AMS-TOVA reduces wipe-out severity by 0.301 on average, reduces the 4-gram repetition rate by 0.242, and shortens the generation length by 1,596 tokens relative to TOVA. Here, all differences are calculated as “TOVA minus AMS-TOVA.” Even among examples for which both methods produce incorrect answers, AMS-TOVA still reduces wipe-out severity by 0.198 on average and reduces the repetition rate by 0.046. This indicates that the benefits of AMS are not limited to final-answer accuracy: its segment-level quota mechanism can also reduce the removal of large contiguous historical regions under aggressive compression and improve generation stability.

More cautiously stated, these results are consistent with our hypothesis and support the following explanation: if token-level eviction continuously removes a large number of KV states at adjacent positions, it may cause an entire critical reasoning region to be lost, which is in turn associated with repetitive generation, excessively long generation, and answer errors; AMS reduces the severity of such wipe-out through adaptive segmentation and region-level quotas. Therefore, these quantitative results provide empirical support for the region wipe-out failure mode proposed in the paper and also indicate that avoiding the loss of large contiguous regions helps stabilize model generation under a limited KV budget.

2. Full-KV explanation. Full-KV decoding is commonly used as the standard uncompressed reference execution of the original model, but it is not a theoretical upper bound on downstream task accuracy. Prior studies have observed that selective KV eviction can substantially reduce the cache size while still matching, and in some settings even outperforming, Full-KV inference (Bui et al., 2026; Yu and Chai, 2025). Make Each Token Count reports matching or surpassing full-cache inference across several long-context settings, while EvolKV reports performance above Full-KV on code completion under a compressed cache budget.

One possible explanation is that the KV cache of a long reasoning trajectory contains not only evidence that remains useful for subsequent reasoning, but also repeated derivations, outdated intermediate states, and reasoning branches that are later revised or rejected by the model. Retaining every state does not imply that the model can use all of them equally effectively. Low-utility states continue to participate in subsequent attention computation and may compete with genuinely relevant evidence for attention. Consequently, when a compression method removes low-utility, redundant, or obsolete states while preserving critical reasoning evidence, it may produce an attention-concentration or denoising effect. Once distracting states are removed, attention is renormalized over the remaining KV states, potentially increasing the relative influence of relevant evidence and reducing the likelihood that the model revisits an abandoned reasoning branch. This explanation is consistent with the recent concurrent work Make Each Token Count, which analyzes the phenomenon through the lens of attention dilution: a large number of irrelevant cached tokens can collectively dilute the attention assigned to useful evidence, whereas selective KV eviction can mitigate this effect and, in some long-context tasks, match or surpass full-cache inference (Bui et al., 2026). Related evidence is also provided by Think Clearly, which shows that structure-aware removal of redundant content from long reasoning trajectories can improve accuracy on challenging reasoning tasks (Choi et al., 2025). Taken together, these observations suggest that selective compression may, for some examples, enable a more effective reasoning trajectory by reducing redundant or distracting states. AMS is designed to retain this potential benefit of selective compression while preserving evidence across important reasoning regions and reducing the risk that an entire critical historical region is removed.

References: Bui et al., 2026, Make Each Token Count; Choi et al., 2025, Think Clearly; Yu and Chai, 2025, EvolKV.

3. AIME seeds. To address the small scale of AIME24/AIME25, we add further analysis in the revision. The main results in the paper use greedy decoding, with each problem producing only one deterministic output, so there is no cross-seed variance caused by token sampling. Therefore, we additionally conducted a multi-seed experiment under stochastic decoding on AIME25. AMS-RKV and R-KV use exactly the same model, prompt, KV-cache budget, compression interval, maximum generation length, and sampling configuration, and are run with matched random seeds 42–49. Under each seed, each method generates one sampled rollout for each problem.

Across these eight matched seeds, the pass@1 values of AMS-RKV are 20.0%, 10.0%, 13.3%, 6.7%, 16.7%, 10.0%, 10.0%, and 13.3%, respectively; the corresponding values for R-KV are 3.3%, 6.7%, 10.0%, 6.7%, 16.7%, 6.7%, 10.0%, and 13.3%. Aggregating the correct results across the eight runs, AMS-RKV obtains 30 correct problem-seed outcomes, while R-KV obtains 22, corresponding to cumulative accuracies of 12.5% and 9.17%, respectively. Therefore, AMS-RKV yields 8 additional correct outcomes, corresponding to an absolute improvement of 3.33 percentage points. The advantage of AMS-RKV is not caused by a single favorable random run, but remains stable across multiple independent sampling seeds.

4. System overheads. We will consolidate the key system overheads of AMS in the efficiency analysis of the main text, including per-token latency, KV-cache usage, and recompression cost, while clearly distinguishing measured quantities from the KV-cache footprint calculated from the model configuration.

On an NVIDIA A800 GPU, we conducted a free-generation latency analysis on 50 MATH500 samples using DeepSeek-R1-Distill-Qwen-7B. The token-normalized generation latencies of AMS-TOVA and TOVA are 25.23 and 25.28 ms/token, respectively, and are therefore essentially identical. Because this metric is normalized by the number of generated tokens, it removes differences in output length and more directly reflects the runtime overhead of the methods themselves.

For peak KV memory, under target_size=512 and compression_interval=512, AMS and the wrapped baseline have the same resident KV-cache footprint: the mean peak is 54.30 MiB on MATH500 and 56.00 MiB on AIME25, compared with 137.68 MiB and 1,244.56 MiB for Full KV, corresponding to 2.49$\times$ and 22.22$\times$ reductions, respectively.

We also conducted a fixed-600-token, single-sample profiling sanity check of the recompression operation. A single TOVA recompression takes 110.5 ms, whereas AMS-TOVA takes 330.9 ms, giving 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.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…