# CLIP and DALL·E

Date: 5 January 2021 · Era: V · Transformers · Category: model · Significance: 4/5
People: Alec Radford, Aditya Ramesh, Ilya Sutskever
Organisations: OpenAI

Canonical: https://shapeofintelligence.com/timeline/2021-clip-dalle/ · Dataset and text CC BY 4.0

> OpenAI releases a model that matches images to captions across 400 million pairs, and a model that draws images from text; pictures become something you ask for.

## What had to happen

37 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 · Deep learning moves to GPUs](https://shapeofintelligence.com/md/timeline/2009-gpu-deep-learning/)
- [2009 · ImageNet](https://shapeofintelligence.com/md/timeline/2009-imagenet/)
- [2010 · Rectified linear units](https://shapeofintelligence.com/md/timeline/2010-relu/)
- [2012 · Google Brain's network discovers cats](https://shapeofintelligence.com/md/timeline/2012-google-brain-cat/)
- [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/)
- [2017 · Attention is all you need](https://shapeofintelligence.com/md/timeline/2017-attention-is-all-you-need/)
- [2018 · GPT: generative pre-training](https://shapeofintelligence.com/md/timeline/2018-gpt-1/)
- [2019 · GPT-2 and the model too dangerous to release](https://shapeofintelligence.com/md/timeline/2019-gpt-2/)
- [2020 · Scaling laws for neural language models](https://shapeofintelligence.com/md/timeline/2020-scaling-laws/)
- [2020 · GPT-3](https://shapeofintelligence.com/md/timeline/2020-gpt-3/) *direct*
- [2020 · An image is worth 16×16 words](https://shapeofintelligence.com/md/timeline/2020-vision-transformer/) *direct*

On 5 January 2021 OpenAI announced two models. CLIP was trained on 400 million image–caption pairs from the web to do one thing: given a batch of images and a batch of captions, say which goes with which. A text transformer and a vision transformer learned to place matching pairs close together in a shared space. The result classified images it had never been trained on, from written descriptions of the categories, about as well as the best supervised models, and it became the standard way to measure whether a picture matched a sentence.

DALL·E, named for Dalí and the Pixar robot, was a twelve-billion-parameter GPT trained on text and image tokens together, so that it continued a caption with a picture. Its avocado armchairs and radishes walking dogs were the first machine-made images that the public found delightful rather than uncanny.

Between them the two models set up the generative image boom. CLIP scored the candidates and, in later systems, conditioned the generator; diffusion replaced DALL·E's autoregressive decoder within eighteen months. DALL·E 2, Midjourney and Stable Diffusion all use CLIP or a model trained the same way to understand what was asked for.

## What it led to

4 events downstream, through 2024.

Built on it directly:

- [2022 · DALL·E 2](https://shapeofintelligence.com/md/timeline/2022-dalle-2/)
- [2022 · Midjourney opens its beta](https://shapeofintelligence.com/md/timeline/2022-midjourney/)
- [2022 · Stable Diffusion is released](https://shapeofintelligence.com/md/timeline/2022-stable-diffusion/)

And, through them, by era:

- VI · Everyone: 1 events

## Sources

- [Learning Transferable Visual Models From Natural Language Supervision (arXiv:2103.00020)](https://arxiv.org/abs/2103.00020) — paper
- [Zero-Shot Text-to-Image Generation (arXiv:2102.12092)](https://arxiv.org/abs/2102.12092) — paper
- [CLIP: Connecting text and images (OpenAI, 5 January 2021)](https://openai.com/index/clip/) — announcement

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2021-clip-dalle/

Before: [2020 · AlphaFold 2 solves protein structure prediction](https://shapeofintelligence.com/md/timeline/2020-alphafold-2/) · After: [2021 · On the dangers of stochastic parrots](https://shapeofintelligence.com/md/timeline/2021-stochastic-parrots/)
