Large Language Models are Zero-Shot Reasoners

弹丸 任务(项目管理) 水准点(测量) 计算机科学 零(语言学) 人工智能 自然语言处理 认知心理学 语言学 心理学 工程类 地理 大地测量学 化学 有机化学 系统工程 哲学
作者
Takeshi Kojima,Shixiang Gu,Machel Reid,Yutaka Matsuo,Yusuke Iwasawa
出处
期刊:Cornell University - arXiv 被引量:804
标识
DOI:10.48550/arxiv.2205.11916
摘要

Pretrained large language models (LLMs) are widely used in many sub-fields of natural language processing (NLP) and generally known as excellent few-shot learners with task-specific exemplars. Notably, chain of thought (CoT) prompting, a recent technique for eliciting complex multi-step reasoning through step-by-step answer examples, achieved the state-of-the-art performances in arithmetics and symbolic reasoning, difficult system-2 tasks that do not follow the standard scaling laws for LLMs. While these successes are often attributed to LLMs' ability for few-shot learning, we show that LLMs are decent zero-shot reasoners by simply adding "Let's think step by step" before each answer. Experimental results demonstrate that our Zero-shot-CoT, using the same single prompt template, significantly outperforms zero-shot LLM performances on diverse benchmark reasoning tasks including arithmetics (MultiArith, GSM8K, AQUA-RAT, SVAMP), symbolic reasoning (Last Letter, Coin Flip), and other logical reasoning tasks (Date Understanding, Tracking Shuffled Objects), without any hand-crafted few-shot examples, e.g. increasing the accuracy on MultiArith from 17.7% to 78.7% and GSM8K from 10.4% to 40.7% with large InstructGPT model (text-davinci-002), as well as similar magnitudes of improvements with another off-the-shelf large model, 540B parameter PaLM. The versatility of this single prompt across very diverse reasoning tasks hints at untapped and understudied fundamental zero-shot capabilities of LLMs, suggesting high-level, multi-task broad cognitive capabilities may be extracted by simple prompting. We hope our work not only serves as the minimal strongest zero-shot baseline for the challenging reasoning benchmarks, but also highlights the importance of carefully exploring and analyzing the enormous zero-shot knowledge hidden inside LLMs before crafting finetuning datasets or few-shot exemplars.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
量子星尘发布了新的文献求助10
刚刚
1秒前
周周南完成签到 ,获得积分10
2秒前
小西完成签到 ,获得积分10
3秒前
rwSSS发布了新的文献求助10
7秒前
8秒前
英吉利25发布了新的文献求助10
11秒前
rwSSS完成签到,获得积分10
11秒前
Scheduling完成签到 ,获得积分10
12秒前
12秒前
单词完成签到 ,获得积分10
15秒前
王艺霖发布了新的文献求助10
15秒前
19秒前
21秒前
量子星尘发布了新的文献求助20
21秒前
结实凌瑶完成签到 ,获得积分10
24秒前
大气夜山完成签到 ,获得积分10
26秒前
2520完成签到 ,获得积分10
30秒前
aikeyan完成签到,获得积分10
31秒前
磊磊完成签到,获得积分10
32秒前
量子星尘发布了新的文献求助150
32秒前
一如完成签到 ,获得积分10
34秒前
干净傲霜完成签到 ,获得积分10
34秒前
JACK完成签到,获得积分10
39秒前
朱婷完成签到 ,获得积分10
43秒前
量子星尘发布了新的文献求助10
43秒前
44秒前
46秒前
46秒前
50秒前
51秒前
AnyYuan完成签到 ,获得积分10
53秒前
56秒前
量子星尘发布了新的文献求助10
57秒前
英吉利25发布了新的文献求助10
57秒前
58秒前
1分钟前
ldk完成签到,获得积分10
1分钟前
1分钟前
Criminology34应助mmyhn采纳,获得10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
《微型计算机》杂志2006年增刊 1600
Einführung in die Rechtsphilosophie und Rechtstheorie der Gegenwart 1500
Cancer Systems Biology: Translational Mathematical Oncology 1000
Binary Alloy Phase Diagrams, 2nd Edition 1000
DESIGN GUIDE FOR SHIPBOARD AIRBORNE NOISE CONTROL 600
NMR in Plants and Soils: New Developments in Time-domain NMR and Imaging 600
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4958056
求助须知:如何正确求助?哪些是违规求助? 4219215
关于积分的说明 13133407
捐赠科研通 4002249
什么是DOI,文献DOI怎么找? 2190284
邀请新用户注册赠送积分活动 1205015
关于科研通互助平台的介绍 1116699