Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Making Large Language Models Better Reasoners with Step-Aware Verifier

About

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

Yifei Li, Zeqi Lin, Shizhuo Zhang, Qiang Fu, Bei Chen, Jian-Guang Lou, Weizhu Chen• 2022

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K
Accuracy82.3
983
Mathematical ReasoningGSM8K (test)
Accuracy84.1
751
Mathematical ReasoningMATH500 (test)
Accuracy47
381
Mathematical ReasoningSVAMP
Accuracy87
368
Mathematical ReasoningGSM8K
Accuracy91.4
351
Arithmetic ReasoningMultiArith
Accuracy99.8
181
Math ReasoningGSM8K (test)
Accuracy92.4
155
Commonsense ReasoningCommonsenseQA
Accuracy79.9
132
Commonsense ReasoningStrategyQA
Accuracy78.6
125
Arithmetic ReasoningASDIV
Accuracy88.7
54
Showing 10 of 17 rows

Other info

Code

Follow for update