arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10858cs.CLcs.AI
收藏

用于数学推理的步级价值偏好优化

Step-level Value Preference Optimization for Mathematical Reasoning

Tongyi Lab(通义实验室)

Guoxin Chen, Minpeng Liao, Chengxi Li, Kai Fan

AI总结:

针对多步数学推理中整体偏好标注无法捕捉细粒度质量的问题,提出SVPO算法,利用MCTS标注步级偏好并训练显式价值模型,在同域和跨域基准上达到SOTA。

摘要:

使用隐式奖励模型的 Direct Preference Optimization (DPO) 已被证明是 Reinforcement Learning from Human Feedback (RLHF) 的有效替代方案,用于微调偏好对齐的大语言模型 (LLMs)。然而,响应的整体偏好标注无法完全捕捉模型在复杂多步推理任务(如数学推理)中输出的细粒度质量。为了解决这一局限性,我们提出了一种名为 Step-level Value Preference Optimization (SVPO) 的新算法。该方法采用 Monte Carlo Tree Search (MCTS) 自动为多步推理标注步级偏好。此外,从 learning-to-rank 的角度,我们训练了一个显式价值模型来复现隐式奖励模型的行为,以补充标准偏好优化。该价值模型使 LLM 能够在推理期间以极低成本生成更高奖励的响应。实验结果表明,我们的方法在同域和跨域数学推理基准上均达到了 state-of-the-art 的性能。

英文摘要:

Direct Preference Optimization (DPO) using an implicit reward model has proven to be an effective alternative to reinforcement learning from human feedback (RLHF) for fine-tuning preference aligned large language models (LLMs). However, the overall preference annotations of responses do not fully capture the fine-grained quality of model outputs in complex multi-step reasoning tasks, such as mathematical reasoning. To address this limitation, we introduce a novel algorithm called Step-level Value Preference Optimization (SVPO). Our approach employs Monte Carlo Tree Search (MCTS) to automatically annotate step-level preferences for multi-step reasoning. Furthermore, from the perspective of learning-to-rank, we train an explicit value model to replicate the behavior of the implicit reward model, complementing standard preference optimization. This value model enables the LLM to generate higher reward responses with minimal cost during inference. Experimental results demonstrate that our method achieves state-of-the-art performance on both in-domain and out-of-domain mathematical reasoning benchmarks. Our code is available at \url{https://github.com/MARIO-Math-Reasoning/Super_MARIO}.

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

↑