一般化
计算机科学
水准点(测量)
集合(抽象数据类型)
人工智能
编码(集合论)
序列(生物学)
钥匙(锁)
机器学习
理论计算机科学
程序设计语言
数学
生物
遗传学
数学分析
计算机安全
大地测量学
地理
作者
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
日期:2022-01-01
被引量:177
标识
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI