Finetuned Language Models Are Zero-Shot Learners
Authors:
- Brian LesterBLBrian Lester
- Quoc V. LeQLQuoc V. Le
Preprint
Abstract
This paper explores a simple method for improving the zero-shot learning abilities of language models. We show that instruction tuning -- finetuning language models on a collection of tasks described via instructions -- substantially boosts zero-shot performance on unseen tasks. We take a 137B parameter pretrained language model and instruction-tune it on over 60 NLP tasks verbalized via natural language instruction templates. We evaluate this instruction-tuned model, which we call FLAN, on unseen task types. FLAN substantially improves the performance of its unmodified counterpart and surpasses zero-shot 175B GPT-3 on 20 of 25 tasks that we evaluate. FLAN even outperforms few-shot GPT-3 by a large margin on ANLI, RTE, BoolQ, AI2-ARC, OpenbookQA, and StoryCloze. Ablation studies reveal that number of tasks and model scale are key components to the success of instruction tuning.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language ProcessingACM Computing Surveys, 2023
- On the Dangers of Stochastic Parrots2021
- Multi-task learning for natural language processing in the 2020s: Where are we going?Pattern Recognition Letters, 2020
- Neural Network Acceptability JudgmentsTransactions of the Association for Computational Linguistics, 2019
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- CoQA: A Conversational Question Answering ChallengeTransactions of the Association for Computational Linguistics, 2019
- Google’s Multilingual Neural Machine Translation System: Enabling Zero-Shot TranslationTransactions of the Association for Computational Linguistics, 2017
- From Group to Individual Labels Using Deep Features2015
- Learning from natural instructionsMachine Learning, 2013
- The PASCAL Recognising Textual Entailment Challenge2006