Skip to main content
QUICK REVIEW

[Paper Review] Making Large Language Models Better Reasoners with Step-Aware Verifier

Yifei Li, Zeqi Lin|arXiv (Cornell University)|Jun 6, 2022
Topic ModelingComputer Science39 citations
TL;DR

DiVeRSe introduces Diverse Prompts, a Voting Verifier, and a Step-Aware Verifier to improve reasoning in large language models, achieving new state-of-the-art results on multiple benchmarks.

ABSTRACT

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%).

Motivation & Objective

  • Motivate improving few-shot reasoning for large language models on arithmetic and other reasoning tasks.
  • Propose a three-part framework to enhance reasoning by inducing diverse reasoning paths, verifying paths via a trained verifier, and attributing correctness to individual reasoning steps.
  • Demonstrate state-of-the-art or strong results across multiple reasoning benchmarks using code-davinci-002 and other OpenAI models.

Proposed method

  • Generate diverse prompts per question and sample multiple reasoning paths from each prompt to create a large set of reasoning paths.
  • Train a DeBERTa-v3-Large based verifier to score reasoning paths and implement a voting scheme that aggregates path scores to select final answers.
  • Extend the verifier to a step-aware variant that assigns and uses per-step correctness signals to improve path evaluation and final voting.
  • Provide a mechanism to extract step-level labels by comparing intermediate steps against positive reasoning paths and using a semantic equivalence check on steps.
  • Evaluate DiVeRSe on eight reasoning benchmarks (GSM8K, AsDiv, MultiArith, SVAMP, SingleEq, CommonsenseQA, StrategyQA, CLUTRR) across three OpenAI models (davinci, text-davinci-002, code-davinci-002).
  • Analyse the impact of diverse prompts, voting verifier, and step-aware verifier through ablations and human evaluation.

Experimental results

Research questions

  • RQ1Can diverse prompts and sampling of reasoning paths improve robustness and accuracy of few-shot reasoning in LLMs?
  • RQ2Does a voting-based verifier outperform majority voting and standalone verifiers for selecting correct answers from multiple reasoning paths?
  • RQ3Does a step-aware verifier provide actionable per-step signals that improve final accuracy and interpretability across reasoning tasks?
  • RQ4How do DiVeRSe components perform across arithmetic, commonsense, and inductive reasoning benchmarks with different model families?

Key findings

  • DiVeRSe consistently improves over Greedy Decode and Self-Consistency across all three OpenAI models and across eight reasoning tasks.
  • On GSM8K with code-davinci-002, DiVeRSe reaches 83.2% from 74.4% and shows substantial gains across several tasks (e.g., GSM8K, CLUTRR, MultiArith).
  • DiVeRSe achieves new state-of-the-art results on six of eight reasoning benchmarks when evaluated with large models, including arithmetic and inductive reasoning (e.g., CLUTRR attaining 95.9%).
  • A step-aware verifier generally improves performance, with human evaluation indicating step-level scores align with correct reasoning steps and help diagnose where reasoning paths fail.
  • Diversity of prompts plus path sampling yields the best results, outperforming either strategy in isolation.
  • Step-level analysis enables partial credit for useful steps and provides interpretability into which steps contribute to correct or incorrect conclusions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.