# BERT

Date: 11 October 2018 · Era: V · Transformers · Category: model · Significance: 5/5
People: Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova
Organisations: Google AI Language

Canonical: https://shapeofintelligence.com/timeline/2018-bert/ · Dataset and text CC BY 4.0

> Google's bidirectional transformer, pre-trained to fill in masked words, sets new records on eleven language tasks and goes into Google Search within a year.

## What had to happen

32 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/)
- [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/)
- [2016 · Google Translate goes neural](https://shapeofintelligence.com/md/timeline/2016-google-neural-translation/) *direct*
- [2017 · Attention is all you need](https://shapeofintelligence.com/md/timeline/2017-attention-is-all-you-need/) *direct*
- [2018 · GPT: generative pre-training](https://shapeofintelligence.com/md/timeline/2018-gpt-1/) *direct*

GPT read left to right, because it was trained to predict the next word. Jacob Devlin's idea, posted on 11 October 2018, was to hide fifteen percent of the words in a passage at random and train a transformer encoder to guess them from both sides. The model could then use everything around a word to understand it. Pre-trained on Wikipedia and the BooksCorpus, BERT set records on eleven benchmarks at once, including a reading-comprehension test on which it exceeded human performance, and its large version had 340 million parameters.

It was released with code and weights, and within months there were hundreds of variants, RoBERTa, ALBERT, DistilBERT, a whole "BERTology" of papers probing what it had learned. Google put it into Search in October 2019 and said it was the largest improvement in five years. For three years it was the default way to do anything with text that did not involve writing it.

BERT's fill-in-the-blank objective turned out to be the wrong bet for the largest models, because it does not generate, and after GPT-3 the field consolidated on decoders. But the encoders that embed queries, documents and images for search and retrieval are its descendants, and the transformer's takeover of language was completed here.

## What it led to

1 events downstream, through 2021.

Built on it directly:

- [2021 · On the dangers of stochastic parrots](https://shapeofintelligence.com/md/timeline/2021-stochastic-parrots/)

## Sources

- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (arXiv:1810.04805)](https://arxiv.org/abs/1810.04805) — paper
- [BERT (NAACL, 2019)](https://aclanthology.org/N19-1423/) — paper

---

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

Before: [2018 · GPT: generative pre-training](https://shapeofintelligence.com/md/timeline/2018-gpt-1/) · After: [2018 · AlphaFold enters the protein-folding contest](https://shapeofintelligence.com/md/timeline/2018-alphafold-1/)
