Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Dynamic Masking Rate Schedules for MLM Pretraining

About

Most works on transformers trained with the Masked Language Modeling (MLM) objective use the original BERT model's fixed masking rate of 15%. We propose to instead dynamically schedule the masking rate throughout training. We find that linearly decreasing the masking rate over the course of pretraining improves average GLUE accuracy by up to 0.46% and 0.25% in BERT-base and BERT-large, respectively, compared to fixed rate baselines. These gains come from exposure to both high and low masking rate regimes, providing benefits from both settings. Our results demonstrate that masking rate scheduling is a simple way to improve the quality of masked language models, achieving up to a 1.89x speedup in pretraining for BERT-base as well as a Pareto improvement for BERT-large.

Zachary Ankner, Naomi Saphra, Davis Blalock, Jonathan Frankle, Matthew L. Leavitt• 2023

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisSST-2
Accuracy92.6
156
Authorship AttributionPAN19-P1
Accuracy83.76
6
Authorship AttributionPAN P5 19
Accuracy62.42
6
Showing 3 of 3 rows

Other info

Follow for update