Chain-of-Thought Prompting Elicits Reasoning in Large Language Models

Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter +4 more
1/28/2022
23,986 citations
cs.CLcs.AI

No official code found. Best implementation: Timothyxxx/Chain-of-ThoughtsPapers (2,105 stars, last commit 2023-10-05).

Abstract

We explore how generating a chain of thought -- a series of intermediate reasoning steps -- significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reasoning abilities emerge naturally in sufficiently large language models via a simple method called chain of thought prompting, where a few chain of thought demonstrations are provided as exemplars in prompting.

Show full abstract

Experiments on three large language models show that chain of thought prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks. The empirical gains can be striking. For instance, prompting a 540B-parameter language model with just eight chain of thought exemplars achieves state of the art accuracy on the GSM8K benchmark of math word problems, surpassing even finetuned GPT-3 with a verifier.

View on arXivView PDF

Code Implementations(1)

A trend starts from "Chain of Thought Prompting Elicits Reasoning in Large Language Models".

2,105143Apr 6, 20223 years ago
chain-of-thoughtcodexgpt-3in-context-learninglarge-language-models+2 more

Similar Papers

Cite this paper

@article{wei2022chainofthought,
  title  = {Chain-of-Thought Prompting Elicits Reasoning in Large Language Models},
  author = {Jason Wei and Xuezhi Wang and Dale Schuurmans and Maarten Bosma and Brian Ichter and Fei Xia and Ed Chi and Quoc Le and Denny Zhou},
  year   = {2022},
  eprint = {2201.11903},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.11903}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.11903.svg)](https://codeofpaper.com/paper/2201.11903)

Discussion