LLaMA-Berry:面向O1级奥林匹克数学推理的成对优化
LLaMA-Berry: Pairwise Optimization for O1-like Olympiad-Level Mathematical Reasoning
AI总结:
LLaMA-Berry框架将MCTS与迭代自我精炼结合,并用成对偏好奖励模型和增强型波达计数进行全局路径优化,在奥林匹克级数学推理基准上显著提升了搜索效率与求解能力。
摘要:
本文提出了一个先进的数学问题求解框架LLaMA-Berry,用于增强大语言模型(LLMs)的数学推理能力。该框架将蒙特卡洛树搜索(MCTS)与迭代式自我精炼(Self-Refine)相结合来优化推理路径,并利用成对奖励模型对不同路径进行全局评估。通过利用LLMs的自我批评和重写能力,应用于MCTS的自我精炼(SR-MCTS)通过促进对解空间更高效的探索,克服了传统逐步搜索和贪心搜索算法的低效性和局限性。受人类反馈强化学习(RLHF)启发的成对偏好奖励模型(PPRM)随后被用于建模解之间的成对偏好,利用增强型波达计数(EBC)方法将这些偏好综合为全局排名分数,以找到更好的答案。该方法解决了数学推理任务中评分变异性和非独立分布的挑战。该框架已在通用和高级基准上进行了测试,在搜索效率和问题求解能力方面表现出优于ToT和rStar等现有方法的性能,尤其是在GPQA、AIME24和AMC23等复杂的奥林匹克级基准上。
英文摘要:
This paper presents an advanced mathematical problem-solving framework, LLaMA-Berry, for enhancing the mathematical reasoning ability of Large Language Models (LLMs). The framework combines Monte Carlo Tree Search (MCTS) with iterative Self-Refine to optimize the reasoning path and utilizes a pairwise reward model to evaluate different paths globally. By leveraging the self-critic and rewriting capabilities of LLMs, Self-Refine applied to MCTS (SR-MCTS) overcomes the inefficiencies and limitations of conventional step-wise and greedy search algorithms by fostering a more efficient exploration of solution spaces. Pairwise Preference Reward Model~(PPRM), inspired by Reinforcement Learning from Human Feedback (RLHF), is then used to model pairwise preferences between solutions, utilizing an Enhanced Borda Count (EBC) method to synthesize these preferences into a global ranking score to find better answers. This approach addresses the challenges of scoring variability and non-independent distributions in mathematical reasoning tasks. The framework has been tested on general and advanced benchmarks, showing superior performance in terms of search efficiency and problem-solving capability compared to existing methods like ToT and rStar, particularly in complex Olympiad-level benchmarks, including GPQA, AIME24 and AMC23.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。