BERT

32 beliefs (32 IN, 0 OUT)

This topic centers on BERT, the bidirectional transformer pre-trained by Devlin, Chang, Lee, and Toutanova and published as arXiv:1810.04805 in October 2018, with code released under the google-research GitHub organization one month later (bert-paper-devlin-2018-arxiv-1810-04805, bert-open-sourced-november-2018, bert-code-under-google-research-org). The beliefs collectively describe BERT's internal mechanics: a WordPiece sub-word tokenizer with a 30,000-token vocabulary (bert-wordpiece-tokenizer-30k-vocab); input embeddings formed by summing token, absolute sinusoidal position, and binary segment-type embeddings rather than concatenating them (bert-embeddings-sum-of-three-types, bert-position-embedding-absolute-sinusoidal); and GELU activations in place of the original transformer's ReLU (swiGLU-llama-palm-gelu-gpt1-bert). Pre-training runs two simultaneous self-supervised objectives, Masked Language Modeling and Next Sentence Prediction, over BookCorpus (800M words) and filtered English Wikipedia (2,500M words), with the MLM step masking 15 percent of tokens in an 80-10-10 split between [MASK], random, and unchanged tokens to reduce dataset shift (bert-two-pretraining-tasks-mlm-nsp, bert-pretraining-corpora-bookcorpus-wikipedia, bert-trained-on-bookcorpus-and-wikipedia, bert-mlm-15pct-80-10-10-split). Fine-tuning for classification reads the [CLS] token through a linear-softmax head while updating all parameters end-to-end, whereas token-level tasks use individual token outputs (bert-classification-finetune-cls-linear-softmax, bert-cls-token-for-classification).

The broader significance of these architectural details is that they underwrote a set of 2018 state-of-the-art results on GLUE, SQuAD v1.1 and v2.0, and SWAG (bert-sota-2018-glue-squad-swag, bert-evaluated-on-squad-and-swag), and they proved that the pretrain-finetune paradigm was viable at production scale. Google deployed BERT to Search for English queries in October 2019, expanded to 70-plus languages by December 2019, and brought it to nearly all English queries by October 2020 (bert-google-search-deployment-2019-2020, bert-deployment-validated-pretrain-finetune-at-scale-v2). A strikingly low training cost of roughly 500 USD on 4 Cloud TPUs over 4 days (bert-training-cost-500-usd-4-tpus-4-days, bert-implemented-in-tensorflow-trained-on-tpus) anchors the broader economic narrative that training costs have scaled by orders of magnitude through GPT-2 and PaLM while per-parameter compute stayed consistent, meaning growth is driven by scale ambition rather than inefficiency (training-costs-scaled-exponentially-across-generations, economic-pressure-drives-capability-cost-decoupling-v2). Turc et al. further demonstrated that pre-training small BERT models directly outperforms distilling from larger ones, validating accessible small-scale pre-training as a performance-optimal methodology rather than merely an approximation (bert-pretraining-small-models-better-than-distilling, bert-accessible-pretraining-validates-efficient-small-scale-research). Distillation itself has been validated across the full scale spectrum, from DistilBERT retaining 95 percent of benchmark performance at 60 percent of parameters to frontier-scale codistillation (distillation-validated-across-full-scale-spectrum-v2).

On the successor and derivative side, the beliefs note that BERT's raw [CLS] embeddings score only 29.19 average STS Spearman correlation, well below GloVe's 61.32, which motivated the Sentence-BERT project: a siamese BERT architecture trained with triplet loss and cosine-similarity regression to produce fixed-size sentence vectors, published at EMNLP 2019 by Reimers and Gurevych and funded by DFG and BMBF (raw-bert-cls-sts-correlation-29-19, sentence-bert-base-architecture-bert, sentence-bert-siamese-triplet-loss-architecture, sentence-bert-venue-emnlp-2019, sentence-bert-funding-dfg-bmbf). Architectural variants such as RoBERTa (removing NSP, using larger batches), ALBERT (cross-layer parameter sharing with SOP), and ELECTRA (replaced-token detection) each modified a specific pretraining design choice while preserving BERT's core architecture, collectively suggesting that BERT's particular design decisions were improvable without discarding the underlying framework (bert-variants-systematically-ablated-pretraining-design, roberta-removed-nsp-larger-batches). Organizationally, Google Brain and DeepMind have since merged into Google DeepMind, which now houses BERT and successor research (google-brain-merged-into-deepmind). All beliefs in this topic carry the IN status; none have been retracted, so the knowledge base presents a fully coherent and unrevised picture of BERT's architecture, training regime, benchmarks, deployment history, and derivative work.