Meta-learning via Language Model In-context Tuning

By Yanda Chen, Ruiqi Zhong, Sheng Zha, George Karypis, He He. 2021

208 citations recorded by the source corpus.

The goal of meta-learning is to learn to adapt to a new task with only a few labeled examples. Inspired by the recent progress in large language models, we propose \textit{in-context tuning} (ICT), which recasts task adaptation and prediction as a simple sequence prediction problem: to form the input sequence, we concatenate the task instruction, labeled in-context examples, and the target input to predict; to meta-train the model to learn from in-context examples, we fine-tune a pre-trained language model (LM) to predict the target label given the input sequence on a collection of tasks.We benchmark our method on two collections of text classification tasks: LAMA and BinaryClfs. Compared to MAML which adapts the model through gradient descent, our method leverages the inductive bias of pre-trained LMs to perform pattern matching, and outperforms MAML by an absolute 6% average AUC-ROC score on BinaryClfs, gaining more advantage with increasing model size. Compared to non-fine-tuned in-context learning (i.e. prompting a raw LM), in-context tuning meta-trains the model to learn from in-context examples. On BinaryClfs, ICT improves the average AUC-ROC score by an absolute 10%, and reduces the variance due to example ordering by 6x and example choices by 2x.

Subfields: Artificial Intelligence, Natural Language Processing, Prompting & Reasoning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Percy Liang
  4. Hannaneh Hajishirzi
  5. Jianfeng Gao
  6. Yejin Choi
  7. Noah A. Smith
  8. Caiming Xiong

In Natural Language Processing

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Percy Liang
  4. Hannaneh Hajishirzi
  5. Yejin Choi
  6. Matt Gardner
  7. Noah A. Smith
  8. Jonathan Berant

In Prompting & Reasoning

  1. Luke S. Zettlemoyer
  2. Hannaneh Hajishirzi
  3. Michael Lewis
  4. Denny Zhou
  5. Daniel Khashabi
  6. Sewon Min
  7. Daniel Klein
  8. Zhifang Sui

Citations in the corpus