Least-to-Most Prompting Enables Complex Reasoning in Large Language Models

一般化 计算机科学 水准点(测量) 集合(抽象数据类型) 人工智能 编码(集合论) 序列(生物学) 钥匙(锁) 机器学习 理论计算机科学 程序设计语言 数学 数学分析 生物 遗传学 计算机安全 地理 大地测量学
作者
Denny Zhou,Nathanael Schärli,Le Hou,Jason Lee,Nathan Scales,Xuezhi Wang,Dale Schuurmans,Claire Cui,Olivier Bousquet,Quoc V. Le,Ed H.
出处
期刊:Cornell University - arXiv 被引量:231
标识
DOI:10.48550/arxiv.2205.10625
摘要

Chain-of-thought prompting has demonstrated remarkable performance on various natural language reasoning tasks. However, it tends to perform poorly on tasks which requires solving problems harder than the exemplars shown in the prompts. To overcome this challenge of easy-to-hard generalization, we propose a novel prompting strategy, least-to-most prompting. The key idea in this strategy is to break down a complex problem into a series of simpler subproblems and then solve them in sequence. Solving each subproblem is facilitated by the answers to previously solved subproblems. Our experimental results on tasks related to symbolic manipulation, compositional generalization, and math reasoning reveal that least-to-most prompting is capable of generalizing to more difficult problems than those seen in the prompts. A notable finding is that when the GPT-3 code-davinci-002 model is used with least-to-most prompting, it can solve the compositional generalization benchmark SCAN in any split (including length split) with an accuracy of at least 99% using just 14 exemplars, compared to only 16% accuracy with chain-of-thought prompting. This is particularly noteworthy because neural-symbolic models in the literature that specialize in solving SCAN are trained on the entire training set containing over 15,000 examples. We have included prompts for all the tasks in the Appendix.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Lucas应助认真的砖家采纳,获得10
1秒前
BIGDUCK发布了新的文献求助10
2秒前
隐形曼青应助心随以动采纳,获得10
2秒前
2秒前
2秒前
ziang发布了新的文献求助10
2秒前
2秒前
Lliu完成签到,获得积分10
2秒前
所所应助羞涩的向秋采纳,获得10
4秒前
Longer发布了新的文献求助30
4秒前
SciGPT应助土豪的发带采纳,获得10
5秒前
流川枫发布了新的文献求助10
6秒前
HollidayLee完成签到,获得积分10
6秒前
naomi发布了新的文献求助10
7秒前
KING完成签到,获得积分10
8秒前
科研通AI6.1应助科滴滴采纳,获得20
8秒前
8秒前
大模型应助抠鼻公主采纳,获得10
10秒前
Maestro_S发布了新的文献求助100
10秒前
10秒前
打打应助心随以动采纳,获得10
10秒前
甜甜电源发布了新的文献求助10
10秒前
11秒前
12秒前
太阳发布了新的文献求助10
13秒前
量子星尘发布了新的文献求助10
14秒前
科目三应助Aurora采纳,获得10
15秒前
16秒前
两颗西柚发布了新的文献求助10
16秒前
Kant发布了新的文献求助10
16秒前
17秒前
小满完成签到,获得积分10
17秒前
JamesPei应助Ronnie采纳,获得10
17秒前
18秒前
18秒前
我想放假完成签到,获得积分10
18秒前
优雅如雪完成签到,获得积分20
19秒前
甘妍妮完成签到,获得积分20
19秒前
19秒前
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Aerospace Standards Index - 2026 ASIN2026 3000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Research Methods for Business: A Skill Building Approach, 9th Edition 500
Social Work and Social Welfare: An Invitation(7th Edition) 410
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6048142
求助须知:如何正确求助?哪些是违规求助? 7830344
关于积分的说明 16258668
捐赠科研通 5193539
什么是DOI,文献DOI怎么找? 2778922
邀请新用户注册赠送积分活动 1762264
关于科研通互助平台的介绍 1644479