arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.15943cs.CLcs.AI
收藏

MetaICL:在情境中学习

MetaICL: Learning to Learn In Context

Meta AI;Allen Institute for AI(艾伦人工智能研究所);University of Washington(华盛顿大学)

Sewon Min, Mike Lewis, Luke Zettlemoyer, Hannaneh Hajishirzi

摘要:

我们介绍了MetaICL(用于上下文学习的元训练),这是一种用于少样本学习的新元训练框架,其中预训练的语言模型被调整为在大量训练任务集上进行上下文学习。这种元训练使模型能够在测试时更有效地在上下文中学习新任务,只需在没有参数更新或特定于任务的模板的情况下对一些训练样本进行调节。我们在一个由142个NLP数据集组成的大型,多样化的任务集合上进行了实验,包括分类,问答,自然语言推理,释义检测等,跨越七个不同的元训练/目标分割。MetaICL优于一系列基准,包括没有元训练的上下文学习和多任务学习,然后是zero-shot迁移。我们发现,对于从元训练任务中转移领域的目标任务来说,收益特别显着,并且使用不同的元训练任务集是改进的关键。我们还表明,MetaICL接近(有时甚至超过)在目标任务上完全微调的模型的性能,并且优于具有近8倍参数的更大模型。最后,我们表明,MetaICL是人类编写的指令的补充,最好的性能可以通过结合这两种方法来实现。

英文摘要:

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.

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

↑