- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 4
Read review
Summary
This paper presents PBKV, a prediction-based KV cache management system for dynamic LLM agent workflows. The key insight is that future agent invocations can be predicted from workflow history, agent transition patterns, and task semantics. PBKV leverages these predictions to guide KV cache eviction and prefetching decisions, retaining caches with high future reuse potential while proactively loading likely-to-be-used caches. Evaluations on several agent workflow benchmarks show that PBKV improves serving performance over existing cache management approaches, particularly in dynamic workflow settings.
Strengths and weaknesses
Strengths
- The paper is generally well written and easy to follow.
- The paper addresses dynamic multi-agent workflows, which are becoming increasingly important in modern LLM applications. Improving serving efficiency for such workloads is a timely and practically relevant problem.
- The proposed system demonstrates consistent performance improvements across multiple benchmarks and baselines.
Weaknesses
- The technical novelty appears somewhat incremental relative to prior workflow-aware KV cache management systems. Conceptually, PBKV extends existing cache management frameworks by incorporating a learned predictor to estimate future agent invocations and using these predictions to guide eviction and prefetch decisions. While the integration is well executed, the predictor itself is built on fairly standard components (e.g., graph embeddings, attention, and MLPs).
- The workload characterization is insufficient. The paper does not adequately report important statistics such as context lengths, KV cache footprints, prefix-sharing ratios, or reuse patterns. As a result, it is difficult to understand under which workload characteristics PBKV achieves its gains and how representative the evaluated settings are of real-world agent workloads.
Questions
- Could the authors provide a more detailed characterization of the evaluated workloads, including statistics such as context length distributions? This would help readers understand under which workload characteristics PBKV achieves the largest gains and assess how representative the evaluated benchmarks are of real-world agent-serving deployments.
- PBKV relies on the predictability of future agent invocations. How well does this assumption hold for modern coding agents (e.g., Claude Code-like systems) that dynamically spawn sub-agents and make decisions based on intermediate execution results? It would be valuable to discuss the applicability of PBKV in such settings.
Limitations
Yes
Paper formatting concerns
No
Final justification
The rebuttal addressed my main concerns by providing more detailed workload characterization and clarifying the potential applicability of PBKV to dynamic coding agents. Some uncertainty remains for fully dynamic workflows and the novelty, but overall the response increased my confidence in the paper, and I maintain my borderline accept recommendation.
Thank you for your recognition of our work and your constructive comments! We address your questions below.
Experimental Settings: unless otherwise specified, all configurations follow the manuscript.
Q1&W2. Workload Characterization.
We provide the workload characterization here.
In the manuscript, we evaluate two dynamic multi-agent workflow settings (HoVer+LangChain and SWE-bench+AutoGen) and one static setting (FinanceBench+CrewAI). The corresponding workload characterizations are summarized below.
Table R1. Workload characterization of the evaluated multi-agent workflows.
Metric definitions.
¹ Input tokens per agent invocation, including system prompt, task input, and workflow history.
² Computed from per-workflow input and output sequence length at approximately 0.25 MiB/token for Qwen3-32B; practical factors such as page padding and fragmentation are excluded.
³ Computed from the token-sequence overlap between consecutive invocations. It ignores practical serving effects and therefore serves only as an approximate upper bound of average cache hit rate.
⁴ Reuse distance between two consecutive accesses to the same cache node, measured on the global access stream, thus it includes accesses from concurrent workflows.
⁵ Computed from ⁴, using ≈0.25 MiB/token of Qwen3-32B.
Observation. (i) On Qwen3-32B, PBKV achieves average hit rates of 69.10%, 79.94%, and 53.44%, approaching the corresponding sequential prefix-sharing ratios³, suggesting effective cache management. (ii) Reuse distances are long because concurrent workflows continue to generate KV Cache between accesses. Consequently, under limited capacity, LRU may evict reusable entries before reuse, supporting our motivation.
When PBKV Benefits. Across workloads, higher prefix-sharing ratios correspond to higher cache hit rates under PBKV. In addition, as shown in Figs. 5a and 6 of the manuscript, (i) PBKV’s advantage grows when concurrency pressure causes frequent evictions, and (ii) its gains arise primarily during steady-state serving rather than the warm-up or tail phases (detailed in §6.3 & §6.4).
Regarding the question "how representative the evaluated benchmarks are of real-world agent-serving deployments", we will explain in our response to Q2.
W1. Technical Novelty.
(1) We would like to clarify that PBKV’s novelty lies in prediction-robust cache management design, rather than in proposing a new GNN primitive.
PBKV targets KV-cache reuse in realistic dynamic multi-agent workflows, where future agent invocations must be predicted. The question we focus on is "how to robustly translate inherently imperfect predictions into effective cache-management decisions".
At the predictor level, our contribution is to identify two cache-specific design guidelines: (i) complementary signal fusion, which combines the cross-workflow agent transition patterns with per-request semantics; (ii) multi-step horizon, which prevents myopic eviction. The proposed GraphSAGE-based predictor serves as a lightweight instantiation. The deliberately pluggable design of the predictor enables PBKV to benefit from stronger future predictors.
At the cache-management level, our contributions include: (i) Lifecycle-Aware KV-Cache Eviction (guided by the observation that the private cache of a terminated workflow has negligible reuse potential); (ii) Hierarchical Eviction (guided by the principle that embedding deterministic guardrails within a probabilistic system); (iii) Conservative Prefetching (because its cost is deterministic whereas its benefit is speculative). These guardrails, rather than the use of a particular GNN, are central to enabling PBKV to benefit even from imperfect predictions without allowing errors to backfire. (iv) In addition, we formalize the cache eviction problem for dynamic multi-agent workflows and theoretically analyze the robustness of PBKV accordingly.
(2) We would also like to clarify how PBKV differs from ‘KVFlow with a predictor’.
(i) Qualitatively, KVFlow’s challenge is not missing predictive information, but is that the Agent Step Graph (a DAG) it relies on cannot be defined for structures such as retry loops. PBKV requires no such predefined DAG and employs cache-management mechanisms distinct from KVFlow’s Belady-style policy.
(ii) Empirically, PBKV overperforms KVFlow with oracle future information. Even in the static setting where KVFlow’s assumption holds, PBKV improves the cache hit rate from 39.87% to 53.44% and reduces latency from 101.57 s to 80.53 s. Moreover, under HoVer+LangChain workload, the predictor-free PBKV-LAE alone raises the cache hit rate from 27.09% under LRU to 44.91%. Together, these results suggest that PBKV’s gains come not only from prediction but also from its distinct cache-management mechanisms.
Thank you for this valuable comment. These clarifications can help us better clarify PBKV’s contribution boundary and positioning, and we will incorporate them into the revision.
Q2. PBKV for dynamic runtime-dependent Code Agents.
This is precisely the regime PBKV targets.
Given that prediction errors are inevitable in runtime-dependent coding workflows, PBKV continually refreshes its predictions instead of assuming a statically known global execution graph, and employs robust KV-cache management policies explicitly designed to tolerate prediction errors.
Although we cannot evaluate PBKV and the predictor inside Claude Code’s proprietary serving backend, available evidence suggests exploitable predictive signal. Claude Code’s official documentation describes a recurring “gather context → take action → verify results” loop (see “How Claude Code Works” of Claude’s docs). Such recurring short-horizon patterns can be captured and exploited by PBKV’s K-step predictor. Moreover, TraceLab [1] analyzes 4,265 real-world Claude Code and Codex sessions and reports that 81% of append tokens are re-prefill following cache misses, demonstrating substantial room for improvement.
Empirically, we refer to a similar coding workload evaluated in our manuscript: SWE-bench+AutoGen, which also contains dynamic retry paths triggered by intermediate test results at runtime. PBKV achieves 1.70× and 1.81× speedups over LRU on Qwen3-32B and Qwen3-14B, respectively. These results suggest PBKV’s benefits in runtime-dependent coding workload.
[1] Zhu et al., "TraceLab: Characterizing Coding Agent Workloads for LLM Serving" arXiv:2606.30560.
We will incorporate the above results and analyses in the revision. Thank you for your thoughtful feedback!