arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.22304cs.CLcs.LG
收藏

Flow-DPO:通过在线多智能体学习提升大语言模型的数学推理能力

Flow-DPO: Improving LLM Mathematical Reasoning through Online Multi-Agent Learning

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Microsoft Research(微软研究院)

Yihe Deng, Paul Mineiro

AI总结:

针对大语言模型难以生成高质量数学推理轨迹的问题,提出Flow-DPO方法,通过多组件LLM协作的增量Flow构建解题方案,结合带滚动推演的在线DPO学习训练,有效提升了模型数学推理性能。

摘要:

数学推理是大语言模型(LLMs)的一项关键能力,然而生成详细且准确的推理轨迹仍是一项重大挑战。本文提出了一种利用在线学习Flows生成高质量推理轨迹以用于LLM微调的新方法。我们的方法采用增量式输出生成Flow,其中各组件LLM通过迭代通信协作构建解题方案。我们使用带滚动推演的在线直接偏好优化(DPO)学习来训练该Flow,为每个训练样本生成DPO偏好对并实时更新模型。我们将本方法生成的推理轨迹质量与直接模型推理生成的轨迹进行了直接对比,证明了该方法在提升LLM数学推理任务性能上的有效性。

英文摘要:

Mathematical reasoning is a crucial capability for Large Language Models (LLMs), yet generating detailed and accurate reasoning traces remains a significant challenge. This paper introduces a novel approach to produce high-quality reasoning traces for LLM fine-tuning using online learning \textbf{Flows}. Our method employs an incremental output production Flow, where component LLMs collaboratively construct solutions through iterative communication. We train the Flow using online Direct Preference Optimization (DPO) learning with rollouts, generating DPO pairs for each training example and updating models in real-time. We directly compare the quality of reasoning traces generated by our method with those produced through direct model inference, demonstrating the effectiveness of our approach in improving LLM performance in mathematical reasoning tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑