Skip to content
The Shape of Intelligence

· turning point

Attention is all you need

Eight Google researchers drop recurrence entirely and build a sequence model from attention alone; the transformer trains in parallel, scales without limit, and becomes the architecture of everything.

category
theory
significance
5 of 5
people
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, Illia Polosukhin
organisations
Google Brain, Google Research

what had to happen · 29 events back to 1943

Every event this one built on, transitively, in order. Direct influences are marked.

The paper posted on 12 June 2017 was a translation paper. Its eight authors, listed in an order they said was random, had found that the recurrent networks everyone used for sequences were unnecessary. Bahdanau's attention, which let a decoder look back over the source, could be turned inward: every position in a sentence attends to every other position, computing what to weigh from learned queries and keys, and the whole layer runs at once rather than word by word. Stack six of those layers, with residual connections and normalisation between them, add a position signal so the model knows word order, and you have the transformer. It beat the best translation systems on English–German and English–French and trained in a fraction of the time.

Speed was the point. A recurrent network processes a thousand-word document in a thousand sequential steps; a transformer processes it in one, which means it can use every core of a GPU pod, which means it can be trained on far more data. Scale, which the field had been suspecting was the answer since 2012, became possible for language.

Every model on this timeline after 2017 that reads or writes is a transformer: BERT, the GPTs, AlphaFold 2, Stable Diffusion's text encoder, the vision transformer, the models that drive cars and fold proteins and write code. The paper has been cited more than 150,000 times. The instrument below runs one on the sentence you type and shows you the attention.

what it led to · 55 events downstream, through 2026

Built on it directly:

  1. 2018GPT: generative pre-trainingV
  2. 2018BERTV
  3. 2020An image is worth 16×16 wordsV
  4. 2020AlphaFold 2 solves protein structure predictionV

And, through them, by era:

sources · 3

See this era in the exhibition →Back to the timeline