Aha.
正在载入中英对照阅读…

arXiv:2406.03816 · 中英对照阅读

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

Dan Zhang、Sining Zhoubian、Ziniu Hu、Yisong Yue、Yuxiao Dong、Jie Tang

中文速览

让大模型靠自己生成推理过程来提升能力,常会把“碰巧答对、过程却有错”的内容也收进训练集,缺少逐步标注又让这类问题难以解决。ReST-MCTS∗把过程奖励模型和树搜索结合起来:从已知正确答案出发,多次尝试后估计每一步对解题的帮助,再用这些估计筛选推理过程、训练模型。实验显示,在相同搜索预算下,它比多种常见推理方法更容易找到正确答案,用搜索得到的过程反复训练,也优于若干已有自训练方法。它的重要意义在于,不必人工逐步标注,就能自动获得更可靠的推理训练信号,让大模型有望更稳健地学会复杂推理。

摘要

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 ReST ${}^{\text{EM}}$ and Self-Rewarding LM. We release all code at https://github.com/THUDM/ReST-MCTS.

术语表

Large Language Model (LLM)
大语言模型(LLM)
self-training
自训练
reinforced self-training
强化式自训练
ReST-MCTS∗
ReST-MCTS∗
Monte Carlo Tree Search (MCTS)
蒙特卡洛树搜索(MCTS)
MCTS∗
MCTS∗
tree search
树搜索
rollout
模拟展开
reasoning trace
推理轨迹
process reward
过程奖励
Process Reward Model (PRM)
过程奖励模型(PRM)
Outcome Reward Model (ORM)
结果奖励模型(ORM)
value function
价值函数
policy model
策略模型
model-based reinforcement learning
基于模型的强化学习
fine-tuning
微调
credit assignment
信用分配
Chain-of-Thought (CoT)
思维链(CoT)
Tree-of-Thought (ToT)
思维树(ToT)
Self-Consistency (SC)
自洽性(SC)
Best-of-N (BoN)
N选优(BoN)
STaR
STaR
RFT
RFT
ReST^EM
ReST^EM
V-STaR
V-STaR
Self-Rewarding LM
自奖励语言模型
MATH-SHEPHERD
MATH-SHEPHERD
SciBench
SciBench
MATH
MATH