Term
masked language modeling
Meaning
A pretraining objective in which some tokens of an input sequence are replaced by a mask, and the model is trained to predict the original tokens from the surrounding context. The loss is computed only at the masked positions.
How papers use it 13 papers
Longformer: The Long-Document Transformer
Use Used as the pretraining objective for Longformer. The model is trained with it on long documents, starting from the RoBERTa checkpoint, so that the new attention pattern and position embeddings are learned. The paper reports masked language modeling BPC on its training corpus to track this pretraining.
Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
Use It is the objective ROBERTA is trained on, and each adaptation phase continues it.
Meaning Training a model to predict tokens that were randomly hidden in its input.
FIDEL: Abugida-Aware Pre-tokenization for Ethiopic Languages
Use Used as the pretraining objective for the encoders that the paper trains from scratch on the Ge’ez-script corpus, with the same objective applied under every tokenization condition so that the tokenizer is the only variable.
Meaning A pretraining objective for encoder language models in which some input tokens are hidden and the model is trained to predict them from the surrounding context. It is the training signal used by BERT-style encoders.
BEiT: BERT Pre-Training of Image Transformers
Use Motivates the masked image modeling task in BEIT. The paper points to its success in natural language processing and to the use of blockwise or n-gram masking in BERT-like models as a basis for the masking design.
Meaning A pretraining objective for language models in which some tokens of a text are replaced by a mask and the model is trained to recover them from the encoding of the corrupted text.
VisualBERT: A Simple and Performant Baseline for Vision and Language
Use In VisualBERT, the masked prediction is extended with image input: masked text tokens are predicted from the remaining words together with the image region vectors, which are not masked. It is one of the two visually grounded objectives used in task-agnostic pre-training on COCO.
Meaning A pre-training objective in which some input tokens are replaced by a special mask token, and the model is trained to recover the identity of each masked token from the surrounding context.
A Primer in BERTology: What we know about how BERT works
Use One of the two pretraining tasks of the original BERT, alongside next sentence prediction. Probing work on BERT often uses its fill-in-the-gap form to test what the model knows about syntax and facts.
Meaning A self-supervised pretraining objective in which some input tokens are randomly masked and the model is trained to predict them from the surrounding context.
Cross-lingual Language Model Pretraining
Use An unsupervised XLM objective applied to text streams of arbitrary numbers of sentences, rather than sentence pairs. Rare tokens are down-weighted in the prediction targets by subsampling frequent ones. It is used alone or in combination with TLM, and the paper reports it as the stronger of its two monolingual objectives in unsupervised machine translation.
Meaning A monolingual pretraining objective in which some tokens are hidden and the model predicts them from the surrounding context on both sides. The hidden tokens are replaced by a mask token, a random token, or left unchanged.
wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations
Use Motivates the masking of spans of latent speech representations used in pre-training, where masked time steps must be recovered from the context around them.
Meaning A pre-training approach in which some tokens of the input are hidden and the model is trained to predict them from the surrounding context.
Large Language Models: A Survey
Use One of the two pre-training objectives of BERT, the other being next sentence prediction. The paper uses it to describe how BERT is pre-trained before a classifier layer is added for downstream language understanding tasks.
Meaning A self-supervised pre-training objective in which some input tokens are hidden and the model learns to predict them from the surrounding context.
What Does BERT Look At? An Analysis of BERT's Attention
Use Serves as one of BERT's two pre-training objectives. The paper differentiates the loss of this objective with respect to each attention weight, giving a gradient-based importance score that estimates how much changing attention to a token alters BERT's outputs. This is used to test whether attention to [SEP] matters for the model.
Meaning A self-supervised pre-training objective in which a language model learns to recover words that have been hidden from its input, using the context on both sides of each hidden position.
ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
Use ProSST is pre-trained with this objective on 18.8 million protein structures. About 15% of residue positions are selected, with 80% of them replaced by a mask token and 10% replaced by random residues. The model predicts the original residues from the corrupted sequence together with the structure token sequence, so it learns both residue dependencies and residue-structure relations.
Meaning A pre-training objective in which some tokens of an input are masked or corrupted, and the model learns to predict the original tokens from the remaining context. It trains the model to use surrounding information for each position.
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
Use Serves as the token-level pretraining loss that ALBERT trains jointly with the sentence-order prediction loss. The masked targets are chosen with n-gram masking, where each masked span is up to three whole words long, and dev-set MLM accuracy is tracked to monitor training.
Meaning A pretraining objective in which some input tokens are hidden and the model is trained to recover them from the surrounding context. It is a token-level prediction loss that does not depend on the sentence-level structure of the input.
Deep Learning Based Text Classification: A Comprehensive Review
Use Described as the pre-training task used by BERT, in contrast to the left-to-right prediction of OpenGPT. The paper also notes that ELECTRA uses a more sample-efficient replaced token detection task instead of MLM.
Meaning A pre-training objective for language models in which some tokens of a text are randomly replaced by a mask, and the model recovers them from the surrounding context in both directions. Its purpose is to learn bidirectional contextual representations.