arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00390cs.CL
收藏

通过基于树的偏好学习推进大语言模型的过程验证

Advancing Process Verification for Large Language Models via Tree-Based Preference Learning

Zhejiang University(浙江大学)

Mingqian He, Yongliang Shen, Wenqi Zhang, Zeqi Tan, Weiming Lu

AI总结:

本文提出Tree-PLV方法,通过最佳优先搜索构建推理树并利用步骤级偏好学习训练验证器,在多个算术与常识推理任务上显著超越现有基线,证明步骤级反馈能更精准地评估推理过程。

摘要:

大语言模型(LLMs)在通过生成逐步推理过程来处理复杂推理任务方面已展现出显著潜力。一些方法通过引入额外验证器来评估这些推理路径,已被证明能有效提升准确率。然而,现有验证器通常基于二值标注的推理路径进行训练,未能充分利用中间步骤之间的相对优劣,从而限制了所提供反馈的有效性。为克服这一局限,我们提出了基于树的偏好学习验证器(Tree-PLV),这是一种新方法,通过最佳优先搜索算法构建推理树,并收集步骤级配对数据进行偏好训练。与传统二值分类相比,步骤级偏好能更精细地捕捉推理步骤之间的细微差别,从而对完整推理路径做出更精确的评估。我们在一系列算术和常识推理任务上对Tree-PLV进行了实证评估,其表现显著优于现有基准。例如,Tree-PLV在GSM8K(67.55%提升至82.79%)、MATH(17.00%提升至26.80%)、CSQA(68.14%提升至72.97%)和StrategyQA(82.86%提升至83.25%)上相较于Mistral-7B自一致性基线均取得了显著性能提升。此外,我们的研究探讨了应用偏好学习的适当粒度,揭示出步骤级指导所提供的反馈能更好地与推理过程的评估保持一致。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable potential in handling complex reasoning tasks by generating step-by-step rationales.Some methods have proven effective in boosting accuracy by introducing extra verifiers to assess these paths. However, existing verifiers, typically trained on binary-labeled reasoning paths, fail to fully utilize the relative merits of intermediate steps, thereby limiting the effectiveness of the feedback provided. To overcome this limitation, we propose Tree-based Preference Learning Verifier (Tree-PLV), a novel approach that constructs reasoning trees via a best-first search algorithm and collects step-level paired data for preference training. Compared to traditional binary classification, step-level preferences more finely capture the nuances between reasoning steps, allowing for a more precise evaluation of the complete reasoning path. We empirically evaluate Tree-PLV across a range of arithmetic and commonsense reasoning tasks, where it significantly outperforms existing benchmarks. For instance, Tree-PLV achieved substantial performance gains over the Mistral-7B self-consistency baseline on GSM8K (67.55% to 82.79%), MATH (17.00% to 26.80%), CSQA (68.14% to 72.97%), and StrategyQA (82.86% to 83.25%).Additionally, our study explores the appropriate granularity for applying preference learning, revealing that step-level guidance provides feedback that better aligns with the evaluation of the reasoning process.

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

↑