arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.14465cs.LGcs.AIcs.CL
收藏

STaR:用推理引导推理

STaR: Bootstrapping Reasoning With Reasoning

Stanford University(斯坦福大学);Google Research(谷歌研究院)

Eric Zelikman, Yuhuai Wu, Jesse Mu, Noah D. Goodman

摘要:

逐步生成“思想链”原理可以提高语言模型在复杂推理任务(如数学或常识问答)中的性能。然而,诱导语言模型的基本原理生成目前需要构建大量的基本原理数据集或牺牲准确性,仅使用Few-Shot推理。我们提出了一种技术,迭代地利用少量的理由的例子和一个大的数据集没有理由,引导的能力,连续执行更复杂的推理。这种技术,“自学推理者”(STaR),依赖于一个简单的循环:生成理由来回答许多问题,并给出一些理由示例;如果生成的答案是错误的,则再次尝试生成一个理由,给出正确的答案;微调最终产生正确答案的所有理由;重复。我们表明,STaR显着提高了多个数据集上的性能相比,模型微调,直接预测最终答案,并执行微调30个$\times$更大的最先进的语言模型CommensenseQA。因此,STaR让模型通过从自己生成的推理中学习来改进自己。

英文摘要:

Generating step-by-step "chain-of-thought" rationales improves language model performance on complex reasoning tasks like mathematics or commonsense question-answering. However, inducing language model rationale generation currently requires either constructing massive rationale datasets or sacrificing accuracy by using only few-shot inference. We propose a technique to iteratively leverage a small number of rationale examples and a large dataset without rationales, to bootstrap the ability to perform successively more complex reasoning. This technique, the "Self-Taught Reasoner" (STaR), relies on a simple loop: generate rationales to answer many questions, prompted with a few rationale examples; if the generated answers are wrong, try again to generate a rationale given the correct answer; fine-tune on all the rationales that ultimately yielded correct answers; repeat. We show that STaR significantly improves performance on multiple datasets compared to a model fine-tuned to directly predict final answers, and performs comparably to fine-tuning a 30$\times$ larger state-of-the-art language model on CommensenseQA. Thus, STaR lets a model improve itself by learning from its own generated reasoning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑