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

缩放指令-微调语言模型

Scaling Instruction-Finetuned Language Models

Google(谷歌)
Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixia… 展开作者

Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Alex Castro-Ros, Marie Pellat, Kevin Robinson, Dasha Valter, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le, Jason Wei

摘要:

在以指令形式表达的数据集集合上微调语言模型已被证明可以提高模型性能和对不可见任务的泛化。在这篇文章中,我们探讨了指令微调,特别关注(1)缩放任务数量,(2)缩放模型大小,(3)对思维链数据的微调。我们发现,指令微调与上述方面大大提高了性能的各种模型类(PaLM,T5,U-PaLM),提示设置(zero-shot,Few-Shot,CoT),和评估基准(MMLU,BBH,TyDiQA,MGSM,开放式生成)。例如,Flan-PaLM 540 B在1.8K任务上进行了指令微调,其性能远远优于PALM 540 B(平均为+9.4%)。Flan-PaLM 540 B在多个基准测试中实现了最先进的性能,例如在五次MMLU测试中达到75.2%。我们还公开发布了Flan-T5检查点,即使与更大的型号(如PaLM 62 B)相比,它也能实现强大的Few-Shot性能。总的来说,指令微调是提高预训练语言模型的性能和可用性的通用方法。

英文摘要:

Finetuning language models on a collection of datasets phrased as instructions has been shown to improve model performance and generalization to unseen tasks. In this paper we explore instruction finetuning with a particular focus on (1) scaling the number of tasks, (2) scaling the model size, and (3) finetuning on chain-of-thought data. We find that instruction finetuning with the above aspects dramatically improves performance on a variety of model classes (PaLM, T5, U-PaLM), prompting setups (zero-shot, few-shot, CoT), and evaluation benchmarks (MMLU, BBH, TyDiQA, MGSM, open-ended generation). For instance, Flan-PaLM 540B instruction-finetuned on 1.8K tasks outperforms PALM 540B by a large margin (+9.4% on average). Flan-PaLM 540B achieves state-of-the-art performance on several benchmarks, such as 75.2% on five-shot MMLU. We also publicly release Flan-T5 checkpoints, which achieve strong few-shot performance even compared to much larger models, such as PaLM 62B. Overall, instruction finetuning is a general method for improving the performance and usability of pretrained language models.

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

↑