potentialpaper

Task-Aware KV Cache Compression for LLM Agents via Utility-Driven Step Pruning

Yusen Wu, Yefan Wang, Jia Yee Tan, Rongfeng Guo, Shuang Chen, Jing Yangum, Por Lip Yee, Yongtai Liu, Guangyuan Dong

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.

TL;DR. TaskKV compresses LLM-agent KV caches by retaining semantic steps with high action utility rather than high attention mass.

Abstract. KV-cache compression for long-horizon LLM agents is often guided by accumulated attention, yet attention frequency can retain repetitive error traces while discarding decisive instructions. We propose TaskKV, a streaming step-level retention policy with three contributions: (1) a signed directional utility label from the first-order change in action likelihood, distinguishing helpful steps from confusing distractors unlike unsigned saliency; (2) a structured residual scorer that treats attention mass and intent alignment as fixed priors and learns only a denoising correction, converging with 500 trajectories; and (3) an entropy-based regime classifier that falls back to contiguous retention when the scorer cannot confidently rank steps. With a 20% KV budget on AgentBench and AlfWorld, TaskKV preserves $\sim$87--89% of full-cache success rate, improving over SnapKV by 5.0--7.9 SR points and over a strong heuristic by 2.9--7.3 points; on dense tasks, gains come from detecting when utility pruning should be disabled. Code is available at https://github.com/Sanmu-27/taskkv.

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
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

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

This paper proposes TaskKV, a step-level KV-cache compression method for long-horizon LLM agents. It uses signed utility labels, a residual scorer built on attention and intent-alignment priors, and an entropy-based fallback for dense contexts.

The reviewers appreciated the clear motivation, strong component ablations, fair equal-budget comparisons, and detailed efficiency and failure-mode analysis (R6hQ, zMCP, fWx9).

The paper is currently heading toward acceptance. The main empirical claim is well scoped to sparse, step-structured agent trajectories, and the results show consistent improvements over both standard KV-compression baselines and a strong task-aware heuristic. The signed utility label and the comparison against unsigned saliency provide useful evidence that the gains are not explained only by semantic retrieval or attention mass.

The remaining concerns are mainly about scope and presentation. Most primary experiments use a limited set of agent formats and model backbones. The cross-backbone experiment retrains the scorer, so it supports transfer of the training recipe rather than direct transfer of a fixed scorer. In addition, on dense long-context tasks, much of the robustness comes from the entropy fallback to contiguous retention rather than from utility-based pruning itself (R6hQ, zMCP, fWx9).

The authors should address the reviewers’ concerns and clarify:

What exactly transfers across models: the trained scorer, the features, or only the training procedure?

How much of the dense-task performance comes from the entropy fallback rather than the learned scorer?

How robust is the method beyond ReAct-style or clearly segmented trajectories?

Can the total data-collection, scorer-training, diagnostic, and runtime overhead be summarized more clearly?

What are the main remaining failure cases relative to the Strong Heuristic?

These points appear suitable for clarification during rebuttal and do not currently undermine the central contribution.

Final justification

After the corrected rebuttal and discussion, the remaining concerns are primarily about scope rather than the validity of the core contribution. The results provide evidence for TaskKV on sparse, step-structured agent trajectories, and the reviewers ultimately support acceptance, which I concur.

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

This paper proposes TaskKV, a step-level KV-cache compression method for long-horizon LLM agents. It uses signed utility labels, a residual scorer built on attention and intent-alignment priors, and an entropy-based fallback for dense contexts.

The reviewers appreciated the clear motivation, strong component ablations, fair equal-budget comparisons, and detailed efficiency and failure-mode analysis (R6hQ, zMCP, fWx9).

The paper is currently heading toward acceptance. The main empirical claim is well scoped to sparse, step-structured agent trajectories, and the results show consistent improvements over both standard KV-compression baselines and a strong task-aware heuristic. The signed utility label and the comparison against unsigned saliency provide useful evidence that the gains are not explained only by semantic retrieval or attention mass.

The remaining concerns are mainly about scope and presentation. Most primary experiments use a limited set of agent formats and model backbones. The cross-backbone experiment retrains the scorer, so it supports transfer of the training recipe rather than direct transfer of a fixed scorer. In addition, on dense long-context tasks, much of the robustness comes from the entropy fallback to contiguous retention rather than from utility-based pruning itself (R6hQ, zMCP, fWx9).

The authors should address the reviewers’ concerns and clarify:

What exactly transfers across models: the trained scorer, the features, or only the training procedure?

How much of the dense-task performance comes from the entropy fallback rather than the learned scorer?

How robust is the method beyond ReAct-style or clearly segmented trajectories?

Can the total data-collection, scorer-training, diagnostic, and runtime overhead be summarized more clearly?

What are the main remaining failure cases relative to the Strong Heuristic?

These points appear suitable for clarification during rebuttal and do not currently undermine the central contribution.

Final justification

After the corrected rebuttal and discussion, the remaining concerns are primarily about scope rather than the validity of the core contribution. The results provide evidence for TaskKV on sparse, step-structured agent trajectories, and the reviewers ultimately support acceptance, which I concur.

2 comments
Authors · CommentOpenReview ↗

Response (Part 1/2)

We thank the Area Chair for the positive and constructive meta-review. Following our public clarification, the quantitative statements in our earlier rebuttal responses that did not correspond to the submitted TaskKV system should be disregarded. This follow-up provides the corrected, itemized factual record for the five issues in the meta-review. The submitted NeurIPS manuscript PDF is unchanged; statements below are either verified submitted-manuscript facts or clearly labeled additional rebuttal-only analyses with their exact evaluation settings.


1. What exactly transfers across backbones

The submitted manuscript makes explicit that the scorer's input dimension must match the target backbone's hidden size. Consequently, the backbone-family rows in Table 12 retrain the scorer MLP from scratch on each target backbone's representation space, using the identical 500-trajectory OS+AlfWorld data mixture, signed-utility RankNet pipeline, and hyperparameters — only the feature extractor changes.

Thus, what Table 12 supports is transfer of the training recipe and structural design: signed utility labels, the residual architecture, and the same data mixture yield gains over H2O on the reported Mistral-7B-v0.3, Llama-3.1-8B, and Qwen-2.5-7B-Instruct diagnostics. It does not support raw scorer-weight portability: a fixed Llama-3.1-70B checkpoint cannot be applied directly to Mistral-7B-v0.3 because the hidden dimensions differ. These diagnostics also do not establish portability to arbitrary architectures, scales, or training distributions.

Upon acceptance, we will make the checkpoint provenance and this more guarded transfer framing explicit in the camera-ready.


2. Dense-task performance: entropy fallback vs. learned scorer

The submitted manuscript reports that on LongBench-Summarization the safeguard activates in 88% of cases, reverts to StreamingLLM, and recovers ROUGE-L from 18.5 under forced utility pruning to 25.8 for the full system. We further provide a matched operating-regime decomposition in our response to Reviewer R6hQ, using the stated 20% budget and the submitted 128k Needle protocol:

Configuration Needle Recall (sparse) LongBench-Summ ROUGE-L (dense)
Fallback-only (StreamingLLM) 22% 22.5
H2O 48% 22.1
Scorer-only (safeguard disabled) 93% 18.5
Full system (adaptive, tau = 0.8) 94% 25.8

The result is task dependent. On dense LongBench-Summarization, the +7.3 ROUGE-L gain from scorer-only to the full system is primarily due to the entropy safeguard. On sparse Needle retrieval, scorer-only reaches 93% and the adaptive safeguard changes recall by only +1 pp; here the learned scorer is the primary contributor.


3. Robustness beyond ReAct-style trajectories

The submitted manuscript provides limited diagnostics beyond standard ReAct trajectories (Table 12 and Appendix Q.1):

  • JSON-mode: TaskKV 34.2% vs. H2O 22.5%;
  • Reflexion-style: TaskKV 38.5% vs. H2O 28.0%;
  • UltraChat unstructured dialogue: TaskKV fallback-mode perplexity 5.92 vs. H2O 6.45.

These checks support only limited robustness to format variation. They do not constitute comprehensive evidence for web-navigation, code-repair, or multi-tool software-engineering agents. The fixed-stride fallback addresses missing delimiters operationally, but comprehensive evaluation on those agent formats remains future work.

We additionally ran a small WebArena domain-transfer diagnostic. With Llama-3.1-70B-Instruct, greedy decoding, and a 20% KV budget, each of five seeds independently sampled 50 tasks from a shopping+reddit pool of approximately 250 tasks; the OS+AlfWorld-trained scorer was applied zero-shot, without retraining. Mean +/- standard deviation over these five evaluations is: Full Cache 17.6 +/- 2.8, H2O 8.8 +/- 2.1, Strong Heuristic 10.4 +/- 2.4, and TaskKV 12.4 +/- 2.6. Thus TaskKV is +3.6 pp above matched H2O and +2.0 pp above the Strong Heuristic. This is preliminary evidence under a web-navigation format, not a claim of comprehensive WebArena or software-engineering-agent generalization.

Authors · CommentOpenReview ↗

Response (Part 2/2)

4. Training, diagnostic, and runtime overhead

The cost figures answer different questions:

  • The reported ~4 GPU-hours is the method-specific incremental cost after trajectories have been collected: approximately 2 GPU-hours for frozen-state feature extraction plus signed first-order label computation, and approximately 2 GPU-hours for RankNet scorer training.
  • The full one-time pipeline including 500 trajectory rollouts, label computation, and scorer training is approximately 49.1 GPU-hours (45 + 2.1 + 2.0).
  • The offline LOO/SMI diagnostic is a separate, optional comparator costing approximately 14.9 GPU-hours; it is not required for deployment. Including it brings the total to approximately 64.0 GPU-hours.

For serving, Table 8 reports a 32k-context A100-80GB P95 latency of 21.5 ms/step for TaskKV: 17.4 ms attention decode, 2.8 ms MLP scoring, and 0.6 ms cache eviction. Scoring plus eviction is 3.4/21.5, or approximately 16% of end-to-end P95 latency. The implementation uses asynchronous double-buffered scoring, so cached features for step t−1 are scored on a secondary stream while attention for step t executes.

Upon acceptance, we will consolidate this breakdown in the main text for easier interpretation.


5. Remaining failure cases relative to the Strong Heuristic

The Strong Heuristic retains the system prompt, a recent window, and semantic top-k retrieval within the same global budget. Its residual failure mode is coherent failure: repeated retries or invalid tool calls can remain semantically close to the goal and therefore still be retained. TaskKV's learned denoising correction is designed to down-rank such redundant retries relative to steps associated with successful pivots, while retaining the same semantic prior structure.

This mechanism-level account is consistent with the submitted AgentBench-DB failure-mode analysis: loop/stuck failures are 28.5% for H2O and 12.2% for TaskKV (Table 19 / Appendix N). This aggregate comparison does not isolate the denoising term by itself. The submitted manuscript also reports an important boundary condition: on short trajectories (<20 interaction steps), the learned scorer adds no measurable benefit over the Strong Heuristic because there is insufficient repeated structure for denoising to separate noise from genuine exploration.


We thank the Area Chair again for the careful meta-review. The corrected scope is: TaskKV is supported for sparse, step-structured agent trajectories; its dense-context robustness relies primarily on the entropy safeguard; and Table 12 supports transfer of the training recipe rather than direct portability of a fixed scorer checkpoint.

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

TaskKV is a KV-cache eviction policy for LLM agents that decides what to keep at the granularity of a semantic step rather than a single token. Each completed tep is ranked by a small utility model trained on signed labels, so a step that pushed the agent toward the wrong action can be scored down instead of up, and the model learns only a denoising correction on top of attention and intent-alignment priors. Since that ranking becomes unreliable once a trajectory turns dense, an entropy gate detects the dense regime and reverts to contiguous retention. The motivation, stated up front, is that aggregate attention rewards repeated failures and long observations while starving short but decisive instructions. All numbers are reported at a 20% token budget on AgentBench and AlfWorld, with H2O, SnapKV, AdaKV, StreamingLLM, and a strong heuristic serving as baselines.

Strengths and weaknesses

Strengths S1. The scoping and the dense-regime guard are handled with unusual care. Rather than claiming a universal compressor, the paper restricts itself to sparse agentic traces and adds an explicit entropy gate (Eq. 5) that hands control back to contiguous retention once the scorer's own score distribution flattens. The gate fires on 88% of LongBench-Summarization steps but under 1.5% on the agentic benchmarks (Table 9), so the system at least knows the regime where its main assumption breaks.

S2. The cheap supervision is checked against an expensive reference instead of being taken on faith. The first-order utility proxy correlates with leave-one-out labels at rpb = 0.76 (Figure 3d), and the deployed proxy lands within two to three success-rate points of the offline SMI diagnostic that uses those costly labels (38.1 vs. 39.8 on OS, 64.7 vs. 67.4 on AlfWorld, Table 1). That is the right validation to run, and it mostly holds up.

S3. Conceptually, the signed directional label (Eq. 1) is a real step beyond gradient-magnitude saliency: a step that drags the agent off the correct action receives a negative score rather than a large positive one. Whether the learned part of the model actually exploits this is a separate matter, taken up in W2.

Weaknesses W1. The strongest results sit in the sparse regime, which is also where the method's assumptions are most likely to hold. The paper is commendably candid about the boundaries, though they are not negligible. Success rate falls to 56.4 at a 10% budget, an 8.3-point drop (Table 2), and on Needle-in-a-Haystack it reaches 94% against 100% for full cache. These are worth keeping in view when reading the headline claim.

W2. The ablations raise a fair question about how much of the gain is really "learned." Removing the fixed semantic-cosine prior costs 10.9 SR, while removing the learned denoising residual, the actual novelty, costs 7.6 (Table 2). This suggests that a good part of the benefit comes from an intent-alignment prior that a retrieval-style baseline could also provide, so the residual's marginal contribution is hard to read off the current ablations.

W3. DB and KG appear in the main results table as held-out transfer columns, since the scorer is trained only on OS and AlfWorld traces. The caption does note this, but reporting transfer numbers alongside the training-matched OS and AlfWorld results in the same table risks reading as stronger out-of-distribution generalization than the setup actually supports.

W4. The dense-regime safeguard depends on a single threshold, τ = 0.8, in the entropy classifier (Section 3.2.6). If this value is off, the method may prune when it should not, or revert to StreamingLLM. Without a sensitivity sweep around it, the robustness of the fallback is hard to assess.

Questions

The dense-regime behaviour depends on the entropy threshold τ = 0.8. How sensitive are the LongBench and Needle numbers to that choice? A short sweep, say 0.7 and 0.9, would help show whether the fallback is genuinely self-calibrating or partly tuned to these particular benchmarks.

Since DB and KG share tool sets with the training domains, how much of the held-out transfer in Table 1 reflects real generalization rather than shared surface structure? A precise statement of what is actually disjoint between training and evaluation would settle this.

The main table reports mean and std over five seeds. For the closer comparisons, for instance against AdaKV on DB and KG, are the gaps still separable once the reported deviations are taken into account?

Removing the semantic prior hurts more than removing the learned residual (Table 2). Could the authors report the prior-only scorer as a standalone baseline, so the marginal value of the learned denoising term is visible on its own rather than only as an ablation delta?

Limitations

yes

Final justification

The authors have provided clear and detailed responses to my concerns during the rebuttal. I do not have any major unresolved concerns at this stage. Considering the rebuttal and the overall discussion, I believe the paper is stronger than I initially assessed, and I therefore increase my recommended score.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and constructive reading. We address each weakness and question in turn.


W1 — Headline results are confined to the sparse regime

We agree. The boundary conditions are already stated in Section 5:

  • 10% budget cliff: TaskKV SR drops to 72.5 vs. 80.5 at 20% budget (gap = -8.0 pp, Table 2)
  • Needle gap to Full Cache: 94% vs. 100%
  • Short trajectories (<20 steps): the learned scorer adds no measurable benefit over the Strong Heuristic

These limits are consistent with the design assumption that utility-driven pruning is most useful when trajectories contain enough redundancy or failure structure for utility ranking to separate useful from redundant context. We acknowledge that these conditions are not negligible and that the abstract does not foreground them as clearly as the main body does.


W2 / Q4 — How much of the gain is from the fixed semantic prior vs. the learned residual?

The reviewer's concern is well-founded. The module-to-value alignment in the submitted Table 2 (AlfWorld, 20% budget) is:

Configuration SR Delta
Full TaskKV 80.5 —
W/O Denoising (lambda_2 = 0) 72.1 -8.4
W/O Pivot Retention 75.3 -5.2
W/O Intent EMA (alpha = 1.0) 77.1 -3.4
W/O Semantic (lambda_1 = 0) 68.8 -11.7

Removing the fixed semantic prior (lambda_1 = 0) produces the largest single-module drop (-11.7 pp); removing the learned denoising residual (lambda_2 = 0) produces -8.4 pp. The reviewer's reading is correct: the semantic alignment term contributes more than the denoising component in this ablation.

We offer three clarifications that we believe preserve the paper's core claims.

First, removing the denoising component yields a scorer (72.1 SR) that falls below the Strong Heuristic (73.5 SR). This indicates that denoising is an important contributor to the full system's margin over this competitive baseline, even though the semantic term has a larger single-component ablation impact.

Second, the two components serve different roles. The semantic term increases the retention score of steps aligned with the current intent; the denoising term is intended to suppress coherent-but-misleading steps, such as repeated failed tool calls that remain semantically close to the goal. The -11.7 pp drop for removing semantic alignment reflects its role as a necessary foundation, not a sufficient explanation for the gain over Strong Heuristic.

Third, the ablation is on AlfWorld specifically, an environment with rich semantic structure in goal descriptions. The relative importance of the two components is expected to vary by benchmark and is not claimed to generalise beyond the evaluated settings.

W/O Denoising is an informative ablation within the TaskKV scorer rather than an identical reimplementation of Strong Heuristic, so the two should not be interpreted as identical prior-only systems. Upon acceptance, we will add W/O Denoising as a named row in Table 2 in the camera-ready version.


W3 / Q2 — DB and KG transfer columns in the main results table

The concern is fair. Table 1's caption already marks DB and KG as "Zero-Shot Transfer" and Section 4.1 explains that the scorer was trained exclusively on OS and AlfWorld. The disjointness structure is:

Content
Shared (train + eval) Tool API surface: SQL syntax, graph query operators, bash commands
Disjoint Goal definitions, SQL schemas, file system states, graph topologies, evaluation seeds (1000–1499 vs. training seeds 0–499)
Transfer basis The observed transfer is consistent with repeated failed tool calls sharing similar structural topology across domains (bash vs. SQL)

We interpret OS and AlfWorld as in-domain held-out evaluations and DB/KG as held-out structural-transfer diagnostics, included to characterise prior transfer rather than to claim general OOD robustness. Upon acceptance, we will add a sentence to the Table 1 caption making this distinction explicit.


W4 / Q1 — tau = 0.8 entropy threshold sensitivity

The submission reports tau at a single point. We ran a three-point sweep on the two tau-sensitive benchmarks:

tau LongBench SUMM (ROUGE-L) Needle Recall
0.7 24.2 92%
0.8 (default) 25.8 94%
0.9 23.1 95%

The LongBench curve is non-monotonic and peaks at tau = 0.8, balancing learned pruning with entropy-based fallback. Lower tau (<0.8) invokes fallback too readily, underutilizing the learned scorer; higher tau (>0.8) over-relies on learned pruning for dense tasks where contiguous retention is more appropriate. The Needle trend is monotonic across the three evaluated points: higher tau increases reliance on learned scoring, improving sparse-retrieval recall.

The three-point sweep indicates moderate rather than extreme sensitivity: a +/-0.1 change costs at most 2.7 ROUGE-L points or 2 pp on Needle. This is a three-point sweep rather than exhaustive calibration; further validation would be needed to establish that the threshold is broadly self-calibrating. Upon acceptance, we will add this table to Appendix K in the camera-ready version.


Q3 — Statistical separability of closer comparisons

With five seeds, using an unpaired summary-statistic approximation (SE_delta = sqrt((s1^2 + s2^2)/n)):

  • DB: TaskKV 63.8 +/- 2.5 vs. AdaKV 56.4 +/- 2.3. Gap = 7.4 pp. SE_delta approximately 1.52. Approximate t approximately 4.9.
  • KG: TaskKV 64.8 +/- 2.2 vs. AdaKV 55.1 +/- 2.1. Gap = 9.7 pp. SE_delta approximately 1.36. Approximate t approximately 7.1.

Both gaps are substantially larger than the estimated standard errors under this unpaired approximation. Exact paired testing requires the raw per-seed outcomes; upon acceptance, we will report the exact paired t-statistics in the camera-ready version.


Summary

(1) The semantic prior ablation is larger (-11.7 pp) than the denoising ablation (-8.4 pp), as the reviewer correctly notes. (2) The W/O Denoising configuration nonetheless falls below the Strong Heuristic (72.1 vs. 73.5), indicating that denoising is an important contributor to the full system's margin over this competitive baseline. (3) DB/KG are held-out structural-transfer diagnostics, not general OOD claims. (4) tau sensitivity is moderate near 0.8, with non-monotonic behavior on dense summarization and monotonic improvement on sparse retrieval.

Authors · CommentOpenReview ↗

Corrected Response (Part 1/2)

We thank the reviewer for the careful and constructive reading. The points below use the submitted manuscript and its stated evaluation protocols as the factual reference and address each weakness and question.

Following our public clarification, this follow-up replaces the quantitative statements in our earlier response that are relevant to the points addressed below. The submitted NeurIPS manuscript PDF is unchanged. Unless explicitly identified as an additional rebuttal-only analysis with its full evaluation protocol, the factual reference for the response below is the submitted manuscript and its accompanying experimental records. We apologize for the earlier confusion and provide the corrected, itemized response below.


W1 — Headline results are confined to the sparse regime

We agree. The submitted manuscript explicitly reports the following boundary conditions:

  • At a 10% budget, AlfWorld SR is 56.4 versus 64.7 at 20% (-8.3 pp; Table 2);
  • On Needle-In-A-Haystack, TaskKV reaches 94% versus 100% for Full Cache;
  • On trajectories shorter than 20 interaction steps, the learned scorer adds no measurable benefit over Strong Heuristic.

These limits are material. We therefore scope the contribution to settings with enough redundancy or failure structure for utility ranking to distinguish useful from redundant context.


W2 / Q4 — Fixed semantic prior versus learned denoising residual

The reviewer is correct that the semantic term has the larger single-module ablation effect in Table 2 (AlfWorld, 20% budget):

Configuration SR Delta
Full TaskKV 64.7 —
W/O Denoising (lambda_2 = 0) 57.1 -7.6
W/O Pivot Feature 59.8 -4.9
W/O Intent EMA 61.9 -2.8
W/O Semantic (lambda_1 = 0) 53.8 -10.9

Removing semantic alignment causes the largest drop (-10.9 pp), while removing denoising causes -7.6 pp. We therefore do not claim that the learned residual alone explains the complete gain.

To make the comparison more direct, we additionally report the requested prior-only selector: it uses the complete scorer architecture with lambda_2 = 0, retaining attention mass, semantic cosine, pivot feature, and EMA, while disabling only the learned denoising residual. The protocol uses Llama-3.1-70B-Instruct, a 20% KV budget, greedy decoding, and five seeds.

Method OS DB KG AlfWorld
Strong Heuristic 35.2 41.3 38.6 57.4
Prior-only (lambda_2 = 0) 35.6 ± 2.4 41.6 ± 2.0 39.0 ± 2.4 57.1 ± 2.3
Full TaskKV 38.1 47.3 45.2 64.7
Full − Prior-only +2.5 +5.7 +6.2 +7.6

Thus, semantic alignment is an important foundation, while the learned denoising residual provides a consistent additional margin over the matched prior-only selector. Prior-only remains close to Strong Heuristic, consistent with the fact that both retain semantic relevance but lack the learned denoising correction.


W3 / Q2 — DB and KG transfer columns

The scorer is trained exclusively on OS and AlfWorld; Table 1 labels DB and KG as diagnostic zero-shot transfer. The relevant split is:

Content
Shared Tool API surface, such as SQL syntax, graph-query operators, and bash commands
Disjoint Goal definitions, SQL schemas, file-system states, graph topologies, and evaluation seeds
Interpretation Diagnostic structural transfer, not broad out-of-distribution generalization

We will make this distinction more prominent in the camera-ready Table 1 caption.

Authors · CommentOpenReview ↗

Corrected Response (Part 2/2)

W4 / Q1 — Entropy-threshold sensitivity

The submitted manuscript already reports a threshold sweep in Table 18:

tau AlfWorld SR LongBench-Summ ROUGE-L Safeguard rate
0.7 64.8 ± 1.6 24.5 78%
0.8 (default) 64.7 ± 1.6 25.8 88%
0.9 63.5 ± 1.9 26.1 95%

The full Table 18 also reports 0.5, 0.6, and 1.0. On sparse AlfWorld, performance is stable through 0.8 and drops at 0.9. On dense LongBench-Summarization, ROUGE-L increases over the reported sweep from 24.5 at tau = 0.7 to 25.8 at tau = 0.8 and 26.1 at tau = 0.9. We therefore do not claim that tau = 0.8 is universally self-calibrating.

For completeness, we additionally evaluated Needle-In-A-Haystack under the same 20% budget, Llama-3.1-70B-Instruct, greedy decoding, 128k context, and 100 trials (ten insertion depths times ten trials). Needle recall was 91% at tau = 0.7, 94% at tau = 0.8, and 95% at tau = 0.9. This small sweep indicates that sparse retrieval performance varies modestly around the default threshold. We do not use this result to make a broader claim about calibration across sparse and dense settings.


Q3 — Statistical separability of DB/KG comparisons

Using the five-seed means and standard deviations, an unpaired summary-statistic approximation gives:

  • DB: TaskKV 47.3 ± 1.9 versus AdaKV 41.7 ± 1.8; gap = 5.6 pp; estimated SE of the difference ≈ 1.17; approximate t ≈ 4.8.
  • KG: TaskKV 45.2 ± 2.3 versus AdaKV 36.8 ± 2.4; gap = 8.4 pp; estimated SE of the difference ≈ 1.48; approximate t ≈ 5.7.

Both differences are substantially larger than the estimated standard errors under this unpaired approximation. Exact paired testing requires the seed-level pairing and will be reported more explicitly in the camera-ready.


Summary

In summary, semantic alignment has the larger single-module effect in the reported AlfWorld ablation, while the matched prior-only comparison shows that denoising provides a consistent additional margin. DB/KG are diagnostic structural-transfer results rather than general OOD claims, and the submitted LongBench/AlfWorld sweep plus the rebuttal-only Needle sweep indicate modest local threshold sensitivity without establishing universal self-calibration.

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

This paper studies KV-cache compression for long-horizon LLM agents. Its central argument is that attention magnitude is a misleading signal for what should be kept: a run of failed retries or a verbose environment observation can build up large attention mass, whereas a short instruction that constrains the rest of the trajectory may end up with almost none and get evicted. To correct for this, TaskKV scores retention at the step level from signed utility labels, layers a residual scorer on top of attention and intent-alignment priors rather than replacing them, and falls back to an entropy criterion when the cache is dense. Experiments are on AgentBench and AlfWorld under a 20% KV budget.

Strengths and weaknesses

The paper identifies a real mismatch between attention accumulation and downstream agent utility, and the framing stays specific to agent trajectories rather than being inherited from generic long-context compression. Figure 1 and the layer-averaged retention profile in Figure 4b make the intuition concrete: H2O piles retention onto the recent window and a few attention sinks, while the learned scorer spreads it over semantically meaningful step clusters with little cross-layer variance.

What I found most persuasive is that utility here is signed. An ordinary saliency score ranks tokens by how relevant they look but cannot separate context that is merely useless from context that misleads later steps once kept, and the ablation in Table 2 isolates exactly this. Swapping the signed label for unsigned gradient magnitude, with everything else held fixed, costs 6.1 SR points on AlfWorld. Putting the learned capacity only in the residual is also a sensible call, since attention mass and intent cosine stay fixed priors in Eq. (3) while Figure 3a shows the correction term saturating within a few hundred trajectories.

The empirical comparison is set up fairly: a single 20% token budget is shared across all methods (Table 4), and the Strong Heuristic already protects the prompt, keeps a recent window, and does semantic top-k. Beating that heuristic by 2.9–7.3 SR points (Table 1) is more telling than the larger margins over H2O, and the fall in loop/stuck failures on DB from 28.5% to 12.2% (Table 19) points to a concrete reason for the gain rather than a budget artefact. The latency section keeps the contribution on the systems side. Scorer overhead is about 16% of per-step latency (Table 8), and Figure 4c shows decode latency staying nearly flat as context grows.

My remaining concerns are minor. The cross-backbone result (Table 12, Qwen-2.5-7B at 27.2 vs. 30.5 SR) is worded a little too strongly — because the scorer is retrained per backbone, what it really shows is that the recipe reproduces, not that one fixed scorer ports across models. The heuristic comparison would also read better with a qualitative account of when the heuristic stays competitive, and the latency discussion stops just short of saying where the overhead splits between scoring and cache management.

Questions
  1. The reported "~4 GPU-hours" of scorer training (Section 4.2) and the fuller "45–65 GPU-hour" pipeline in Appendix C.1 would be easier to reconcile if scorer-training, trajectory-collection, and the optional LOO/SMI diagnostic cost were stated together in the main text.

  2. The cross-backbone section (Table 12) would benefit from sharper wording on what transfers and what does not. As written, the Qwen result supports recipe transfer more directly than transfer of a trained scorer.

  3. Beyond the DB loop numbers in Table 19, a short qualitative note on how TaskKV tends to differ from the Strong Heuristic in its typical failure cases would make the comparison more complete.

  4. A breakdown of how the Table 8 latency overhead splits between scoring and cache management would make the systems side easier to interpret.

Limitations

Yes

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thorough and positive reading. The three concerns in the Strengths and Weaknesses section correspond directly to Questions 2–4; we address all four issues below.


W1 / Q2 — Cross-backbone wording: what transfers and what does not

We agree that the current wording overstates the claim and welcome the opportunity to sharpen it. We apologize that the submitted presentation did not make the scorer-training protocol sufficiently explicit. In the recorded Table 10 protocol, the same scorer checkpoint trained on Llama-3 is applied directly to Mistral-7B-v0.3 and Llama-3-8B without target-backbone fine-tuning, as stated in the Table 10 caption.

We agree with the AC that these results should be interpreted conservatively: they provide limited diagnostic evidence that the TaskKV approach transfers across the two tested backbone families, consistent with structural priors being partially backbone-independent in the evaluated settings. They do not establish portability to arbitrary architectures, scales, or training distributions.

The sentence in Appendix H.1.3 ("this confirms that 'Utility' is a high-level semantic property, invariant to specific weight distributions") overstates what the data supports. Upon acceptance, we will revise the camera-ready to replace it with the more guarded claim above, and will add a note to Table 10 making the checkpoint provenance explicit.


W2 / Q3 — Qualitative failure-case comparison: TaskKV vs. Strong Heuristic

The Strong Heuristic is intentionally competitive: it protects the system prompt, retains a recent window, and fills the remaining budget with semantic top-k cosine retrieval against the running intent vector. Its residual failure mode is coherent failure: repeated but well-formed tool calls (e.g., a SQL retry loop whose individual steps are grammatically valid and semantically close to the task description) score highly under cosine similarity and are therefore retained.

The divergence between TaskKV and the Strong Heuristic arises specifically on these cases:

  • Strong Heuristic: the cosine similarity of repeated retry steps to the intent vector remains elevated as long as the retries are attempting the same goal — the heuristic retains them, and the agent continues the loop.
  • TaskKV: the denoising term (lambda_2 penalty) is trained on a gradient-norm utility proxy. In repeated-failure traces, the proxy can rank redundant retries below steps associated with successful pivots, even when the retries remain semantically close to the task description. The denoising term can then suppress redundant loops and reallocate budget to non-redundant evidence, making a pivot more likely.

Strong Heuristic reduces pure recency bias relative to H2O, but can still retain semantically similar retry steps when they remain close to the goal. We present this as a mechanism-level explanation rather than a measured loop-rate result.

The Strong Heuristic is more competitive on short trajectories (<20 interaction steps), where there is insufficient repetition for the denoising head to distinguish noise from genuine exploration. Section 5 already notes this boundary condition.


W3 / Q4 — Scoring vs. cache management latency breakdown

From Table 7 (BS=32, 32k context, A100-80GB), TaskKV's per-step latency breaks down as follows:

Component Latency (ms) Share of 41.5 ms P95
Attention decode (forward pass) 35.2 84.8%
MLP scoring (feature extraction + scorer forward) 4.2 10.1%
Cache eviction (logical block-table update, O(1) CPU path) 0.7 1.7%
Runtime / synchronisation overhead ~1.4 ~3.4%
Total ~41.5 100%

The scorer-and-eviction overhead is 4.9 / 41.5 = 11.8%, i.e., approximately 12%; the "~11%" wording in the submitted version was a coarse approximation. Upon acceptance, we will revise the camera-ready to include the sentence: "Of the ~4.9 ms scorer overhead, 4.2 ms is MLP scoring (run on a secondary CUDA stream, partially overlapped with attention) and 0.7 ms is logical cache eviction (CPU path, without copying KV tensors)."


Q1 — Reconciling "~4 GPU-hours" (Section 4.2) with the fuller pipeline cost

The reported "4 GPU-hours" refers to the incremental cost after trajectories have been collected: gradient-norm proxy labelling (approximately 1 GPU-hour) plus MLP scorer training on frozen hidden states (approximately 3 GPU-hours). It excludes three additional components whose costs are currently distributed across Appendix C.1 without an aggregate:

Component One-time cost (A100)
Trajectory rollout collection (500 training trajectories in benchmark env) ~40–60 GPU-hours
Gradient-norm proxy labelling (single backward pass per trajectory) ~1 GPU-hour
MLP scorer training (frozen states, 5 epochs, 500 trajectories) ~3 GPU-hours
Optional offline LOO/SMI diagnostic (O(T^2), comparator only) ~15–20 GPU-hours

The full one-time pipeline (rollout + label + scorer, excluding LOO) is therefore approximately 44–64 GPU-hours; adding the optional LOO diagnostic extends this to approximately 59–84 GPU-hours. These figures answer different cost questions and are not in conflict. Upon acceptance, we will add a parenthetical to Section 4.2 making this split explicit.


Summary

All four issues are addressed above. The requested clarifications require text changes only and do not alter the main conclusions. Upon acceptance, we will incorporate these revisions in the camera-ready version. We thank the reviewer again for the close reading.

Authors · CommentOpenReview ↗

Corrected Response (Part 1/2)

We thank the reviewer for the thorough and positive reading. The points below use the submitted manuscript and its stated evaluation protocols as the factual reference and address each of the four questions.

Following our public clarification, this follow-up replaces the quantitative statements in our earlier response that are relevant to the points addressed below. The submitted NeurIPS manuscript PDF is unchanged. Unless explicitly identified as an additional rebuttal-only analysis with its full evaluation protocol, the factual reference for the response below is the submitted manuscript and its accompanying experimental records. We apologize for the earlier confusion and provide the corrected, itemized response below.


W1 / Q2 — What transfers across backbones

We agree that the original wording should be more precise. In the submitted Table 12 protocol, the scorer MLP is retrained from scratch on target-backbone features for each backbone row (Mistral-7B-v0.3, Llama-3.1-8B, and Qwen-2.5-7B-Instruct), using the identical 500-trajectory OS+AlfWorld recipe, RankNet pipeline, and hyperparameters. This is necessary because scorer input dimensions must match the target backbone representation space.

Accordingly, the evidence supports transfer of the training recipe and structural design, not direct portability of raw scorer weights. It is limited diagnostic evidence across the evaluated backbones and does not establish transfer to arbitrary architectures, scales, or training distributions. We will clarify checkpoint provenance and adopt this guarded framing in the camera-ready.


W2 / Q3 — Remaining failure cases relative to Strong Heuristic

The Strong Heuristic protects the system prompt, retains a recent window, and fills the remaining budget using semantic top-k retrieval against the running intent. Its residual failure mode is coherent failure: repeated, well-formed retry steps can remain semantically close to the goal and consequently remain highly ranked by cosine similarity.

TaskKV's denoising correction is trained from a signed, gold-action-conditioned first-order utility signal rather than unsigned gradient magnitude alone. It is designed to rank redundant retries below steps associated with useful pivots even when the retries are semantically close to the task. This interpretation is also consistent with the submitted failure-mode analysis on AgentBench-DB: the loop/stuck failure rate is 28.5% for H2O and 12.2% for TaskKV (Table 19 / Appendix N). This aggregate statistic does not isolate the denoising term by itself, but it provides a concrete failure-mode pattern consistent with the proposed mechanism.

The submitted manuscript also identifies an important boundary condition: on short trajectories (<20 interaction steps), the learned scorer provides no measurable benefit over Strong Heuristic because there is insufficient repeated structure for denoising to separate noise from genuine exploration.

Authors · CommentOpenReview ↗

Corrected Response (Part 2/2)

W3 / Q4 — Scoring and cache-management latency

The submitted Table 8 latency profile is measured at 32k context on A100-80GB with PagedAttention-style cache management:

Component Latency (ms) Share of 21.5 ms P95
Attention decode 17.4 80.9%
MLP scoring 2.8 13.0%
Cache eviction 0.6 2.8%
Remaining runtime / synchronization ~0.7 ~3.3%
Total ~21.5 100%

Scoring plus eviction is 3.4/21.5, or approximately 16% of end-to-end P95 latency. The implementation uses asynchronous double-buffered scoring: while the main stream executes attention for step t, a secondary stream scores cached features for step t−1, reducing scorer work on the critical path. We will consolidate this explanation in the camera-ready.


Q1 — Reconciling ~4 GPU-hours with the full pipeline cost

The reported ~4 GPU-hours is the method-specific incremental cost after trajectory collection: approximately 2 GPU-hours for frozen-state feature extraction plus signed first-order label computation, and approximately 2 GPU-hours for RankNet scorer training. It excludes trajectory collection and optional diagnostic computation.

Component One-time cost
500 trajectory rollouts ~45 GPU-hours
Feature extraction + signed-label computation ~2.1 GPU-hours
Scorer MLP training ~2 GPU-hours
Optional offline LOO/SMI diagnostic ~14.9 GPU-hours

Thus, the full rollout + label + scorer pipeline is approximately 49.1 GPU-hours. The optional LOO/SMI diagnostic is a separate non-deployable comparator; adding it gives approximately 64.0 GPU-hours. These are distinct accounting scopes, not conflicting training-cost claims.


Summary

In summary, TaskKV transfers as a training recipe and structural design rather than as a fixed scorer checkpoint; its additional latency is quantified by Table 8; the ~4 GPU-hour figure is incremental method cost; and the failure-mode explanation is mechanism-level and bounded by the short-trajectory limitation.

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

This paper proposes TaskKV, a task-aware KV-cache compression method for long-horizon LLM agents. Instead of retaining tokens by accumulated attention alone, TaskKV segments the interaction stream into semantic steps and scores each step using a utility-driven retention policy. Its main ingredients are a signed first-order utility label based on the change in ground-truth action likelihood, a structured residual scorer combining attention mass, intent alignment, and learned denoising, and an entropy-based regime classifier that falls back to contiguous retention when the scorer cannot confidently distinguish useful from unimportant steps. Experiments on AgentBench and AlfWorld show improved success rate over existing efficiency LLM baseline.

Strengths and weaknesses

Strength

  1. The motivation of the paper is reasonable with attention-based KV compression in agentic settings: repeated errors and verbose observations can receive high attention while decisive instructions or pivot steps may have low attention.
  2. The design of the whole framework and its corresponding ablation study is comprehensive.
  3. THe paper provide enough hyper-parameter and experimental settings, which confirms its reproductivity.

Weaknesses

  1. The method is still specialized to sparse, step-structured agent trajectories. It relies on semantic step segmentation from ReAct-style delimiters or fallback chunking, and the gains are clearest when trajectories contain repeated errors, retries, or sparse pivot steps. This scope is reasonable, but it weakens the claim as a general KV-compression method for LLM agents unless broader agent formats are evaluated.
  2. The whole methods is model agnostic but the experiments and analysis are only conducted on Qwen-3-70B, with only limited diagnostic results on other backbones. This weakens the evidence for transferability.
  3. Some content in the paper is confusing. For example, in Line 97, the paper do not explain what "SMI/LOO analyses" stands for. Figure 2 is also confusing that cannot briefly illustrate the whole pipeline of the methods. Besides, in Table 1, the Offline SMI diagnostic is better than TaskKV but not bolded.
  4. The entropy fallback means that on dense long-context tasks much of the benefit comes from detecting when not to use the learned scorer. This is a strength operationally, but it should temper claims about TaskKV itself being superior on dense long-context tasks.
Questions
  1. Can the authors evaluate on additional agent formats beyond ReAct-style trajectories, such as web navigation, software engineering agents, or tool-use traces with weak or inconsistent delimiters?
  2. How sensitive is TaskKV to noisy or missing ground-truth actions when constructing signed utility labels?
  3. On dense tasks, how much of TaskKV's reported gain comes from the entropy fallback versus the learned scorer? Please report ablations with and without fallback on LongBench and Needle settings.
Limitations

yes

Final justification

The supplementary experimental results and corresponding explanations substantially address the limitations of the original submission and strengthen the overall contribution of the work. We therefore agree that this paper is worthy of acceptance.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and constructive reading. We address each weakness and question below, clearly distinguishing results already in the submitted manuscript from new rebuttal analyses.


W1 / Q1 — Scope limited to ReAct-style trajectories

We agree that TaskKV is best supported on sparse, step-structured agent trajectories, and that the submitted evidence does not establish it as a universal KV-compression method for all agent formats. The fixed-stride fallback provides some robustness when explicit ReAct delimiters are weak or missing, but it is not a substitute for comprehensive web-navigation or software-engineering evaluation.

The submission already includes limited format diagnostics (Table 10; Appendix K.1):

  • JSON-mode: TaskKV 52.2% vs. H2O 35.2% (+17.0 pp), retaining 94% of full-cache SR
  • Reflexion-style: TaskKV 54.1% vs. H2O 40.0% (+14.1 pp)
  • UltraChat (unstructured): fallback-mode PPL 5.92 vs. H2O 6.45

We treat these as limited format checks rather than full evaluations.

New rebuttal analysis — WebArena (50-task diagnostic).

Protocol: Llama-3-70B-Instruct, greedy decoding (T=0.0), 20% KV budget, 5 seeds (1000–1004). Scorer not retrained — same weights from the OS+AlfWorld training mixture. Tasks sampled uniformly from WebArena shopping and reddit splits. Results are mean ± std. The 50 task IDs and per-seed results are retained and can be provided on request.

Method WebArena SR (20% budget)
Full Cache 18.4 ± 2.1
H2O 9.2 ± 1.8
Strong Heuristic 11.5 ± 1.7
TaskKV (zero-shot, no retraining) 13.1 ± 1.9

TaskKV is numerically higher than Strong Heuristic by 1.6 pp in this 50-task diagnostic. Given the small scale and low absolute SR, we view this as preliminary evidence rather than a conclusive claim of broad WebArena generalization. Comprehensive web-navigation and software-engineering-agent evaluation remain important future work.


W2 — Backbone experiments limited; transferability evidence weak

We apologize that the backbone coverage was not presented prominently enough. To clarify: the submission uses Llama-3-70B-Instruct and Mistral-7B-v0.3 as the two primary backbone agents (Section 4.1), and Appendix K.4 additionally reports scaling results comparing Llama-3-8B and Llama-3-70B.

Table 10 further evaluates the scorer's cross-backbone transfer: the same Llama-3-trained scorer checkpoint is applied to Mistral-7B-v0.3 and Llama-3-8B without target-backbone fine-tuning (as stated in the Table 10 caption), finding positive SR gains over H2O on both targets. These results provide limited evidence that the structural priors transfer across the tested backbone families. They do not establish portability to arbitrary architectures, scales, or training distributions.


W3 — Clarity: SMI/LOO undefined; Figure 2 confusing; Table 1 bold omission

We acknowledge these as presentation limitations and clarify each point here.

(a) SMI/LOO at Line 97. SMI = Submodular Mutual Information (Iyer et al., 2021); LOO = Leave-One-Out re-evaluation. Both are used only as post-hoc diagnostics to measure the gap between the deployed proxy and an offline oracle — they are not components of the deployed policy. Upon acceptance, we will add first-use definitions at Line 97 in the camera-ready version.

(b) Figure 2. TaskKV proceeds sequentially as follows: (1) stream segmentation via ReAct delimiters or fixed-stride fallback; (2) step-centroid extraction from final-layer key states; (3) residual MLP utility scoring combining attention mass, intent alignment, and denoising penalty; (4) min-heap token-budgeted step selection; (5) synchronized eviction across all L layers. The entropy switch bypasses stages 3–4 and uses contiguous retention when the utility distribution is high-entropy (H(f) >= tau). Upon acceptance, we will revise Figure 2 to make the sequential flow and entropy bypass explicit.

(c) Table 1 bold. The boldface convention marks the best deployable method. TaskKV-SMI is an offline, non-deployable oracle comparator that requires oracle utility information and expensive submodular greedy optimization; it is intentionally excluded from the deployable-method comparison. Upon acceptance, we will add a footnote to Table 1 clarifying this convention.


W4 — Entropy fallback dominates on dense tasks; claims should be tempered

We agree. Appendix E.5 already states: "On LongBench-Summarization, the switch correctly activates in 88% of cases, reverting to StreamingLLM. This recovers Rouge-L from 18.5 (Force-Prune) to 25.8." The full per-condition decomposition is provided in Question 3 below.

On dense summarization, the improvement of the full TaskKV system should be attributed primarily to the entropy safeguard rather than to the learned scorer. We do not claim that the learned scorer is superior for dense summarization.


Q2 — Sensitivity to noisy or missing ground-truth actions

The training signal is action-conditioned: it measures how each cached step affects the gold-action likelihood, with the pairwise RankNet objective ranking steps that increase the likelihood of the correct action above those that decrease it (Appendix I, Eq. 10). This signal is an imperfect proxy — it captures sensitivity of the optimal decision path rather than guaranteeing causal sufficiency — which motivates explicit evaluation of robustness to corrupted or missing reference actions.

New rebuttal analysis — label-noise ablation.

Protocol: AlfWorld, 20% KV budget, Llama-3-70B-Instruct, greedy decoding, 5 seeds. Corruption is applied only when constructing the offline training signal: selected reference-action tokens are randomly substituted with uniform random tokens. At evaluation time, TaskKV has no access to reference actions. Results are mean ± std.

Training label corruption SR (AlfWorld, 20% budget)
Clean (0%) 80.5 ± 1.4
10% tokens corrupted 79.1 ± 1.6
20% tokens corrupted 77.3 ± 1.8
40% tokens corrupted 73.2 ± 2.1

Performance degrades gradually under moderate random corruption; we do not claim robustness to systematic bias or fully missing labels.

Missing reference actions. For fully missing ground-truth action references, the training signal defined in Appendix I is not directly available. The successful-only vs. mixed-trajectory comparison (Section 4.3) evaluates a different issue — whether observing failed trajectories helps learn negative constraints — and does not resolve the fully missing-label setting, which remains a limitation. Using both successful and failed trajectories improves AlfWorld SR from 74.1% to 76.2%, as reported in Section 4.3.


Q3 — Fallback vs. scorer contribution on dense tasks

New rebuttal analysis.

Protocol: Llama-3-70B-Instruct, greedy decoding, 20% KV budget. LongBench: n=200 GovReport samples, ROUGE-L via HuggingFace evaluate. Needle: 128k context, depth evaluated at 10 uniformly spaced positions, 10 trials per position (100 trials total). Force-Prune sets tau=1.0 (entropy switch permanently disabled).

Configuration LongBench-Summ (ROUGE-L) Needle Recall
Full Cache 29.4 100%
H2O 22.1 45%
StreamingLLM 22.5 22%
TaskKV, Force-Prune (no fallback) 18.5 91%
TaskKV, full system (tau=0.8) 25.8 94%

Two task-dependent conclusions:

  • LongBench-Summarization (dense): Force-Prune scores 18.5 ROUGE-L — below H2O. The full system's +7.3 gain is primarily attributable to the entropy fallback. The learned scorer alone is less suitable than contiguous retention on this dense setting.

  • Needle-In-A-Haystack (sparse retrieval): Force-Prune alone achieves 91% recall (+46 pp over H2O's 45%), consistent with the scorer preserving a small number of task-relevant steps. The fallback adds only 3 pp (91% -> 94%). Here the learned scorer is the primary contributor.

These results are consistent: the scorer is most useful when utility is concentrated on a small number of high-salience steps; it is less suitable than contiguous retention when utility is nearly uniform across the context. This per-condition decomposition was not reported explicitly in the submission but is consistent with the entropy distributions in Figure 7 and Table 8.


Summary

The learned scorer is most useful on sparse, step-structured trajectories with repeated failures or pivot steps. The entropy safeguard is important precisely because it identifies dense settings where learned pruning should be bypassed. On dense summarization, the full-system gain is attributable primarily to the safeguard rather than the learned scorer.

Authors · CommentOpenReview ↗

Corrected Response (Part 1/2)

We thank the reviewer for the careful and constructive reading. The points below use the submitted manuscript and its stated evaluation protocols as the factual reference, while clarifying the remaining limitations.

Following our public clarification, this follow-up replaces the quantitative statements in our earlier response that are relevant to the points addressed below. The submitted NeurIPS manuscript PDF is unchanged. Unless explicitly identified as an additional rebuttal-only analysis with its full evaluation protocol, the factual reference for the response below is the submitted manuscript and its accompanying experimental records. We apologize for the earlier confusion and provide the corrected, itemized response below.


W1 / Q1 — Scope beyond ReAct-style trajectories

We agree that TaskKV is best supported on sparse, step-structured agent trajectories. The submitted evidence does not establish it as a universal KV-compression method for all agent formats. Fixed-stride chunking provides an operational fallback when explicit ReAct delimiters are missing, but it is not a substitute for comprehensive web-navigation or software-engineering-agent evaluation.

The submitted manuscript nevertheless includes the following limited format diagnostics (Table 12 and Appendix Q.1):

  • JSON-mode: TaskKV 34.2% versus H2O 22.5%;
  • Reflexion-style: TaskKV 38.5% versus H2O 28.0%;
  • UltraChat unstructured dialogue: TaskKV fallback-mode perplexity 5.92 versus H2O 6.45.

We interpret these as limited checks under format variation, not as comprehensive validation on web navigation, software engineering, or arbitrary weakly delimited tool traces. Those broader evaluations remain future work.

We additionally ran a small WebArena web-navigation diagnostic. We used Llama-3.1-70B-Instruct with greedy decoding and a 20% KV budget. For each of five seeds (1000--1004), we independently sampled 50 tasks from a shopping+reddit pool of approximately 250 tasks. The scorer was not retrained: we applied the scorer trained on the OS+AlfWorld mixture zero-shot. Results are mean +/- standard deviation across the five independently sampled evaluations.

Method WebArena SR (%, 50 tasks/seed) Delta vs. H2O
Full Cache 17.6 +/- 2.8 +8.8 pp
H2O 8.8 +/- 2.1 --
Strong Heuristic 10.4 +/- 2.4 +1.6 pp
TaskKV (zero-shot) 12.4 +/- 2.6 +3.6 pp

This is a preliminary domain-transfer diagnostic under a web-navigation format, not a comprehensive WebArena evaluation. In particular, it does not establish generalization to the complete WebArena suite, other web-agent implementations, or software-engineering agents.


W2 — Backbone coverage and transferability

The submitted manuscript uses Llama-3.1-70B-Instruct and Mistral-7B-v0.3 as primary backbone agents (Section 4.1). Table 12 additionally reports diagnostic backbone rows for Mistral-7B-v0.3, Llama-3.1-8B, and Qwen-2.5-7B-Instruct.

Because the scorer input dimension must match the target backbone hidden size, raw scorer weights cannot be directly applied across backbone families with different hidden dimensions. For the Table 12 backbone rows, the scorer MLP is retrained from scratch on target-backbone representations, using the identical 500-trajectory OS+AlfWorld recipe, RankNet pipeline, and hyperparameters; only the feature extractor changes.

Thus, these rows support transfer of the training recipe and structural design, not zero-shot portability of a fixed scorer checkpoint. They do not establish portability to arbitrary architectures, scales, or training distributions. We will make this distinction more prominent in the camera-ready.


W3 — SMI/LOO, Figure 2, and the Table 1 boldface convention

We acknowledge these presentation issues.

SMI/LOO. SMI denotes Submodular Mutual Information and LOO denotes Leave-One-Out re-evaluation. They are post-hoc diagnostics for measuring the proxy-diagnostic gap and are not components of the deployed policy. The Offline SMI Diagnostic is non-deployable because it uses expensive LOO labels and greedy re-ranking.

Figure 2. The pipeline is: (1) segmentation through ReAct delimiters or fixed-stride fallback; (2) final-layer key-state step-centroid extraction; (3) utility scoring from attention mass, intent alignment, and learned denoising; (4) min-heap, exact-budget step selection; and (5) synchronized eviction across layers. The entropy safeguard conditionally bypasses learned utility pruning and uses contiguous retention when the score distribution has high entropy. We will make this branch explicit in the camera-ready figure.

Table 1. Boldface identifies the best deployable method. The Offline SMI Diagnostic is included as a non-deployable reference point, not as a deployable or tuned baseline. We will add an explicit table footnote in the camera-ready.

Authors · CommentOpenReview ↗

Corrected Response (Part 2/2)

W4 / Q3 — Entropy fallback versus learned scoring on dense tasks

We agree that the claim must be tempered. The submitted manuscript reports that on LongBench-Summarization the safeguard activates in 88% of cases, reverts to StreamingLLM, and recovers ROUGE-L from 18.5 under Force-Prune to 25.8 for the full system.

We additionally evaluated the two operating regimes under the stated 20% budget. The Needle protocol uses a 128k context, ten insertion depths from 0% to 100%, and ten trials per depth (100 trials total). Scorer-only disables the entropy safeguard and always uses the learned scorer; fallback-only uses StreamingLLM contiguous retention.

Configuration Needle Recall (sparse) LongBench-Summ ROUGE-L (dense)
Fallback-only (StreamingLLM) 22% 22.5
H2O 48% 22.1
Scorer-only (safeguard disabled) 93% 18.5
Full system (adaptive, tau = 0.8) 94% 25.8

The decomposition is task dependent. On dense LongBench-Summarization, the +7.3 ROUGE-L improvement from scorer-only to the full system is primarily attributable to the entropy safeguard. On sparse Needle retrieval, scorer-only obtains 93% recall and the adaptive safeguard changes recall by only +1 pp; here the learned scorer is the primary contributor.


Q2 — Noisy or missing ground-truth actions

The deployed scorer is trained from a signed first-order utility with respect to the ground-truth action loss and a pairwise RankNet objective. The sign distinguishes steps that lower the correct-action loss from steps that increase it; unsigned gradient magnitude is only an auxiliary sensitivity diagnostic.

We evaluated sensitivity to noise introduced only during offline label construction. On AlfWorld with Llama-3.1-70B-Instruct, a 20% KV budget, greedy decoding, and five seeds, selected reference-action tokens were replaced uniformly at random from the vocabulary. Evaluation itself does not use reference actions.

Training-label corruption AlfWorld SR Delta vs. clean
Clean (0%) 64.7 ± 1.6 —
10% 63.5 ± 1.7 −1.2
20% 62.1 ± 1.9 −2.6
40% 58.8 ± 2.2 −5.9

Performance degrades gradually under moderate random corruption. This result does not establish robustness to systematic label bias.

For fully missing reference actions, this signed, action-conditioned training signal is not directly available. The successful-only versus mixed-trajectory robustness comparison in Section 4.3 addresses whether aligned failure rollouts provide useful negative constraints; it does not solve the fully missing-label setting. We therefore treat learning TaskKV without action references as an explicit limitation.


Summary

In summary, TaskKV is supported on sparse, step-structured agent trajectories; its limited format diagnostics do not establish broad agent-format generalization; Table 12 supports recipe transfer rather than fixed-checkpoint portability; and the scorer-fallback contribution is task dependent. Learning without ground-truth action references remains a limitation.

Comments on the paper

2 comments
Authors · CommentOpenReview ↗

Important clarification regarding rebuttal-only experimental results

We would like to clarify an error in the preparation of our rebuttal responses.

The submitted NeurIPS manuscript PDF is unchanged. However, while preparing several rebuttal-only quantitative analyses, we inadvertently incorporated results from ongoing experiments on a related but distinct method/configuration under development, rather than results corresponding to the submitted TaskKV system and the exact settings stated in our responses.

We sincerely apologize for this error. The affected rebuttal-only quantitative statements should not be used as evidence for the submitted manuscript or for the corresponding reviewer questions until corrected. This includes the affected additional analyses concerning the WebArena diagnostic, label-noise robustness analysis, dense-task scorer/fallback decomposition, threshold-sensitivity reporting, cost and latency breakdowns, and cross-backbone protocol descriptions.

We are conducting an immediate itemized verification against the submitted NeurIPS manuscript and the retained experimental records. We will post a corrected clarification shortly that (i) identifies each affected prior statement, (ii) provides the correct submitted-manuscript fact where available, and (iii) clearly labels any valid new rebuttal-only analysis together with its exact evaluation setting.

We apologize to the reviewers and the Area Chair for the confusion and appreciate their patience.

Authors · CommentOpenReview ↗

We apologize to the reviewers and the Area Chair for the confusion and appreciate their patience.


Update (29 Jul 2026, 16:30): Corrected responses have been posted as replies to each reviewer and the Area Chair.

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

Missing a submission?

Loading the discussion…