通过关键步骤学习提升大模型推理泛化能力
CPL: Critical Plan Step Learning Boosts LLM Generalization in Reasoning Tasks
- 在抽象计划层面用蒙特卡洛树搜索探索多样解题策略
- 仅在GSM8K和MATH上训练,跨领域性能显著提升
- 适合追求推理泛化能力的模型优化研究者
后训练阶段,特别是使用自对弈生成数据的强化学习,已成为大语言模型的新范式。然而,将强化学习扩展为通用推理器仍面临挑战,现有方法多聚焦任务特定推理,缺乏对跨任务泛化能力的有效建模。与传统强化学习有限的动作空间不同,大语言模型处于无限动作空间中,因此寻找有价值且多样化的解题策略至关重要。为此,我们提出在高层次抽象计划空间内进行搜索,以增强模型泛化能力,并引入关键计划步骤学习(CPL),包含:1)在计划层面进行搜索,利用蒙特卡洛树搜索(MCTS)探索多步推理任务中的多样化计划步骤;2)通过步骤级优势偏好优化(Step-APO)学习关键计划步骤,将MCTS获得的步骤偏好优势估计整合进直接偏好优化(DPO)。该组合使模型能有效学习关键计划步骤,提升推理能力和泛化性。实验表明,仅在GSM8K和MATH上训练的方法,在GSM8K上提升10.5%,MATH上提升6.5%,并在多个域外推理基准上表现优异:HumanEval(+12.2%)、GPQA(+8.6%)、ARC-C(+4.0%)、MMLU-STEM(+2.2%)、BBH(+1.8%)。
原文摘要 · Abstract (English)
Post-training, particularly reinforcement learning (RL) using self-play-generated data, has become a new learning paradigm for large language models (LLMs). However, scaling RL to develop a general reasoner remains a research challenge, as existing methods focus on task-specific reasoning without adequately addressing generalization across a broader range of tasks. Moreover, unlike traditional RL with limited action space, LLMs operate in an infinite space, making it crucial to search for valuable and diverse strategies to solve problems effectively. To address this, we propose searching within the action space on high-level abstract plans to enhance model generalization and introduce Critical Plan Step Learning (CPL), comprising: 1) searching on plan, using Monte Carlo Tree Search (MCTS) to explore diverse plan steps in multi-step reasoning tasks, and 2) learning critical plan steps through Step-level Advantage Preference Optimization (Step-APO), which integrates advantage estimates for step preference obtained via MCTS into Direct Preference Optimization (DPO). This combination helps the model effectively learn critical plan steps, enhancing both reasoning capabilities and generalization. Experimental results demonstrate that our method, trained exclusively on GSM8K and MATH, not only significantly improves performance on GSM8K (+10.5%) and MATH (+6.5%), but also enhances out-of-domain reasoning benchmarks, such as HumanEval (+12.2%), GPQA (+8.6%), ARC-C (+4.0%), MMLU-STEM (+2.2%), and BBH (+1.8%).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。