BERT (Bidirectional Encoder Representations from Transformers) is an encoder-only Transformer model introduced by researchers at Google in October 2018; its contextual embeddings displaced the static vectors of the Word2vec era.1 By pretraining a bidirectional encoder with a masked-language-modeling objective and then fine-tuning it per task, BERT set state-of-the-art results across eleven natural language processing benchmarks at release and established transfer learning from pretrained Transformers as the field's default methodology.
How it worked
Unlike the autoregressive GPT line from OpenAI, which reads left-to-right, BERT sees the whole sequence at once through unmasked self-attention. Its pretraining objective masks a random subset of input tokens and trains the model to reconstruct them, alongside a next-sentence-prediction task. Two sizes were released, Base at 110 million parameters and Large at 340 million, trained on BooksCorpus and English Wikipedia, with open weights that seeded an enormous derivative ecosystem.1
Impact
For roughly two years, "BERT and its variants" effectively meant "NLP": derivative encoders dominated academic leaderboards and shipped inside Google Search. The paradigm split that followed (encoders for understanding, decoders for generation) resolved decisively toward decoder-only large language models once GPT-3 showed that scale plus prompting could replace per-task fine-tuning, and later models such as GPT-4 completed the shift.2 Encoder models of BERT's lineage remain in wide production use for retrieval, classification, and embeddings, as of July 2026.
Knowledge benchmarks of the BERT era were largely saturated by its descendants, which motivated harder successors such as MMLU.3
Lineage
BERT's direct descendants and refinements (RoBERTa, ALBERT, DistilBERT, ELECTRA, and multilingual variants) form the encoder branch of the Transformer family tree. Research on the model also seeded work at other labs, including Google DeepMind's later language efforts.
References
-
Devlin, J., Chang, M.-W., Lee, K., Toutanova, K., "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding," arXiv:1810.04805, October 2018. ↩↩
-
Brown, T., et al., "Language Models are Few-Shot Learners," arXiv:2005.14165, May 2020. ↩
-
Hendrycks, D., et al., "Measuring Massive Multitask Language Understanding," arXiv:2009.03300, September 2020. ↩
