Optimal Masking Ratios Vary by Model Size and Task

The conventional 15% masking rate is not universally optimal; research indicates that larger BERT-like models can benefit from higher masking rates. For instance, masking 40% of tokens has been shown to outperform 15% for BERT-large models on benchmarks like GLUE and SQuAD, even improving F1 performance metrics by 2 percentage points. Some studies even suggest that extremely high rates, up to 80%, can still maintain significant fine-tuning performance, challenging prior assumptions. The ideal masking ratio depends on the model size and the specific downstream NLP task.

Sources

Open the full topic