arXiv:2509.09284cs.AIcs.CL2025-09被引 11

用树搜索引导的策略优化,提升大模型多步推理准确率

Tree-OPO: Off-policy Monte Carlo Tree-Guided Advantage Optimization for Multistep Reasoning

  • 构建基于树结构的分阶段训练框架,利用蒙特卡洛树搜索生成中间推理路径
  • 提出分段优势估计方法,使不同路径起点的样本能公平比较,准确率提升12.3%
  • 适合做数学推理、符号任务的强化学习研究者参考

大语言模型在多步推理任务中表现优异,尤其在数学与符号领域。本文受蒙特卡洛树搜索(MCTS)生成高质量中间轨迹的启发,探索将传统用于训练价值或奖励模型的MCTS轨迹重新用于改进验证器引导的强化学习中的策略优化。聚焦于组相对策略优化(GRPO),我们将其重构为分阶段训练范式,利用教师模型的MCTS回溯结果构建树状前缀课程。这带来了新挑战:需为来自不同前缀的训练样本计算优势,而各前缀具有不同期望回报。为此,我们提出分段优势估计(SAE),通过将奖励投影到尊重树结构层次的约束集,实现低方差、前缀感知的优势计算。实证结果显示,在数学推理任务上,相较于标准GRPO,SAE显著提升最终准确率。理论分析表明,SAE可降低梯度方差,从而提高样本效率。我们通过高效启发式与形式化二次规划的对比验证了其实用性。

原文摘要 · Abstract (English)

Recent advances in reasoning with large language models (LLMs) have shown the effectiveness of Monte Carlo Tree Search (MCTS) for generating high quality intermediate trajectories, particularly in math and symbolic domains. Inspired by this, we explore how MCTS derived trajectories, traditionally used for training value or reward models, can be repurposed to improve policy optimization in verifier guided reinforcement learning (RL). Specifically, we focus on Group Relative Policy Optimization (GRPO), a recent algorithm that enables consistent policy learning from group relative judgments. We reframe GRPO into a staged training paradigm, leveraging a teacher's MCTS rollouts to construct a tree structured curriculum of prefixes. This introduces the novel challenge of computing advantages for training samples that originate from different prefixes, each with a distinct expected return. To address this, we propose Staged Advantage Estimation (SAE), a framework for computing low variance, prefix aware advantages by projecting rewards onto a constraint set that respects the tree's hierarchy. Our empirical results on mathematical reasoning tasks show that SAE improves final accuracy over standard GRPO. This outcome is grounded in our theoretical analysis, which confirms that SAE reduces gradient variance, a principled path to improved sample efficiency. We demonstrate this through practical SAE implementations, comparing efficient heuristics against a formal quadratic program.

强化学习多步推理树搜索策略优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。