[论文解读] Making Large Language Models Better Reasoners with Step-Aware Verifier
DiVeRSe 引入 Diverse Prompts、Voting Verifier 和 Step-Aware Verifier,以提升大型语言模型的推理能力,在多个基线上取得新的 state-of-the-art 结果。
Few-shot learning is a challenging task that requires language models to generalize from limited examples. Large language models like GPT-3 and PaLM have made impressive progress in this area, but they still face difficulties in reasoning tasks such as GSM8K, a benchmark for arithmetic problems. To improve their reasoning skills, previous work has proposed to guide the language model with prompts that elicit a series of reasoning steps before giving the final answer, achieving a significant improvement on GSM8K from 17.9% to 58.1% in problem-solving rate. In this paper, we present DIVERSE (Diverse Verifier on Reasoning Step), a novel approach that further enhances the reasoning capability of language models. DIVERSE has three main components: first, it generates diverse prompts to explore different reasoning paths for the same question; second, it uses a verifier to filter out incorrect answers based on a weighted voting scheme; and third, it verifies each reasoning step individually instead of the whole chain. We evaluate DIVERSE on the latest language model code-davinci-002 and show that it achieves new state-of-the-art results on six of eight reasoning benchmarks (e.g., GSM8K 74.4% to 83.2%).
研究动机与目标
- 推动大型语言模型在算术和其他推理任务上的 few-shot 推理能力的提升。
- 提出一个三部分框架,通过诱发多样化的推理路径、利用训练好的验证器对路径进行验证、以及将正确性归因于单独的推理步骤来提升推理能力。
- 在使用 code-davinci-002 及其他 OpenAI 模型的多个推理基准上展示了最先进或强劲的结果。
提出的方法
- 为每个问题生成多样化的提示,并从每个提示中采样多条推理路径,以创造大规模的推理路径集合。
- 训练一个基于 DeBERTa-v3-Large 的验证器来评分推理路径,并实现一种投票方案,将路径分数聚合以选择最终答案。
- 将验证器扩展为逐步感知变体,分配并使用逐步正确性信号以改进路径评估和最终投票。
- 提供一种机制,通过将中间步骤与正向推理路径进行比较并对步骤进行语义等价性检查,提取逐步标签。
- 在三个 OpenAI 模型(davinci、text-davinci-002、code-davinci-002)上对 DiVeRSe 在八个推理基准(GSM8K、AsDiv、MultiArith、SVAMP、SingleEq、CommonsenseQA、StrategyQA、CLUTRR)的表现进行评估。
- 通过消融实验和人工评估分析多样提示、投票验证器和逐步感知验证器的影响。
实验结果
研究问题
- RQ1多样化提示和推理路径的采样是否能够提升大语言模型在 few-shot 推理中的鲁棒性和准确性?
- RQ2基于投票的验证器是否在从多条推理路径中选出正确答案方面优于多数投票和独立验证器?
- RQ3逐步感知的验证器是否提供可操作的逐步信号,从而在各类推理任务中提升最终准确性和可解释性?
- RQ4在不同模型家族下,DiVeRSe 组件在算术、常识推理和归纳推理基准上的表现如何?
主要发现
- DiVeRSe 在所有三个 OpenAI 模型和八个推理任务中,始终优于 Greedy Decode 和 Self-Consistency。
- 在 GSM8K 上使用 code-davinci-002,DiVeRSe 从 74.4% 提升至 83.2%,并在若干任务上显示出显著增益(如 GSM8K、CLUTRR、MultiArith)。
- DiVeRSe 在使用大型模型评估时,在八个推理基准中的六个基准上实现了新的 state-of-the-art 结果,包括算术推理和归纳推理(例如 CLUTRR 达到 95.9%)。
- 逐步感知验证器通常提高性能,人工评估表明逐步分数与正确的推理步骤一致,并有助于诊断推理路径失败的位置。
- 提示多样性联合路径采样带来最佳结果,优于各自单独使用的策略。
- 逐步级分析使对有用步骤给予部分分,并提供对哪些步骤促成正确或错误结论的可解释性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。