BERT (2018): bidirectional Transformers for language
Event date
On 11 October 2018 Jacob Devlin, Ming-Wei Chang, Kenton Lee and Kristina Toutanova posted the BERT paper. BERT pretrains a Transformer encoder on unlabelled text by predicting hidden words, then fine-tunes it with one added output layer. It is on the timeline because it reset results across language understanding and was quickly used in products and research.
Key numbers
What the paper proposed
BERT stands for Bidirectional Encoder Representations from Transformers. Earlier pretrained models such as GPT-1 read text from left to right. BERT instead uses context from both directions in every layer, which suits tasks like question answering and sentence comparison.
The paper was submitted to arXiv on 11 October 2018. On 2 November 2018 Google published a blog post that open sourced the TensorFlow code and several pretrained models, English only at first, with multilingual models promised later. A pretrained BERT needs just one added output layer to be fine-tuned for tasks such as question answering and language inference, with no task specific redesign.
Sources: arxiv.org, research.google
How it worked
Training uses two tasks on unlabelled text. In masked language modelling, 15 per cent of the word pieces are chosen and the model must predict them from the surrounding words. In next sentence prediction, the model judges whether a second sentence really follows the first.
BERT base has 12 layers, 768 hidden units, 12 attention heads and about 110 million parameters. BERT large has 24 layers, 1,024 hidden units, 16 heads and about 340 million parameters. Both were pretrained on BooksCorpus, about 800 million words, and English Wikipedia, about 2,500 million words, for around four days. Each batch held 256 sequences of up to 512 tokens, over 1,000,000 steps, on 16 TPU chips for the base model and 64 for the large one.
Sources: arxiv.org
What it showed and what came next
The authors reported new best results on eleven language tasks. These included a GLUE score of 80.5, 86.7 per cent accuracy on MultiNLI, and F1 scores of 93.2 on SQuAD v1.1 and 83.1 on SQuAD v2.0. They described these as absolute gains of 7.7 points on GLUE and 1.5 and 5.1 points on the two SQuAD versions.
Google's blog post added that fine-tuning is cheap: a question answering system can be trained in about 30 minutes on one Cloud TPU, or a few hours on one GPU. All scores are the authors' own, taken from their paper.
BERT prompted a wave of variants. RoBERTa in 2019 showed that training BERT longer on more data improved it. T5 reframed every task as text to text with an encoder and a decoder. The encoder only family stayed widely used for search, classification and embeddings, while chat models moved to decoder only designs.
Sources: arxiv.org, research.google, arxiv.org, arxiv.org
Why it mattered
- It made pretraining followed by light fine-tuning the default way to build language understanding systems.
- Its public release meant that small teams could use a strong pretrained model without training their own.
- It showed that reading context from both sides gives better representations than left to right reading for understanding tasks.
- It started a research line of BERT variants that explored how much pretraining choices mattered.
Questions
When was BERT released?
What does BERT stand for?
How many parameters does BERT have?
Is BERT a large language model?
About this page
Part of our LLM history timeline. The event happened on 11 October 2018; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our editorial policy. Found an error? Tell us and we will correct it with a dated note.