Skip to main content
QUICK REVIEW

[Paper Review] Multitask Prompted Training Enables Zero-Shot Task Generalization

Victor Sanh, Albert Webson|arXiv (Cornell University)|Oct 15, 2021
Topic ModelingComputer Science132 references561 citations
TL;DR

The paper shows that explicitly training a model on a large multitask suite of prompted tasks enables strong zero-shot generalization, often outperforming much larger models on held-out tasks.

ABSTRACT

Large language models have recently been shown to attain reasonable zero-shot generalization on a diverse set of tasks (Brown et al., 2020). It has been hypothesized that this is a consequence of implicit multitask learning in language models' pretraining (Radford et al., 2019). Can zero-shot generalization instead be directly induced by explicit multitask learning? To test this question at scale, we develop a system for easily mapping any natural language tasks into a human-readable prompted form. We convert a large set of supervised datasets, each with multiple prompts with diverse wording. These prompted datasets allow for benchmarking the ability of a model to perform completely held-out tasks. We fine-tune a pretrained encoder-decoder model (Raffel et al., 2020; Lester et al., 2021) on this multitask mixture covering a wide variety of tasks. The model attains strong zero-shot performance on several standard datasets, often outperforming models up to 16x its size. Further, our approach attains strong performance on a subset of tasks from the BIG-bench benchmark, outperforming models up to 6x its size. All trained models are available at https://github.com/bigscience-workshop/t-zero and all prompts are available at https://github.com/bigscience-workshop/promptsource.

Motivation & Objective

  • Motivate zero-shot generalization through explicit multitask prompted training.
  • Construct a large, diverse prompted dataset mixture from public tasks.
  • Evaluate zero-shot performance on held-out tasks and BIG-bench tasks.
  • Analyze robustness to prompt wording by varying prompts and datasets.

Proposed method

  • Fine-tune an encoder-decoder model (T0) on a multitask mixture of prompted datasets.
  • Use a simple templating language to convert datasets into input-target prompts with multiple templates.
  • Assemble prompts from Public Pool of Prompts (P3) to maximize prompt diversity.
  • Train variants (T0, T0+, T0++) with increasing datasets and prompts.
  • Limit input/target sequences to 1024/256 tokens and use packing for training.
  • Report median performance across prompts with interquartile ranges to measure robustness.

Experimental results

Research questions

  • RQ1Does multitask prompted training improve zero-shot generalization to held-out tasks?
  • RQ2Does training on a wider range of prompts improve robustness to prompt wording?
  • RQ3How does the proposed approach compare to GPT-3 and BIG-bench baselines on held-out tasks?

Key findings

  • T0 matches or exceeds GPT-3 on 9 of 11 held-out datasets despite being ~16× smaller.
  • T0 improves over a large baseline on 13 of 14 tasks in BIG-bench.
  • Training on more prompts per dataset consistently increases median performance and reduces variability.
  • Training on more datasets tends to improve median performance on held-out tasks.
  • Prompt diversity (length and style) contributes to robustness and generalization across tasks.
  • T0 variants generally outperform FLAN while being substantially smaller.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.