[Paper Review] Should You Mask 15% in Masked Language Modeling?
This paper challenges the conventional 15% masking rate in masked language modeling (MLM), demonstrating that higher rates—up to 80%—can preserve 95% of fine-tuning performance on GLUE and SQuAD while improving sample efficiency. The authors show that larger models benefit from higher masking rates, and that prediction rate (number of tokens predicted) and corruption rate (fraction of tokens masked) have opposing effects, which they disentangle to re-evaluate BERT’s 80-10-10 strategy.
Masked language models (MLMs) conventionally mask 15% of tokens due to the belief that more masking would leave insufficient context to learn good representations; this masking rate has been widely used, regardless of model sizes or masking strategies. In this work, we revisit this important choice of MLM pre-training. We first establish that 15% is not universally optimal, and larger models should adopt a higher masking rate. Specifically, we find that masking 40% outperforms 15% for BERT-large size models on GLUE and SQuAD. Interestingly, an extremely high masking rate of 80% can still preserve 95% fine-tuning performance and most of the accuracy in linguistic probing, challenging the conventional wisdom about the role of the masking rate. We then examine the interplay between masking rates and masking strategies and find that uniform masking requires a higher masking rate compared to sophisticated masking strategies such as span or PMI masking. Finally, we argue that increasing the masking rate has two distinct effects: it leads to more corruption, which makes the prediction task more difficult; it also enables more predictions, which benefits optimization. Using this framework, we revisit BERT's 80-10-10 corruption strategy. Together, our results contribute to a better understanding of MLM pre-training.
Motivation & Objective
- To investigate whether the widely adopted 15% masking rate in MLM is optimal across model sizes and masking strategies.
- To understand how masking rate interacts with model size, masking strategy, and optimization efficiency.
- To disentangle the effects of corruption rate (how much is masked) and prediction rate (how many predictions are made) in MLM pre-training.
- To re-evaluate BERT’s 80-10-10 corruption strategy using a new framework that separates corruption and prediction effects.
- To provide evidence for higher masking rates as a path to more sample-efficient pre-training, especially for large models.
Proposed method
- The authors pre-train BERT-large models with masking rates of 15%, 40%, and 80% using an efficient recipe, evaluating on GLUE and SQuAD.
- They compare uniform masking, span masking, and PMI-based masking strategies at various masking rates to assess strategy-dependent optimal rates.
- They introduce a disentangled analysis framework that separates corruption rate (fraction of masked tokens) and prediction rate (number of predictions made), allowing independent ablation.
- They conduct ablation studies to isolate the impact of increased corruption (less context) versus increased prediction (more training signals).
- They re-evaluate BERT’s 80-10-10 strategy (80% masked, 10% original, 10% random) and find it underperforms compared to strategies with higher prediction rates.
- They use a consistent pre-training recipe and report results on standard benchmarks, including perplexity, downstream accuracy, and linguistic probing.
Experimental results
Research questions
- RQ1Is 15% masking universally optimal for masked language model pre-training, or does it depend on model size?
- RQ2How do different masking strategies (uniform, span, PMI) interact with masking rate, and what are their optimal rates?
- RQ3What are the distinct effects of corruption rate (context loss) and prediction rate (training signal) in MLM pre-training?
- RQ4Does BERT’s 80-10-10 corruption strategy remain optimal when compared to alternatives with higher prediction rates?
- RQ5Can extremely high masking rates (e.g., 80%) still yield effective representations for downstream tasks?
Key findings
- For BERT-large models, a 40% masking rate outperforms 15% on GLUE and SQuAD, with improvements of +0.3 in MNLI and +1.8 in SQuAD F1.
- At 80% masking, models retain 95% of the fine-tuning performance on downstream tasks compared to 15% masking, despite a perplexity of 1141.4.
- Linguistic probing shows that even 80% masked models retain strong linguistic representation capabilities.
- Uniform masking benefits more from higher masking rates than sophisticated strategies like span or PMI masking, which are more robust to lower masking.
- The disentangled analysis confirms that higher prediction rates improve optimization, while higher corruption rates hurt performance, showing opposing effects of masking rate.
- BERT’s 80-10-10 strategy underperforms compared to alternatives with higher prediction rates, suggesting it is not optimal.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.