Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MetaICL: Learning to Learn In Context

About

We introduce MetaICL (Meta-training for In-Context Learning), a new meta-training framework for few-shot learning where a pretrained language model is tuned to do in-context learning on a large set of training tasks. This meta-training enables the model to more effectively learn a new task in context at test time, by simply conditioning on a few training examples with no parameter updates or task-specific templates. We experiment on a large, diverse collection of tasks consisting of 142 NLP datasets including classification, question answering, natural language inference, paraphrase detection and more, across seven different meta-training/target splits. MetaICL outperforms a range of baselines including in-context learning without meta-training and multi-task learning followed by zero-shot transfer. We find that the gains are particularly significant for target tasks that have domain shifts from the meta-training tasks, and that using a diverse set of the meta-training tasks is key to improvements. We also show that MetaICL approaches (and sometimes beats) the performance of models fully finetuned on the target task, and outperforms much bigger models with nearly 8x parameters. Finally, we show that MetaICL is complementary to human-written instructions, and the best performance can be achieved by combining both approaches.

Sewon Min, Mike Lewis, Luke Zettlemoyer, Hannaneh Hajishirzi• 2021

Related benchmarks

TaskDatasetResultRank
Question AnsweringOpenBookQA
Accuracy79
465
Sentiment ClassificationSST-2
Accuracy87.8
174
Question AnsweringARC
Accuracy82
154
ClusteringCLSClusteringS2S
Accuracy87
68
Sentiment ExtractionTweetSentimentExtraction
Accuracy0.81
60
Machine Reading ComprehensionSQuAD
EM56.5
58
Text ClusteringArxivClusteringS2S ood (test)
Accuracy39
44
Text ClusteringCLSClusteringS2S id (test)
Accuracy86
44
Mathematical ReasoningGSM8K (test)
Accuracy26
24
Open-domain Question AnsweringNQ
EM14.51
20
Showing 10 of 20 rows

Other info

Follow for update