通过MCTS实现大语言模型的自我提升:结合课程偏好学习利用逐步知识
Towards Self-Improvement of LLMs via MCTS: Leveraging Stepwise Knowledge with Curriculum Preference Learning
AI总结:
针对现有MCTS行为蒸馏方法未充分利用轨迹信息的问题,提出含逐步轨迹对构建和课程偏好学习的AlphaLLM-CPL框架,显著提升大语言模型数学推理能力。
摘要:
蒙特卡洛树搜索(Monte Carlo Tree Search, MCTS)近期已成为增强大语言模型(LLM)推理能力的强大技术。监督微调(SFT)、直接偏好优化(DPO)等技术已能让LLM从MCTS中提炼高质量行为,提升其推理性能。然而现有蒸馏方法未充分利用MCTS生成的丰富轨迹信息,限制了LLM推理能力的提升潜力。本文提出AlphaLLM-CPL,这是一种新型成对训练框架,可让LLM通过MCTS行为蒸馏实现自我提升。AlphaLLM-CPL通过两项关键创新高效利用MCTS轨迹:(1)AlphaLLM-CPL从搜索树中共享同一父节点的子节点构建逐步轨迹对,提供步骤级信息以实现更高效的MCTS行为蒸馏。(2)AlphaLLM-CPL引入课程偏好学习,在每个离线训练轮次中动态调整轨迹对的训练顺序,优先安排关键学习步骤并缓解过拟合。数学推理任务的实验结果表明,AlphaLLM-CPL显著优于以往的MCTS行为蒸馏方法,大幅提升了LLM的推理能力。
英文摘要:
Monte Carlo Tree Search (MCTS) has recently emerged as a powerful technique for enhancing the reasoning capabilities of LLMs. Techniques such as SFT or DPO have enabled LLMs to distill high-quality behaviors from MCTS, improving their reasoning performance. However, existing distillation methods underutilize the rich trajectory information generated by MCTS, limiting the potential for improvements in LLM reasoning. In this paper, we propose AlphaLLM-CPL, a novel pairwise training framework that enables LLMs to self-improve through MCTS behavior distillation. AlphaLLM-CPL efficiently leverages MCTS trajectories via two key innovations: (1) AlphaLLM-CPL constructs stepwise trajectory pairs from child nodes sharing the same parent in the search tree, providing step-level information for more effective MCTS behavior distillation. (2) AlphaLLM-CPL introduces curriculum preference learning, dynamically adjusting the training sequence of trajectory pairs in each offline training epoch to prioritize critical learning steps and mitigate overfitting. Experimental results on mathematical reasoning tasks demonstrate that AlphaLLM-CPL significantly outperforms previous MCTS behavior distillation methods, substantially boosting the reasoning capabilities of LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。