# Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning   by Large Language Models

**Authors:** Lei Wang, Wanyu Xu, Yihuai Lan, Zhiqiang Hu, Yunshi Lan, Roy Ka-Wei, Lee, Ee-Peng Lim

arXiv: 2305.04091 · 2023-05-29

## TL;DR

This paper introduces Plan-and-Solve prompting, a method that improves zero-shot reasoning in large language models by decomposing tasks into subtasks, leading to better accuracy and fewer errors in multi-step reasoning tasks.

## Contribution

It proposes a novel zero-shot prompting strategy that decomposes reasoning tasks into plans and subtasks, reducing errors and enhancing performance over existing methods.

## Key findings

- Outperforms Zero-shot-CoT on ten datasets across reasoning tasks
- Achieves comparable or better results than Zero-shot-Program-of-Thought prompting
- Matches 8-shot CoT performance on math reasoning tasks

## Abstract

Large language models (LLMs) have recently been shown to deliver impressive performance in various NLP tasks. To tackle multi-step reasoning tasks, few-shot chain-of-thought (CoT) prompting includes a few manually crafted step-by-step reasoning demonstrations which enable LLMs to explicitly generate reasoning steps and improve their reasoning task accuracy. To eliminate the manual effort, Zero-shot-CoT concatenates the target problem statement with "Let's think step by step" as an input prompt to LLMs. Despite the success of Zero-shot-CoT, it still suffers from three pitfalls: calculation errors, missing-step errors, and semantic misunderstanding errors. To address the missing-step errors, we propose Plan-and-Solve (PS) Prompting. It consists of two components: first, devising a plan to divide the entire task into smaller subtasks, and then carrying out the subtasks according to the plan. To address the calculation errors and improve the quality of generated reasoning steps, we extend PS prompting with more detailed instructions and derive PS+ prompting. We evaluate our proposed prompting strategy on ten datasets across three reasoning problems. The experimental results over GPT-3 show that our proposed zero-shot prompting consistently outperforms Zero-shot-CoT across all datasets by a large margin, is comparable to or exceeds Zero-shot-Program-of-Thought Prompting, and has comparable performance with 8-shot CoT prompting on the math reasoning problem. The code can be found at https://github.com/AGI-Edgerunners/Plan-and-Solve-Prompting.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2305.04091/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/2305.04091/full.md

## References

43 references — full list in the complete paper: https://tomesphere.com/paper/2305.04091/full.md

---
Source: https://tomesphere.com/paper/2305.04091