思维链提示激发大型语言模型的推理能力

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

杰森·魏 Jason Wei · Google · 2022-01-28 · arXiv:2201.11903 ↗ · 被引 19779

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们探索了生成思维链——一系列中间推理步骤——如何显著提升大型语言模型执行复杂推理的能力。特别地,我们展示了这种推理能力如何通过一种简单的方法——思维链提示——在足够大的语言模型中自然涌现,该方法在提示中提供少量思维链示例作为范例。在三个大型语言模型上的实验表明,思维链提示在算术、常识和符号推理任务上均提升了性能。实证收益显著。例如,仅用八个思维链示例提示一个 540B 参数的语言模型,就在数学应用题 GSM8K 基准上达到了最先进的准确率,甚至超过了使用验证器的微调 GPT-3。

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. 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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 14)

阅读逐段中英对照全文 →