arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.14045cs.CLcs.AIcs.LG
收藏

CoT Collection:通过思维链微调提升语言模型的零样本和少样本学习能力

The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuning

KAIST AI(韩国科学技术院人工智能学院);NAVER AI Lab(NAVER人工智能实验室);University of Washington(华盛顿大学)

Seungone Kim, Se June Joo, Doyoung Kim, Joel Jang, Seonghyeon Ye, Jamin Shin, Minjoon Seo

AI总结:

该研究提出CoT Collection数据集,通过思维链微调较小语言模型(Flan-T5 3B/11B),在BBH基准和领域任务上显著提升零样本与少样本推理能力,甚至超越ChatGPT。

摘要:

已知参数少于1000亿的语言模型(LMs)在解决未见任务时,与大型语言模型相比,在思维链(CoT)推理方面表现不佳。在这项工作中,我们旨在通过使用CoT推理进行指令微调,为较小的语言模型配备逐步推理能力。为实现这一目标,我们首先引入了一个新的指令微调数据集,称为CoT Collection,它在现有Flan Collection(仅包含9个CoT任务)的基础上,增加了来自1,060个任务的184万个推理。我们表明,使用CoT Collection对Flan-T5(3B和11B)进行CoT微调,能使较小的语言模型在未见任务上具有更好的CoT能力。在BIG-Bench-Hard(BBH)基准上,我们报告了零样本任务准确率的平均提升+4.34%(Flan-T5 3B)和+2.60%(Flan-T5 11B)。此外,我们表明,使用CoT Collection进行指令微调使语言模型在4个领域特定任务上具备更强的少样本学习能力,导致提升+2.24%(Flan-T5 3B)和+2.37%(Flan-T5 11B),甚至以+13.98%的幅度优于使用演示直到最大长度的ChatGPT。我们的代码、CoT Collection数据和模型检查点已公开提供。

英文摘要:

Language models (LMs) with less than 100B parameters are known to perform poorly on chain-of-thought (CoT) reasoning in contrast to large LMs when solving unseen tasks. In this work, we aim to equip smaller LMs with the step-by-step reasoning capability by instruction tuning with CoT rationales. In order to achieve this goal, we first introduce a new instruction-tuning dataset called the CoT Collection, which augments the existing Flan Collection (including only 9 CoT tasks) with additional 1.84 million rationales across 1,060 tasks. We show that CoT fine-tuning Flan-T5 (3B & 11B) with CoT Collection enables smaller LMs to have better CoT capabilities on unseen tasks. On the BIG-Bench-Hard (BBH) benchmark, we report an average improvement of +4.34% (Flan-T5 3B) and +2.60% (Flan-T5 11B), in terms of zero-shot task accuracy. Furthermore, we show that instruction tuning with CoT Collection allows LMs to possess stronger few-shot learning capabilities on 4 domain-specific tasks, resulting in an improvement of +2.24% (Flan-T5 3B) and +2.37% (Flan-T5 11B), even outperforming ChatGPT utilizing demonstrations until the max length by a +13.98% margin. Our code, the CoT Collection data, and model checkpoints are publicly available.

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

↑