acceptodds
Published as a conference paper at NeurIPS 2026

Canopy: Tree-Aware Rollout Scheduling for Agent Reinforcement Learning

Feiyuan Zhang, LI Pengbo, Ziniu Li, Yuhao Jiang, Di Chai, Han Tian, Junhao Wang, Taiqiang Wu, Guanhua Huang, Chaoliang Zeng, Yihao Liu, Kai Chen

Abstract

Rollout generation bottlenecks large-scale RL training for LLM agents. Tree rollout has emerged as an important agentic-RL strategy: by branching from shared intermediate states across reasoning turns, tool calls, and environment observations, it avoids regenerating entire trajectories from scratch and exposes long prefixes for context reuse. However, existing RL and LLM-serving infrastructure remains largely tree-unaware: it treats sibling branches as independent generation requests, making the rollout tree invisible to routing, preemption, and KV-cache management. Consequently, shared prefixes are scattered across servers, discarded with request-private suffixes, or recomputed after cross-server spill. We present Canopy, a tree-aware rollout scheduling system that makes the active rollout tree a first-class serving abstraction without changing sampling, rewards, advantage estimation, or optimizer updates. Canopy consists of three mechanisms: tree-aware routing and retention, which keep siblings near reusable prefixes and protect active prefixes; prefix-preserving partial preemption, which separates shared-prefix KV from private-suffix KV under pressure; and spill-aware transfer-or-recompute admission, which transfers shared-prefix KV to a spilled sibling only when its estimated transfer cost is lower than destination-side recomputation. On long-horizon multi-turn agent workloads, Canopy achieves up to 2.11× rollout-generation speedup; across four representative tree-rollout algorithms, mechanism studies show higher prefix locality and a 51.1% average, 94.1% maximum reduction in full-release shared-prefix invalidations. These results show that exposing rollout-tree structure to the rollout-serving stack can reduce wasted prefill and KV-cache churn, enabling more efficient RL training for LLM agents.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_RgfeOpenReview ↗
Rating
5
Clarity
2
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The author solves a scheduling system optimization problem for tree-based rollout generation in RL training. There are many existing RL algorithms which are generating rollouts with tree structure instead of independent generation for single prompt. The author identifies the gap between existing inference engine with this use case. Based on this specific use case, the author proposed:

  1. Tree aware rollout scheduling compared to traditional request level scheduling
  2. Prefix-preserving partial preemption , which further enhances memory efficiency
  3. Split-aware transfer-or-recompute admission. By extensive experiments, the paper shows significant rollout efficiency improvement.
Strengths and weaknesses

Strengths

  • CANOPY achieves significant rollout speedups
  • The design directly addresses inefficiencies in tree-based rollouts
  • The gains preserve reward and accuracy

Weaknesses

  • The scope is limited to tree-structured RL rollouts. I am wondering if GRPO can benefit too.
  • Table 2 does not show number of rollouts per prompt and how does it impact the speedup
  • Figure 6 show a comparison for RL training: the experiment setup is unclear to me and 100 steps "EM" is not good enough.
Questions
  • I know the inference engine is not determined. Can you add an experiment with same kernel backend and random seed and temp 0 for sanity check?

  • When comparing speedup, i am wondering if the proposed optimization has any impact on average response length.

  • How ablation study is conducted is unclear to me.

  • Please add experiment setup details.

Limitations

yes

Paper formatting concerns

No Concerns

Final justification

Given the detailed added exp results and i think this is a useful speedup method for RL training. Thus, i raise my score to accept.

1 comment

Thank you. We added controlled system tests and six 300-step training runs. The AC raised the same concerns about matched work, repeated-run uncertainty, rollout count, and longer multi-seed training; the evidence below addresses both reviews.

Q1. Does standard GRPO benefit, and how many rollouts were used? The submitted ARPO configuration specifies 4 rollouts per prompt. Table 2 should have reported the exact count for every cell rather than leaving it implicit or suggesting one value applies to every algorithm. We therefore tested fixed-length groups from 8 to 128; all use identical work across policies and three repeats:

Group size8163248648096112128
Speedup vs Vanilla3.32x2.94x2.46x1.93x1.80x2.01x1.99x1.34x1.25x

All tested sizes benefit, including group 128. Larger groups change both reuse opportunity and concurrent KV pressure, yet the gain remains positive throughout the tested range. We will report the exact rollout count with every result.

Sampling multiple completions from one prompt creates a sibling group, so standard GRPO directly benefits from sibling co-location and prefix reuse, as the positive 8--128 sweep shows. Canopy additionally handles multi-turn agent rollout: a prefix generated during rollout can later become a branch point and remain needed by unfinished siblings when a running branch is preempted. The controller exposes that boundary and lifetime, allowing the engine to retain the shared prefix and release only the private suffix.

Q2--Q3. Are comparisons controlled, and do longer outputs retain the gain? First, an exact-output sanity check uses the same Qwen3-8B backend, request seed, and temperature 0: all policies complete 7 requests/4 leaves with exactly 608 input + 112 output tokens, and output hashes match. The larger timing tests below use the same weights, vLLM code/kernels, two 8-GPU H20 replicas, requests, arrivals, output budget, temperature 0, and request seed. Every value is a three-run mean±SD; completed requests and input/output token totals match.

WorkloadVanillarouting-onlyCanopyScope
Captured Agent-RL replay: 44 requests/16 trees; 39,429 input + 20,499 output tokens11.387±0.119 s11.267±0.126 s8.399±0.002 sIsolates routing/cache handling
32 requests, 3,424 output tokens/request26.222±0.391 s26.631±0.623 s17.417±0.003 sControlled synthetic length cell
32 requests, 3,616 output tokens/request27.236±0.223 s26.905±0.110 s18.458±0.005 sControlled synthetic length cell

These two length cells confirm that Canopy's gain remains at longer outputs. SGLang/Preble/KVFlow results are reported separately using their native backends.

Q4. Is 100-step, two-seed training enough? We extended the study to six new Qwen3-8B runs on HotpotQA/FlashRAG: Canopy and Vanilla for each of three paired seeds, all to 300 steps, with the same initialization, data order, training settings, 4 training rollouts per prompt, and 1 validation sample per prompt.

Paired seedCanopy validationVanilla validationDifference
025.85%23.80%+2.05 points
124.35%23.05%+1.30 points
224.85%24.21%+0.64 points
Mean25.02%23.69%+1.33 points

All three paired differences are positive, and all six runs finish 300 steps without divergence. This is 1,800 training steps in total and shows a consistently positive validation trend across all three paired seeds.

Ablations.

Component comparisonTimeInterpretation
Spill admission on vs off21.070 vs 25.097 s (3-run means)1.19x benefit inside Canopy
KV reuse on vs off21.196 vs 69.443 s (paired measurement)3.28x benefit
Partial preemption (submitted Table 3)Full releases fall 33.5%/94.1%/25.6%; reward changes <=0.005Direct evidence for retaining the live prefix while releasing the private suffix

The routing-only baseline isolates simple sibling co-location: Canopy is still 1.34x faster on the Agent-RL replay and 1.90x faster on the depth-10 tree, showing that the gain goes beyond placement alone. We will add the omitted rollout count, model/data/decoding settings, repeat counts, and token-matching rule to the revision.

Reviewer_gR6pOpenReview ↗
Rating
3
Clarity
2
Confidence
3
Originality
2
Quality
2
Significance
2
Read review
Summary

This paper introduces CANOPY, a rollout optimization framework for tree-based agent RL training. The key insight is that tree-based RL often generates rollouts with shared prefixes, yet existing systems such as VeRL overlook the opportunities for prefix reuse and prefix-aware scheduling. CANOPY introduces prefix-aware retention, routing, and recomputation admission to maximize prefix reusability, thereby reducing generation latency.

Strengths and weaknesses

Strength

  • Prefix-aware inference optimization is important in practice.
  • The design is reasonable and easy to follow.
  • The evaluation reports encouraging performance improvements.

Weakness

  • The contribution appears incremental, as prefix-sharing optimizations have been widely studied.
  • The evaluation does not include sufficiently strong state-of-the-art baselines.
Questions

Thank you for submitting this work to NeurIPS. The proposed design is reasonable, and the evaluation reports promising performance gains. However, my main concern is novelty: prefix-aware request scheduling and the tradeoff between KV-cache transfer and recomputation have already been widely studied. Applying these ideas to RLHF or tree-based RL training is useful, but the paper should more clearly articulate what is fundamentally new beyond this application context. Below are my specific questions and comments.

  • Q1: Why is the proposed technique specific to RL training? Prefix sharing is a common issue in LLM serving, including inference-time scaling, Tree-of-Thought-style reasoning, and other tree-structured generation workloads. The paper should better clarify what aspects of the RL training setting create new challenges or require new system mechanisms.

  • Q2: Section 3.1 states that “CANOPY transfers prefix KV only when transfer is cheaper than destination-side recomputation,” and Equation (3) formalizes this decision. However, this criterion may not hold once batching is considered, since different request groups may have different transfer and recomputation costs. For example, even if transfer is more expensive than recomputation for one group in isolation, transferring may still be preferable if it enables better batching or accommodates other requests. The current design also does not seem to consider recomputation-communication overlap. Can the paper discuss how these factors affect the admission decision?

  • Q3: While the paper discusses related work such as Preble, the evaluation baselines are limited. Can the paper include comparisons with more advanced prefix-aware scheduling and KV-cache reuse systems?

Other comments:

  • The “Background and Workload Model” section is too long and could be significantly streamlined.

  • Table 1 appears inaccurate, as Preble discusses both recomputation and transfer.

  • The paper is somewhat challenging to read due to the heavy use of jargon. Simplifying the terminology and improving the exposition would make the contribution clearer.

Limitations

Yes.

Paper formatting concerns

No.

Final justification

I thank the authors for their response and appreciate the additional experimental results. Based on the rebuttal, I am increasing my score to 3. However, several of my original concerns remain only partially addressed.

1 comment

Thank you for focusing on the central contribution and for flagging the Preble description, which we will correct. The AC raised the same central questions about novelty, stronger prefix-aware alternatives, Table 1, and the cross-server path; the response below addresses both reviews.

Q1. What is distinct from existing prefix-serving systems? Tree structure and prefix reuse are not the novelty. The key distinction is the information available, the state being acted on, and the unit of memory reclamation:

SystemInformation availableMain action and decision unit
SGLangRadix-tree cache state and running referencesRoute requests and evict cached leaves; a running request remains protected
PrebleGlobal radix tree, load, and eviction/recomputation/new-request costsRoute, redirect, or replicate future requests and evict cache nodes
KVFlowAgent workflow dependencies and predicted future reusePrioritize suffix eviction and prefix retention, with CPU prefetch
CanopyController-declared policy version, sibling membership, exact dynamic branch boundary, future-sibling need, and group completionSplit an active branch into two lifetimes: retain its still-live shared prefix, immediately release its branch-private suffix, and later resume correctly

We will correct the Preble row: Preble already accounts for eviction-induced later recomputation and transfer/routing cost. Canopy's contribution is a cross-layer lifetime contract between the rollout controller and serving engine, not another cache score or tree identifier. This contract creates three capabilities that cache state alone cannot provide: (i) it knows about not-yet-issued siblings and the exact point where their future paths diverge; (ii) it changes preemption of a running request from an all-or-nothing operation into separate shared-prefix and private-suffix reclamation; and (iii) group completion and policy-version changes provide explicit retention and invalidation boundaries. Implementing this requires controller metadata, engine-side state transitions, block-level split/release, correct resume, and version cleanup; simply adding a routing heuristic to SGLang, Preble, or KVFlow does not produce this behavior.

The interface is general, while RL rollout is especially suitable because its controller already knows sibling membership, future work, and model-version boundaries. Canopy supports the one-level multiple-completion case and extends it to multi-turn agent rollout, where branch points arise dynamically while earlier siblings are still active. The evidence also separates the contribution from simple placement: Canopy is 1.34x/1.90x faster than routing-only on the Agent-RL replay/depth-10 tree, and submitted Table 3 reduces full releases by 33.5%/94.1%/25.6% with reward changes <=0.005.

Q2. Does Eq. 3 omit batching and overlap? Yes. We therefore added a request-driven NCCL path with real Qwen3-8B requests rather than relying on Eq. 3 alone. Source prefill creates the KV once; the transfer arm packs it, sends it with torch.distributed NCCL, writes it at the destination, and serves the same siblings, while the control recomputes once at the destination and serves those siblings. With 31,008/65,536 prefix tokens and 3 siblings, transfer takes 1.795/1.983 s versus 8.605/23.728 s for recomputation (4.79x/11.97x; 3 runs); KV checksums and all outputs match. Across 222 settings, this path is stably faster in 215. We will revise Eq. 3 to include the omitted queueing, batch-formation, setup, and overlap terms, and use measured request-path cost with recomputation as the fallback.

Q3. What additional comparisons were conducted? We deployed all three requested systems. The table includes nine complete native-system runs (1,692 completed requests) plus our audited Canopy result:

System resultAudited workloadMean end-to-end timeCompletion
PrebleNative 188-request trace, 3 runs10.819 s188/188 every run
SGLangNative 188-request trace, 3 runs11.999 s188/188 every run
KVFlowNative 188-request trace, 3 runs12.186 s188/188 every run
Canopy (ours)Same-vLLM Agent-RL replay, 44 requests/16 trees, 3 runs8.399±0.002 s44/44 every run

The three native systems use the same 188-request trace and token work and finish without request errors. We additionally compare Canopy, Vanilla, and routing-only on identical vLLM workloads, providing a controlled measurement of Canopy's scheduling contribution:

Same-backend workloadVanillarouting-onlyCanopySpeedup vs Vanilla / routing-only
Agent-RL replay: 44 requests/16 trees; matched 39,429 input + 20,499 output tokens11.387±0.119 s11.267±0.126 s8.399±0.002 s1.36x / 1.34x
Dynamic depth-10 tree; matched 94 requests and 310,528 tokens16.248±0.252 s16.473±0.130 s8.676±0.007 s1.87x / 1.90x
Fixed-length groups 8--128, 3 runs/cell13.731±0.226 s15.209±0.239 s7.370±0.008 s1.86x / 2.06x

We will shorten the background and method, replace coined terms with plain wording where possible, and use a factual mechanism-by-mechanism table rather than binary checkmarks.

Reviewer_1jdeOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
1
Quality
3
Significance
3
Read review
Summary

Canopy makes prefix-caching on LLM serving engines more effective by providing it application-side information and applying application-aware caching policies during RL training rollout. To be specific, it provides sibling identities, prefix lifetime, and token reuse boundary information across rollout requests to the serving engine, which allows a more efficient request-level routing, preemption, and transfer/recompute policies on the serving engine.

Strengths and weaknesses

Canopy leverages locality properties inherent in tree-based RL rollouts to group-schedule sibling rollout requests by making the serving engine more workload-aware, analogous to the gang or NUMA scheduling in the more classical distributed systems. This is a good, straightforward solution to a classical problem, and would be an excellent extension to LLM serving systems. However, the same problems observed in workload-aware schedulers of classical distributed systems, such as load imbalance, starvation, or thrashing, may occur.

Questions
  1. One of the most common failure modes for spill-based group scheduling policy is cascading overflow or oscillation. For example, Once a large rollout group scheduled to resource A spills into a different resource B, it evicts further requests that should have been scheduled to B to different resources C or D, or back to resource A. In the first case (cascading overflow), the further requests to C or D are spilled to other resources, ultimately breaking the locality of the system, and in the second case (oscillation), requests to resource A and B ping-pongs back and forth, introducing network overhead and again breaking the locality. Does Canopy provide any guards to these two failure modes?

  2. How do you schedule rollout groups with heterogeneous group sizes? Do you have a global scheduler that runs some form of bin packing algorithm? Or is the scheduling always greedy per-tree?

  3. It seems that engine-side preemption leaves the victim's shared suffix KV cache portion behind in memory, in case of sibling request arriving. However, in such high-load situation where preemption often happens, it seems that the left-behind KV caches from different rollout groups may accumulate over repeated preemptions, further increasing the memory pressure until no request can be processed. Does Canopy have any guard against this?

Limitations

There seem to be several classical distributed systems problems, such as load imbalance, starvation, or thrashing, that may occur based on the descriptions of the paper, which the paper does not explicitly cover.

Paper formatting concerns

None

1 comment

Thank you. We added repeated tests for sustained spill, group sizes 8--128, and mixtures of different group sizes. The AC raised the same concerns about spill stability, heterogeneous trees, and retained-KV accumulation; the evidence below addresses both reviews.

1. Cascade, oscillation, and starvation. We ran four sustained-spill levels with 6,380/7,656/8,932/10,208 requests, three repeats each: 12 runs and 99,528 completed requests in total. Every run drains after input stops. Canopy records 518--983 real spills/run; no starvation or failure to drain occurs, and throughput differs from Vanilla by at most 1.8%. A destination must pass both a relative load-ratio threshold and an absolute in-flight-request gap, which suppress small load fluctuations. We will add cooldown/hysteresis as a further safeguard against ping-pong.

2. Heterogeneous group sizes. With fixed per-request work, every tested group size from 8 to 128 benefits:

Group size8163248648096112128
Speedup vs Vanilla3.32x2.94x2.46x1.93x1.80x2.01x1.99x1.34x1.25x
Speedup vs routing-only3.37x3.08x2.49x2.12x2.00x2.09x2.05x1.71x1.59x

The sweep contains 81 matched runs: 9 sizes x 3 policies x 3 repeats, with identical work across policies. Light and medium mixtures of different tree sizes also complete and drain, with 1.36x/1.40x speedup over Vanilla. The scheduler is online and greedy rather than a global bin-packing solver: it assigns a soft home to each tree and spills only after both load guards fire. The results show that this simpler rule handles the tested heterogeneous range without requiring global optimization.

3. Retained-prefix lifetime. Protection is scoped to one policy version and one active sibling group. The controller marks whether unfinished or not-yet-issued siblings still need the prefix. Once they do not, group metadata is removed and the blocks return to ordinary eviction; a time-to-live is a safety fallback, and a weight update invalidates old-version KV. Thus completed groups cannot keep protected KV indefinitely. During partial preemption, Canopy keeps only the live shared prefix and releases the current branch's private suffix. In submitted Table 3, this reduces full releases 433->288, 597->35, and 2,624->1,953 with reward changes <=0.005.

Comments on the paper

1 comment
Meta-review

CANOPY makes the active rollout tree a first-class serving object for agent reinforcement learning. It carries sibling and prefix-lifetime information into routing, KV-cache retention, partial preemption, and transfer-versus-recomputation decisions. The original submission showed promising rollout speedups and reduced shared-prefix invalidations, but my initial recommendation was reject because the evaluation did not sufficiently isolate the contribution from existing prefix-aware serving, lacked strong matched baselines, and left important questions about cross-server execution, scheduler stability, and longer-term RL behavior.

I have read the author response and the full reviewer discussion. The response materially changes my assessment. The authors added repeated same-backend comparisons against Vanilla and a routing-only baseline with identical requests and token work. CANOPY achieves 1.36x speedup over Vanilla and 1.34x over routing-only on an Agent-RL replay, and 1.87x/1.90x respectively on a dynamic depth-10 workload. They also added comparisons with Preble, SGLang, and KVFlow and corrected the earlier characterization of Preble.

The authors further validated the previously missing cross-server path using an end-to-end NCCL implementation, added sustained-spill and heterogeneous-group experiments showing no starvation or failure to drain across nearly 100K requests, and extended RL validation to 300 steps with three paired seeds. All three seed pairs show no learning degradation. These experiments directly address most of the decision-critical weaknesses in my initial assessment.

Reviewer positions also moved positively after discussion: Rgfe increased to Accept, 1jde maintained a positive rating after considering the additional evidence, and gR6p increased the rating while retaining some concerns about novelty and scope.

Some questions remain about how broadly the tree-lifetime abstraction generalizes and how CANOPY compares with the newest related serving systems. However, the new controlled experiments now isolate gains beyond simple sibling co-location and substantially strengthen the evidence for the proposed cross-layer tree-lifetime mechanism. I therefore change my recommendation to Accept (Poster).

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.