English

ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Search

Computation and Language 2024-11-19 v3

Abstract

Recent methodologies in LLM self-training mostly rely on LLM generating responses and filtering those with correct output answers as training data. This approach often yields a low-quality fine-tuning training set (e.g., incorrect plans or intermediate reasoning). In this paper, we develop a reinforced self-training approach, called ReST-MCTS*, based on integrating process reward guidance with tree search MCTS* for collecting higher-quality reasoning traces as well as per-step value to train policy and reward models. ReST-MCTS* circumvents the per-step manual annotation typically used to train process rewards by tree-search-based reinforcement learning: Given oracle final correct answers, ReST-MCTS* is able to infer the correct process rewards by estimating the probability this step can help lead to the correct answer. These inferred rewards serve dual purposes: they act as value targets for further refining the process reward model and also facilitate the selection of high-quality traces for policy model self-training. We first show that the tree-search policy in ReST-MCTS* achieves higher accuracy compared with prior LLM reasoning baselines such as Best-of-N and Tree-of-Thought, within the same search budget. We then show that by using traces searched by this tree-search policy as training data, we can continuously enhance the three language models for multiple iterations, and outperform other self-training algorithms such as ReSTEM^\text{EM} and Self-Rewarding LM. We release all code at https://github.com/THUDM/ReST-MCTS.

Keywords

Cite

@article{arxiv.2406.03816,
  title  = {ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Search},
  author = {Dan Zhang and Sining Zhoubian and Ziniu Hu and Yisong Yue and Yuxiao Dong and Jie Tang},
  journal= {arXiv preprint arXiv:2406.03816},
  year   = {2024}
}

Comments

Accepted to NeurIPS 2024

R2 v1 2026-06-28T16:55:27.696Z