TellWorldAI World Archive

Home›Papers

PaperJMLR

Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5)

AuthorsNoam Shazeer

A 2019 Google paper that frames every language task as text in, text out, using one encoder-decoder Transformer and one training setup. It also introduced the C4 dataset, and the released T5 models became common research starting points.

arXiv ID 1910.10683 Era Large models

The problem

Transfer learning means training a model on a broad task first and then reusing what it learned on a narrower one. The paper asked how far a single, unified approach could take this idea across many language tasks. Its title promises to explore the limits of transfer learning with a unified text-to-text Transformer. [1]

Transfer learning works best when what a model learned can be reused. A pre-trained model is only useful for a new task if that task can be presented to it in a form it understands, so the choice of input and output format matters as much as the architecture. [1]

Encoder-decoder models are a natural fit for this framing. The encoder turns the input text into an internal representation, and the decoder generates the output one token at a time while consulting that representation. Because both input and output are plain text, the same machinery serves translation, summarisation and questions alike. [1]

The approach

The central idea is to treat every language task as text in, text out. A translation task, for example, takes an input such as 'translate English to German: ...' and produces the German translation. Summarisation, question answering and classification can be framed the same way. With one input format and one training objective, a single model can serve every task. The model uses the original encoder-decoder Transformer design, in which an encoder reads the input and a decoder writes the output. [1]

The authors also introduced the C4 dataset, short for Colossal Clean Crawled Corpus, a cleaned version of Common Crawl web text. They ran a large systematic comparison of pre-training objectives, architectures and datasets, and the largest model had 11 billion parameters. [1]

The paper was submitted to arXiv on 23 October 2019 by Colin Raffel and colleagues at Google, and was published in the Journal of Machine Learning Research in 2020. [1]

Treating every task as text also makes comparisons simpler. When translation, summarisation and classification share one format, a researcher can change one part of the system, such as the data or the training objective, and see how results move across all tasks at once. That kind of controlled comparison was central to the paper's contribution. [1]

Shared frameworks also lower the barrier for other researchers. A released model and a documented dataset give everyone a common reference point, which makes it easier to check whether a new idea really helps. [1]

The framing also makes a new task easy to add: it needs an input and an output written as text, and the rest of the approach can stay the same. [1]

Why it matters

The released T5 models became starting points for later work: models such as T0 and Flan-T5 were trained further from T5 checkpoints, and Google's Imagen image generator uses T5-XXL as its text encoder. [2] Because every task was expressed as text, the same model could be fine-tuned for many different purposes. [1]

Notes and sources

  1. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformerhttps://arxiv.org/abs/1910.10683
  2. T5 (language model)https://en.wikipedia.org/wiki/T5_(language_model)

Cite this page: Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5). TellWorld, https://www.tellworld.net/papers/t5. Updated 2026-11-08