English

TreeRL: LLM Reinforcement Learning with On-Policy Tree Search

Machine Learning 2025-06-16 v1 Computation and Language

Abstract

Reinforcement learning (RL) with tree search has demonstrated superior performance in traditional reasoning tasks. Compared to conventional independent chain sampling strategies with outcome supervision, tree search enables better exploration of the reasoning space and provides dense, on-policy process rewards during RL training but remains under-explored in On-Policy LLM RL. We propose TreeRL, a reinforcement learning framework that directly incorporates on-policy tree search for RL training. Our approach includes intermediate supervision and eliminates the need for a separate reward model training. Existing approaches typically train a separate process reward model, which can suffer from distribution mismatch and reward hacking. We also introduce a cost-effective tree search approach that achieves higher search efficiency under the same generation token budget by strategically branching from high-uncertainty intermediate steps rather than using random branching. Experiments on challenging math and code reasoning benchmarks demonstrate that TreeRL achieves superior performance compared to traditional ChainRL, highlighting the potential of tree search for LLM. TreeRL is open-sourced at https://github.com/THUDM/TreeRL.

Keywords

Cite

@article{arxiv.2506.11902,
  title  = {TreeRL: LLM Reinforcement Learning with On-Policy Tree Search},
  author = {Zhenyu Hou and Ziniu Hu and Yujiang Li and Rui Lu and Jie Tang and Yuxiao Dong},
  journal= {arXiv preprint arXiv:2506.11902},
  year   = {2025}
}

Comments

Accepted to ACL 2025 main conference

R2 v1 2026-07-01T03:16:04.249Z