A transformer-based model that understands language by reading text in both directions simultaneously.
BERT (Bidirectional Encoder Representations from Transformers)
BERT is a large-scale language representation model developed by Google AI in 2018. Unlike earlier sequential models such as LSTMs or unidirectional transformers, BERT reads entire sequences of text simultaneously, attending to both left and right context for every token at once. This bidirectional approach allows the model to build context-sensitive representations. The word "bank" in "river bank" and "bank account" produces meaningfully different embeddings depending on surrounding words, a property unidirectional models struggled to achieve.
BERT is built on the Transformer encoder architecture and trained using two self-supervised objectives. Masked Language Modeling (MLM) hides random tokens and requires the model to predict them from context. Next Sentence Prediction (NSP) trains the model to determine whether two sentences naturally follow each other. These pretraining tasks require no labeled data and allow BERT to absorb broad linguistic knowledge from massive text corpora. The resulting pretrained model can then be fine-tuned on specific downstream tasks, including question answering, named entity recognition, sentiment analysis, and textual entailment, using relatively small labeled datasets and minimal architectural changes.
BERT's impact on NLP benchmarks was immediate. Upon release, it achieved state-of-the-art results on eleven NLP tasks, including the GLUE and SQuAD benchmarks, often by significant margins. This result demonstrated that deep bidirectional pretraining outperformed task-specific architectures trained from scratch, validating the "pretrain then fine-tune" paradigm that now dominates the field. Google also integrated BERT into its search engine, marking one of the most visible real-world deployments of a language model at scale.
BERT catalyzed an explosion of follow-on research. Models like RoBERTa, ALBERT, DistilBERT, and domain-specific variants such as BioBERT and SciBERT refined its training procedures, efficiency, and applicability. More broadly, BERT established the blueprint that later large language models, including GPT-3 and beyond, built upon, cementing the transformer-based pretrained model as the dominant paradigm in modern NLP.
arXiv · Oct 11, 2018
Signals turns a topic into a sourced research record you can inspect and rerun. Your first scan is free, and this one starts with BERT (Bidirectional Encoder Representations from Transformers) already loaded, so edit it or scan as is.