# An image is worth 16×16 words

Date: 22 October 2020 · Era: V · Transformers · Category: model · Significance: 3/5
People: Alexey Dosovitskiy, Lucas Beyer, Neil Houlsby
Organisations: Google Research, Brain Team

Canonical: https://shapeofintelligence.com/timeline/2020-vision-transformer/ · Dataset and text CC BY 4.0

> Google cuts images into patches, feeds them to a standard transformer with no convolutions, and matches the best vision models given enough data; one architecture for everything.

## What had to happen

30 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1965 · Moore's law](https://shapeofintelligence.com/md/timeline/1965-moores-law/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1980 · The Neocognitron](https://shapeofintelligence.com/md/timeline/1980-neocognitron/)
- [1982 · The Hopfield network](https://shapeofintelligence.com/md/timeline/1982-hopfield-network/)
- [1985 · The Boltzmann machine](https://shapeofintelligence.com/md/timeline/1985-boltzmann-machine/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/)
- [1989 · LeNet reads handwritten postcodes](https://shapeofintelligence.com/md/timeline/1989-lenet/)
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/)
- [1991 · The vanishing gradient problem](https://shapeofintelligence.com/md/timeline/1991-vanishing-gradient/)
- [1997 · Long short-term memory](https://shapeofintelligence.com/md/timeline/1997-lstm/)
- [1998 · MNIST and LeNet-5](https://shapeofintelligence.com/md/timeline/1998-mnist-lenet5/)
- [1999 · The first GPU](https://shapeofintelligence.com/md/timeline/1999-geforce-256/)
- [2003 · A neural probabilistic language model](https://shapeofintelligence.com/md/timeline/2003-neural-language-model/)
- [2006 · Deep belief networks and the word 'deep'](https://shapeofintelligence.com/md/timeline/2006-deep-belief-nets/)
- [2007 · CUDA](https://shapeofintelligence.com/md/timeline/2007-cuda/)
- [2009 · ImageNet](https://shapeofintelligence.com/md/timeline/2009-imagenet/) *direct*
- [2010 · Rectified linear units](https://shapeofintelligence.com/md/timeline/2010-relu/)
- [2012 · Dropout](https://shapeofintelligence.com/md/timeline/2012-dropout/)
- [2012 · AlexNet wins ImageNet](https://shapeofintelligence.com/md/timeline/2012-alexnet/)
- [2014 · Attention](https://shapeofintelligence.com/md/timeline/2014-bahdanau-attention/)
- [2014 · Sequence to sequence learning](https://shapeofintelligence.com/md/timeline/2014-seq2seq/)
- [2015 · Batch normalisation](https://shapeofintelligence.com/md/timeline/2015-batchnorm/)
- [2015 · Residual networks](https://shapeofintelligence.com/md/timeline/2015-resnet/) *direct*
- [2017 · Attention is all you need](https://shapeofintelligence.com/md/timeline/2017-attention-is-all-you-need/) *direct*

Convolutional networks had owned vision since 2012 because their design encoded what everyone knew about images: nearby pixels matter, features repeat across positions. The vision transformer, posted on 22 October 2020, encoded none of it. It sliced an image into a grid of 16-by-16-pixel patches, treated each as a word, and fed the sequence to a plain transformer encoder. On ImageNet alone it lost to convolutional networks. Pre-trained on 300 million images from Google's private dataset, it beat them.

The result was the bitter lesson applied to sight. The inductive biases that had made convolution the right architecture for small data became a handicap at large scale, where the model could learn locality for itself, and the same transformer that read text now read pictures.

That convergence shaped what came next. CLIP, three months later, trained a text transformer and an image transformer to agree, which made text-to-image generation possible; the multimodal models of the 2020s take words, pixels, audio and video as one stream of tokens because the vision transformer showed they could. Convolutions did not disappear, but the era in which each kind of data had its own architecture ended here.

## What it led to

5 events downstream, through 2024.

Built on it directly:

- [2021 · CLIP and DALL·E](https://shapeofintelligence.com/md/timeline/2021-clip-dalle/)
- [2024 · Sora](https://shapeofintelligence.com/md/timeline/2024-sora/)

And, through them, by era:

- VI · Everyone: 3 events

## Sources

- [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (arXiv:2010.11929)](https://arxiv.org/abs/2010.11929) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2020-vision-transformer/

Before: [2020 · Learning to summarise from human feedback](https://shapeofintelligence.com/md/timeline/2020-rlhf-summarisation/) · After: [2020 · AlphaFold 2 solves protein structure prediction](https://shapeofintelligence.com/md/timeline/2020-alphafold-2/)
