BERT Paper
The paper that introduced deep bidirectional transformer encoders trained with masked language modeling and fine-tuned for language understanding tasks.
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding became a reference point because it showed how a deep bidirectional encoder could learn general language representations from unlabeled text and then adapt to many downstream tasks through fine-tuning.
At a glance
Published
October 2018
Authors
Jacob Devlin, Ming-Wei Chang, Kenton Lee, et al.
Introduces
No introduced records listed yet.
Why It Matters
Before BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding, many language models read text in one direction and learned by predicting the next token. That pattern fits generation well, but it limits how much surrounding context each position can use during pretraining. BERT helped establish the encoder-only path: pretrain a bidirectional encoder on broad text with masked language modeling, then fine-tune the same stack for classification, question answering, and other understanding tasks. That split between broad pretraining and task-specific adaptation became a common template for later encoder models without cataloguing every BERT checkpoint variant.Method Or Architecture
The paper keeps the transformer architecture in an encoder-only form rather than a decoder that generates left to right. WordPiece tokenization turns raw text into subword units, embeddings carry token and position information into the stack, and stacked encoder blocks apply bidirectional attention so each token can use context from both sides. Each encoder block also uses a feed-forward layer with gelu activation between attention passes. Pretraining uses masked language modeling: randomly hide some input tokens and train the model to predict those hidden tokens from both left and right context. Unlike next-token pretraining, the model is not limited to looking only backward through the sequence. A companion next-sentence objective asks whether one sentence truly follows another, which helps the encoder reason over sentence pairs. Together these choices produce a reusable bidirectional encoder representation that downstream tasks can fine-tune instead of training a fresh model from scratch.BERT paperWordPiece inputsTransformer encoder stackBidirectional attentionMasked language modelingEncoder-only fine-tuningBERT paper to WordPiece inputsBERT paper to Transformer encoder stackBERT paper to Bidirectional attentionBERT paper to Masked language modelingBERT paper to Encoder-only fine-tuningWordPiece inputs to Transformer encoder stackTransformer encoder stack to Bidirectional attentionMasked language modeling to Encoder-only fine-tuning