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.
Meta In-Context Learning Makes Large Language Models Better Zero and Few-Shot Relation Extractors
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Beijing Institute of Computer Technology and Application(北京计算机技术及应用研究所)
Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning
BNU-BNBU Institute of Artificial Intelligence(BNU-BNBU人工智能研究院);Future Networks, Beijing Normal-Hong Kong Baptist University(未来网络,北京师范大学-香港 Baptist大学);Beijing Normal University at Zhuhai(珠海北京师范大学)
MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation
School of Computer Science and Engineering, UNSW Sydney(悉尼新南威尔士大学计算机科学与工程学院);ARC Centre of Excellence for Automated Decision-Making and Society (ADM+S)(澳大利亚研究理事会自动化决策与社会卓越中心);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Meta-Soft: Leveraging Composable Meta-Tokens for Context-Preserving KV Cache Compression
Guangdong Institute of Intelligence Science and Technology(广东智能科学与技术研究院);University of Macau(澳门大学);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Hong Kong University of Science and Technology(香港科技大学)
RRCM: Ranking-Driven Retrieval over Collaborative and Meta Memories for LLM Recommendation
The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Illinois at Chicago(伊利诺伊大学香槟分校);Capital One AI Foundations(Capital One AI基金会);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
"Image, Tell me your story!" Predicting the original meta-context of visual misinformation
TU Darmstadt(达姆施塔特工业大学);KU Leuven(鲁汶大学);Hessian Center for AI (hessian.AI)(黑森人工智能中心);Ubiquitous Knowledge Processing Lab (UKP Lab)(普适知识处理实验室);Department of Computer Science(计算机科学系);Department of Electrical Engineering(电气工程系)
When Does Metadata Conditioning (NOT) Work for Language Model Pre-Training? A Study with Context-Free Grammars
The University of Tokyo(东京大学);RIKEN AIP(日本研究机构(Advanced Institute for Proprietary Technology));University of California, Berkeley(加州大学伯克利分校);Preferred Networks, Inc.(Preferred Networks公司)