Process Reward Informed Tree Rollout for Effective Multi-Turn RL

Xintong Li, Sha Li, Yuwei Zhang, Changlong Yu, Rongmei Lin, Hongye Jin, Shuyi Guan, Xin Liu, Linwei Li, Qingyu Yin, Jingbo ShangarXiv 2026

TL;DR

The paper introduces PATR (Process-Scorer Guided Adaptive Tree Rollout), a framework that significantly improves reinforcement learning for multi-turn LLM agents. Instead of wasting compute on uniformly sampling complete trajectories, PATR builds a tree of partial trajectories, using a process scorer to dynamically expand promising paths and prune dead-ends early. This approach boosts performance by up to +5.0 points on SWE-Bench and +9.3 points on FrozenLake while remaining fully compatible with standard policy optimization methods like GRPO.

What Problem Does This Paper Address?

When training Large Language Models (LLMs) as multi-turn agents (e.g., code editors or web navigators) using Reinforcement Learning (RL), popular algorithms like GRPO or RLOO rely on sampling multiple independent, full-length trajectories to estimate advantages.

However, this uniform rollout strategy has a major flaw in long-horizon tasks: it allocates the same computational budget to a trajectory stuck in an uninformative dead-end loop as it does to a highly promising intermediate state. This leads to inefficient exploration, noisy advantage estimation, and wasted compute. The authors reframe this challenge: since multi-turn agent interactions naturally form a tree structure, effective exploration is fundamentally a problem of deciding where to branch and where to stop.

Methods

The authors propose PATR, which dynamically manages a tree of partial trajectories during the RL rollout phase.

Figure 1: Overview of PATR. Task-adaptive process scorer evaluates partial trajectories and guides adaptive rollout through expansion, survival, and pruning. The rollout group is optimized with standard GRPO using task rewards.

The core algorithm operates iteratively:

  1. Advance: Active branches are rolled out for a fixed number of steps ($K$).
  2. Score: A task-adaptive process scorer ($S_\phi$) evaluates the partial trajectories and assigns a scalar score.
  3. Route: Based on the score, branches are sorted into three paths:
  4. Expansion: High-scoring branches sample $M$ multiple child continuations from that intermediate state, effectively reusing the shared prefix compute.
  5. Survival: Moderate-scoring branches continue to the next iteration.
  6. Pruning: Low-scoring or looping branches are stopped early.

Crucially, PATR is designed to be plug-and-play with standard GRPO. The process scorer is only used to allocate the rollout budget (where to sample more or less). The actual policy optimization still relies entirely on the final task outcome rewards, preventing the policy from hacking or exploiting a flawed intermediate reward model.

The framework supports three types of process scorers:

  • Heuristic Scorer: Lightweight, domain-specific rules (e.g., distance to a goal).
  • Pretrained PRM Scorer: Utilizing step-level Process Reward Models to aggregate branch scores.
  • LLM-as-judge Scorer: Using an LLM with phase-specific prompts (diagnosis, editing, verification) for complex, open-ended tasks.

Datasets

The framework was evaluated on two distinct environments:

  • FrozenLake: A controlled grid-world navigation task used to test the framework when reliable progress signals are directly observable via simple heuristics.
  • SWE-Bench Verified: A challenging, human-filtered benchmark consisting of 500 real-world GitHub issues. This environment tests the agent's ability to handle long-horizon software engineering tasks involving repository exploration, code editing, and verification.

Key Insights and Ideas

  • Don't Throw Away Failures: A key design choice in PATR is that early-pruned and failed branches are retained in the final rollout group rather than discarded. Because GRPO computes relative advantages within a sampled group, these early failures serve as highly informative negative examples without requiring the budget of a full-length failed trajectory.
  • Separation of Allocation and Optimization: By using process rewards strictly for guiding search/sampling density and relying on outcome rewards for the actual policy gradient update, PATR avoids the common pitfall of reward-model exploitation (reward hacking).
  • Adaptive Branching Beats Random Tree Search: Simply building a tree structure isn't enough. The paper demonstrates that a tree with random branch allocation performs worse than standard GRPO, proving that targeted, quality-aware process guidance is what unlocks the sample efficiency.

Key Results

PATR demonstrated strong improvements across both benchmarks and model scales:

  • SWE-Bench Verified: PATR-PRM achieved a 27.2% resolved rate, outperforming vanilla GRPO (22.2%) by +5.0 points and beating the strongest adaptive baseline, ARPO, by +1.8 points.
  • FrozenLake: For a smaller Qwen2.5-0.5B-Instruct model, PATR boosted the success rate from 66.5% to 75.8% (+9.3 points).
Training curves on FrozenLake and SWE-Bench showing that PATR achieves higher success/resolved rates earlier in training.

As seen in the training curves, PATR consistently converges faster and achieves higher final performance. Furthermore, PATR achieved these results with shorter average response lengths and fewer total turns, proving it learns more directed, efficient interaction patterns rather than just dragging out trajectories.

Limitations and Future Work

  • Scorer Dependency: PATR's efficiency is tightly bound to the quality of the process scorer. If a pretrained PRM or LLM judge exhibits biases (such as favoring longer responses), it can lead to suboptimal branching or premature pruning.
  • Domain Scope: While the paper validates PATR on navigation and software engineering, the authors note that further evaluation is required to prove its generalization across other complex multi-turn domains like web navigation, embodied AI, or open-ended tool use.

Summary updated

BibTeX
@misc{li2026process,
  author = {Xintong Li and Sha Li and Yuwei Zhang and Changlong Yu and Rongmei Lin and Hongye Jin and Shuyi Guan and Xin Liu and Linwei Li and Qingyu Yin and Jingbo Shang},
  title = {{Process Reward Informed Tree Rollout for Effective Multi-Turn RL}},
  year = {2026},
  eprint = {2607.15610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.15610},
}
Figure