BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Abstract
We introduce a new language representation model called BERT, which stands for Bidirectional Encoder Representations from Transformers. Unlike recent language representation models, BERT is designed to pre-train deep bidirectional representations from unlabeled text by jointly conditioning on both left and right context in all layers. As a result, the pre-trained BERT model can be fine-tuned with just one additional output layer to create state-of-the-art models for a wide range of tasks, such as question answering and language inference, without substantial task-specific architecture modifications. BERT is conceptually simple and empirically powerful. It obtains new state-of-the-art results on eleven natural language processing tasks, including pushing the GLUE score to 80.5% (7.7% point absolute improvement), MultiNLI accuracy to 86.7% (4.6% absolute improvement), SQuAD v1.1 question answering Test F1 to 93.2 (1.5 point absolute improvement) and SQuAD v2.0 Test F1 to 83.1 (5.1 point absolute improvement).
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Statistics-based machine learning models such as BERT have strong dependencies on the linguistic characteristics of the pre-training data.
“Particularly, statistics-based machine learning models such as BERT [24] have strong dependencies on the linguistic characteristics of the pre-training data.”
From Synthetic Lies: Understanding AI-Generated Misinformation and Evaluating Algorithmic and Human Solutions (2023) · cites this paper as [24]
Section 3.1 (p. 5) says BERT's pre-training critically requires a document-level corpus to preserve long contiguous sequences, supporting a dependence on one characteristic of the training text. It does not establish the broader claim that statistics-based models such as BERT have strong dependencies on the linguistic characteristics of pre-training data generally. (LLM, conf=0.79)
Experimental — accuracy not yet measuredTransformer architectures and the underlying attention mechanism have greatly improved the ability of autoregressive self-supervised language models to handle long-range dependencies in natural-language texts.
“One key development in the area is the use of transformer architectures [2, 3] and the underlying attention mechanism [4], which have greatly improved the ability of autoregressive 1 self-supervised 2 language models to handle longrange dependencies in natural-language texts.”
From ChatGPT for good? On opportunities and challenges of large language models for education (2023) · cites this paper as [2]
Section 3 (p. 3) identifies BERT as a Transformer using self-attention, so the paper supports the citation as an example of a Transformer architecture. But Section 3.1 (p. 4) says BERT uses masked-language-model pre-training rather than a left-to-right autoregressive objective; the cited passages do not establish the claimed improvement in autoregressive models’ handling of long-range dependencies. (LLM, conf=0.87)
Experimental — accuracy not yet measuredWithin the past five years, NLP advancements have achieved huge gains in accuracy on standard datasets, with state-of-the-art accuracy as high as 99% for certain tasks.
“Within the past five years, advancements in NLP have achieved huge gains in accuracy when tested against standard datasets [8, 18, 34, 56, 58, 60, 63], with state-ofthe-art accuracy in natural language processing models as high as 99% for certain tasks [8, 34].”
From A Mixed-Methods Approach to Understanding User Trust after Voice Assistant Failures (2023) · cites this paper as [18]
Section 4.1 (p. 6) reports substantial accuracy gains over prior state of the art on GLUE tasks, supporting the claim about improvements on standard datasets. It does not report 99% accuracy for a task or establish the claim’s five-year timeframe; searches for 99% accuracy found no such result in our copy. (LLM, conf=0.86)
Experimental — accuracy not yet measuredMulti-head attention over 12 or 24 layers is applied and the output is passed to a simple regression function to derive the final label.
“Multi-head attention over 12 (base-model) or 24 layers (large-model) is applied and the output is passed to a simple regression function to derive the final label.”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
Section 3 (p. 3) identifies BERTBASE as having 12 Transformer layers and BERTLARGE as having 24, with multiple self-attention heads. But §§3.2 and 5.3 (pp. 5, 9) describe task-specific output or classification layers, not a general regression function that derives the final label. (LLM, conf=0.90)
Experimental — accuracy not yet measuredThis integration leverages the linguistic capabilities of Llama 3, utilizing both its textual output and intermediate embeddings at the token rate to enhance the prediction of prosody features, thus reducing the lookahead required by the model.
“This integration leverages the linguistic capabilities of Llama 3, utilizing both its textual output and intermediate embeddings at the token rate (Devlin et al., 2018; Dong et al., 2019; Raffel et al., 2020; Guo et al., 2023) to enhance the prediction of prosody features, thus reducing the lookahead required by the model.”
From The Llama 3 Herd of Models (2024) · cites this paper as Devlin et al., 2018
Split into 2 atoms — 1 confirmed, 0 partially supported, 0 disputed, 0 misattributed, 1 unverifiable. Expand the claim to see per-atom verdicts.
Experimental — accuracy not yet measured
The unigram-based regression model is less accurate than state-of-the-art methods using deep neural networks, but provides a straightforward operationalization of transparency that is intuitively understandable while still appearing accurate and convincing to users.
“While such a model may be less accurate than state of the art methods using deep neural networks [19], it provides a straightforward operationalization of transparency that is intuitively understandable while still appearing accurate and convincing to users [78].”
From Progressive disclosure (2019) · cites this paper as [19]
Split into 2 atoms — 0 confirmed, 1 partially supported, 0 disputed, 0 misattributed, 1 unverifiable. Expand the claim to see per-atom verdicts.
Experimental — accuracy not yet measuredSince 2018, the fundamental structure of the Transformer language model has scarcely changed.
“Since 2018, the fundamental structure of the Transformer language model has scarcely changed (Radford et al. 2018; Devlin et al. 2018).”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Devlin et al. 2018
Section 3 (p. 3) says BERT’s 2018 Transformer implementation was “almost identical” to the original architecture, supporting continuity up to that point. The paper does not address whether the fundamental structure scarcely changed after 2018. (LLM, conf=0.84)
Experimental — accuracy not yet measuredThe number of parameters in a language model typically ranges between 100 million and 500 billion.
“Typically, the number of parameters in a language model ranges between 100 million and 500 billion (Devlin et al. 2018; Brown et al. 2020; Lieber et al. 2021; Smith et al. 2022); autoregressive models tend to possess more parameters than masked models.”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Devlin et al. 2018
Section 3 (p. 3) reports 110 million parameters for BERTBASE and 340 million for BERTLARGE, supporting examples near the lower end of the cited range. Section 5.2 (p. 8) discusses other models with 100 million and 235 million parameters, but the paper does not establish a typical range extending to 500 billion. The citation is attached to the range claim, not the subsequent comparison of autoregressive and masked models. (LLM, conf=0.88)
Experimental — accuracy not yet measuredBERT was introduced by Google in 2018 as an advancement over the bidirectional transformer.
“In 2018, BERT (Devlin et al. 2018), an advancement over the bidirectional transformer, was introduced by Google.”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Devlin et al. 2018
The title page (p. 1) identifies the authors with Google AI Language, and the abstract (p. 1) introduces BERT. Section 3 (p. 3) describes BERT as a bidirectional Transformer encoder, but says its Transformer implementation is almost identical to the original; the paper presents its pre-training approach as the advance, not an architectural advancement over the bidirectional Transformer. (LLM, conf=0.86)
Experimental — accuracy not yet measuredPre-trained language representation models such as BERT capture a general language representation from large-scale corpora but lack domain-specific knowledge.
“Pre-trained language representation models, such as BERT, capture a general language representation from large-scale corpora, but lack domain-specific knowledge.”
From K-BERT: Enabling Language Representation with Knowledge Graph (2020) · cites this paper as Devlin et al. 2018
The pre-training data passage (Section 3.1, p. 5) says BERT was trained on the large BooksCorpus and English Wikipedia corpora, and Related Work (Section 2, p. 2) describes pre-training general language representations. The paper does not state that BERT lacks domain-specific knowledge; that limitation is not supported by the cited source. (LLM, conf=0.88)
Experimental — accuracy not yet measuredOmitting results on the WNLI validation set is standard practice due to it being adversarial with respect to the training set.
“Omitting results on the WNLI validation set is standard practice (Devlin et al., 2018) due to the fact that it is 'adversarial' with respect to the training set, i.e. validation examples are all slightly-perturbed versions of training examples with the opposite label.”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
Appendix B.1 (p. 15) says BERT excluded WNLI from its reported results, citing dataset-construction issues, poor performance by submitted systems, and fairness to OpenAI GPT. It does not establish that omission was standard practice or say that validation examples are perturbed training examples with opposite labels. (LLM, conf=0.87)
Experimental — accuracy not yet measuredDenoising objectives produce better performance than causal language modeling and have become standard.
“However, it has recently been shown that 'denoising' objectives (Devlin et al., 2018; Taylor, 1953) (also called 'masked language modeling') produce better performance and as a result they have quickly become standard.”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
Section 4.1 (p. 6) reports that BERT outperformed the left-to-right OpenAI GPT model on the GLUE tasks, supporting the performance comparison. Section 3.1 (p. 4) identifies BERT’s masked-language-model objective, but the paper does not establish that such objectives had become standard; it also notes that BERT’s training differs from GPT’s in other ways (Appendix A.4, p. 14). (LLM, conf=0.88)
Experimental — accuracy not yet measuredUsing a denoising objective always results in better downstream task performance compared to a language modeling objective.
“Finally, we confirm the widely-held conception that using a denoising objective always results in better downstream task performance compared to a language modeling objective.”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
Section 5.1 (p. 8) reports that BERT’s masked-language-model variant outperformed its left-to-right language-model variant on every task tested. That supports the narrower comparison, but not the claim that a denoising objective always improves downstream performance: the paper evaluates particular models and tasks, and Section 3.1 (p. 4) calls its objective a masked language model rather than a denoising auto-encoder. (LLM, conf=0.88)
Experimental — accuracy not yet measuredThe baseline model uses a relatively small amount of pre-training compared to BERT, XLNet, and RoBERTa.
“Our baseline model uses a relatively small amount of pre-training ( 1 / 4 as much as BERT (Devlin et al., 2018), 1 / 16 as much as XLNet (Yang et al., 2019), 1 / 64 as much as RoBERTa (Liu et al., 2019c), etc.).”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
Appendix A.2 (p. 13) reports BERT’s pre-training amount: 1,000,000 steps at 128,000 tokens per batch. The paper does not describe the citing authors’ baseline, so it cannot establish that the baseline used one-quarter as much pre-training as BERT. The XLNet and RoBERTa comparisons are attributed to other citations. (LLM, conf=0.86)
Experimental — accuracy not yet measuredBERT is a pre-trained transformer-based encoder model that can be fine-tuned on various NLP tasks, such as sentence classification, question answering and named entity recognition.
“For example, BERT [2] is a pre-trained transformer-based encoder model that can be fine-tuned on various NLP tasks, such as sentence classification, question answering and named entity recognition.”
From ChatGPT for good? On opportunities and challenges of large language models for education (2023) · cites this paper as [2]
Color distances in learned language representations, when trained to predict cooccurrences in text, closely mirror human perception of these distances.
“discovered that color distances in learned language representations, when trained to predict cooccurrences in text (Devlin et al., 2018), closely mirror human perception of these distances, which we reproduce in Figure 8 with both contrastive and predictive models.”
From The Platonic Representation Hypothesis (2024) · cites this paper as Devlin et al., 2018
BERT and today's LLMs use transformers.
“The bidirectional encoder representations from transformers (BERT), a seminal network model for natural language processing (Devlin et al., 2018), and today's LLMs use transformers (Vaswani et al., 2017).”
From Large Language Models and the Reverse Turing Test (2023) · cites this paper as Devlin et al., 2018
Other word embedding systems like BeRT, ELMo and fastText have been less used in cyber grooming detection so far.
“There exist other word embedding systems like BeRT [95], ELMo [96] and fastText [97], but these have been less used in cyber grooming detection so far.”
From Online grooming detection: A comprehensive survey of child exploitation in chat logs (2023) · cites this paper as [95]
BERT has profoundly bidirectional contextualization and allows the model to gain information from various representations with different positions.
“It is advised to apply Bidirectional Encoder Representations from Transformers (BERT) [95,144] to cope with the transferability in cross-domain for cyber grooming detection as it has profoundly bidirectional contextualization and allows the model to gain information from various representations with different positions [146].”
From Online grooming detection: A comprehensive survey of child exploitation in chat logs (2023) · cites this paper as [95]
With the advancement of pre-trained language models (PLMs) like BERT and GPT, capabilities in language understanding and generation have become increasingly powerful.
“With the advancement of pre-trained language models (PLMs) in the field of natural language processing, particularly models like BERT [223] and GPT [224], the capabilities of pre-trained models in language understanding and generation havebecomeincreasinglypowerful.”
From When large language models meet personalization: perspectives of challenges and opportunities (2024) · cites this paper as [223]
Vision Transformers operate almost identically to Transformers used in language, using self-attention rather than convolution to aggregate information across locations.
“These Vision Transformers (ViT) operate almost identically to Transformers used in language [13], using self-attention, rather than convolution, to aggregate information across locations.”
From Do Vision Transformers See Like Convolutional Neural Networks? (2021) · cites this paper as [13]
Single-cell foundation models learn robust, generalizable relationships between genes and have demonstrated potential across diverse downstream tasks, including transcriptome prediction following perturbations after fine-tuning.
“By leveraging vast datasets and pretrained transformer architectures (18), these models learn robust, generalizable relationships between genes and have demonstrated potential across diverse downstream tasks, including transcriptome prediction following perturbations after models are fine-tuned on specific datasets (19).”
From A systematic comparison of single-cell perturbation response prediction models (2026) · cites this paper as [18]
BERT uses a cross-encoder: two sentences are passed to the transformer network and the target value is predicted.
“BERT uses a cross-encoder: Two sentences are passed to the transformer network and the target value is predicted.”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
BERT requires that both sentences are fed into the network.
“However, it requires that both sentences are fed into the network, which causes a massive computational overhead”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
BERT and RoBERTa have set new state-of-the-art performance on sentence-pair regression tasks like semantic textual similarity (STS).
“BERT (Devlin et al., 2018) and RoBERTa (Liu et al., 2019) has set a new state-of-the-art performance on sentence-pair regression tasks like semantic textual similarity (STS).”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
BERT is a pre-trained transformer network that set new state-of-the-art results on various NLP tasks including question answering, sentence classification, and sentence-pair regression.
“BERT (Devlin et al., 2018) is a pre-trained transformer network (Vaswani et al., 2017), which set for various NLP tasks new state-of-the-art results, including question answering, sentence classification, and sentence-pair regression.”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
The input for BERT for sentence-pair regression consists of the two sentences, separated by a special [SEP] token.
“The input for BERT for sentence-pair regression consists of the two sentences, separated by a special [SEP] token.”
From Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019) · cites this paper as Devlin et al., 2018
Although first experiments with BERT were disappointing, fine-tuning SciBERT led to the best results and is the current production architecture of the platform.
“Although the first experiments with BERT ( 39 ) were disappointing, fine-tuning SciBERT ( 40 ) led to the best results and is the current production architecture of the platform.”
From scite: a smart citation index that displays the context of citations and classifies their intent using deep learning (2021) · cites this paper as [39]
BERT can augment the performance of subsequent tasks by addressing the deficiencies of unidirectional language models.
“Bidirectional Encoder Representation from Transformer (BERT) (Devlin et al. 2018), can augment the performance of subsequent tasks by addressing these deficiencies.”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Devlin et al. 2018
Unsupervised pre-training for NLP has recently been used to obtain state-of-the-art results in many of the most common NLP benchmarks.
“This approach has recently been used to obtain state-of-the-art results in many of the most common NLP benchmarks (Devlin et al., 2018; Yang et al., 2019; Dong et al., 2019; Liu et al., 2019c; Lan et al., 2019).”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
BERT used roughly 137B tokens and RoBERTa used roughly 2.2T tokens for pre-training.
“This is considerably less than BERT (Devlin et al., 2018), which used roughly 137B tokens, or RoBERTa (Liu et al., 2019c), which used roughly 2 . 2T tokens.”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
The Transformer was initially shown to be effective for machine translation, but has subsequently been used in a wide variety of NLP settings.
“The Transformer was initially shown to be effective for machine translation, but it has subsequently been used in a wide variety of NLP settings (Radford et al., 2018; Devlin et al., 2018; McCann et al., 2018; Yu et al., 2018).”
From Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019) · cites this paper as Devlin et al., 2018
Autoregressive language models tend to possess more parameters than masked models.
“Typically, the number of parameters in a language model ranges between 100 million and 500 billion (Devlin et al. 2018; Brown et al. 2020; Lieber et al. 2021; Smith et al. 2022); autoregressive models tend to possess more parameters than masked models.”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Devlin et al. 2018
Section 3 (p. 3) says BERTBASE was chosen to have the same model size as the left-to-right OpenAI GPT, while §5.2 (p. 8) gives parameter counts for BERT models. Neither passage establishes a general tendency for autoregressive models to have more parameters than masked models. (LLM, conf=0.75)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
No citation lists for this paper
No citation lists for this paper yet — checked again daily.
Research works printed but not linked: 17
- Alan Akbik, Duncan Blythe, and Roland Vollgraf. 2018. Contextual string embeddings for sequence labeling. In Proceedings of the 27th International Conference on Computational Linguistics , pages 1638-1649.
- Rie Kubota Ando and Tong Zhang. 2005. A framework for learning predictive structures from multiple tasks and unlabeled data. Journal of Machine Learning Research , 6(Nov):1817-1853.
- Peter F Brown, Peter V Desouza, Robert L Mercer, Vincent J Della Pietra, and Jenifer C Lai. 1992. Class-based n-gram models of natural language. Computational linguistics , 18(4):467-479.
- Andrew M Dai and Quoc V Le. 2015. Semi-supervised sequence learning. In Advances in neural information processing systems , pages 3079-3087.
- William B Dolan and Chris Brockett. 2005. Automatically constructing a corpus of sentential paraphrases. In Proceedings of the Third International Workshop on Paraphrasing (IWP2005) .
- Minghao Hu, Yuxing Peng, Zhen Huang, Xipeng Qiu, Furu Wei, and Ming Zhou. 2018. Reinforced mnemonic reader for machine reading comprehension. In IJCAI .
- Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. In Advances in neural information processing systems , pages 3294-3302.
- Quoc Le and Tomas Mikolov. 2014. Distributed representations of sentences and documents. In International Conference on Machine Learning , pages 1188-1196.
- Hector J Levesque, Ernest Davis, and Leora Morgenstern. 2011. The winograd schema challenge. In Aaai spring symposium: Logical formalizations of commonsense reasoning , volume 46, page 47.
- Lajanugen Logeswaran and Honglak Lee. 2018. An efficient framework for learning sentence representations. In International Conference on Learning Representations .
- Bryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. 2017. Learned in translation: Contextualized word vectors. In NIPS .
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems 26 , pages 3111-3119. Curran Associates, Inc.
- Andriy Mnih and Geoffrey E Hinton. 2009. A scalable hierarchical distributed language model. In D. Koller, D. Schuurmans, Y. Bengio, and L. Bottou, editors, Advances in Neural Information Processing Systems 21 , pages 1081-1088. Curran Associates, Inc.
- Minjoon Seo, Aniruddha Kembhavi, Ali Farhadi, and Hannaneh Hajishirzi. 2017. Bidirectional attention flow for machine comprehension. In ICLR .
- Joseph Turian, Lev Ratinov, and Yoshua Bengio. 2010. Word representations: A simple and general method for semi-supervised learning. In Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics , ACL '10, pages 384-394.
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems , pages 6000-6010.
- Adams Wei Yu, David Dohan, Minh-Thang Luong, Rui Zhao, Kai Chen, Mohammad Norouzi, and Quoc V Le. 2018. QANet: Combining local convolution with global self-attention for reading comprehension. In ICLR .
- Authors
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K.
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2018
- arXiv
- 1810.04805
- Type
- Preprint
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review