分组模式选择优化:让大推理模型选择正确的推理模式
Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoning
AI总结:
GPSO通过强化学习框架优化大推理模型的推理模式选择,提升其在不同问题上的推理性能。
摘要:
大型推理模型(LRMs)表现出多样化的高层推理模式(例如直接求解、反思与验证以及探索多种解法),但现有的训练方法隐含地使模型偏向于有限的主导模式集。通过系统分析,我们发现这些模式在数学和科学基准测试中存在显著的准确性差异,揭示了模型的默认推理模式往往对给定问题来说是次优的。为此,我们引入了分组模式选择优化(GPSO),这是一种强化学习框架,通过整合多模式回放、基于验证器的每问题最优模式选择以及优化过程中的注意力掩码来防止显式模式后缀泄露到学习的策略中。通过探索多样化的推理策略并优化最有效的策略,GPSO使模型能够内化从问题特征到最优推理模式的映射。大量实验表明,GPSO在各种模型主干和基准测试中均能带来一致且显著的性能提升,有效缓解了模式次优问题,促进了更稳健、适应性强的推理。所有数据和代码均可在https://github.com/wanghanbinpanda/GPSO获取。
英文摘要:
Large reasoning models (LRMs) exhibit diverse high-level reasoning patterns (e.g., direct solution, reflection-and-verification, and exploring multiple solutions), yet prevailing training recipes implicitly bias models toward a limited set of dominant patterns. Through a systematic analysis, we identify substantial accuracy variance across these patterns on mathematics and science benchmarks, revealing that a model's default reasoning pattern is often sub-optimal for a given problem. To address this, we introduce Group Pattern Selection Optimization (GPSO), a reinforcement learning framework that extends GRPO by incorporating multi-pattern rollouts, verifier-guided optimal pattern selection per problem, and attention masking during optimization to prevent the leakage of explicit pattern suffixes into the learned policy. By exploring a portfolio of diverse reasoning strategies and optimizing the policy on the most effective ones, GPSO enables the model to internalize the mapping from problem characteristics to optimal reasoning patterns. Extensive experiments demonstrate that GPSO delivers consistent and substantial performance gains across various model backbones and benchmarks, effectively mitigating pattern sub-optimality and fostering more robust, adaptable reasoning. All data and codes are available at https://github.com/wanghanbinpanda/GPSO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。