In the standard recipe for training masked language models like BERT, the masking rate is a fixed constant—usually 15%. This "one-size-fits-all" approach assumes that the optimal difficulty for a model to reconstruct missing information remains the same from the first gradient step to the last. However, a growing body of research suggests that treating the masking rate as a dynamic curriculum significantly improves both training efficiency and final model performance.
The Intuition of Global to Local Learning
The most prominent strategy in this area is Masking Ratio Decay (MRD). Instead of a static rate, researchers like Dongjie Yang and Hai Zhao in Learning Better Masking for Better Language Model Pre-training propose starting with a high masking rate (e.g., 30% or 40%) and gradually decreasing it.
The intuition is rooted in how humans learn. When a large portion of a sentence is missing, you cannot rely on local grammatical cues to fill in the blanks; you must understand the broader semantic context and "global" themes to make a reasonable guess. By forcing the model to work with sparse information early on, it is incentivized to learn robust, high-level representations.
As training progresses and the masking rate drops, the model is presented with more visible context. This allows it to shift its focus toward "local" linguistic patterns and fine-grained dependencies. Naomi Saphra and Jonathan Frankle demonstrated in Dynamic Masking Rate Schedules for MLM Pretraining that this high-to-low transition acts as a form of simulated annealing for the loss landscape, leading to a 1.89x speedup in training time while improving accuracy on benchmarks like GLUE.
Progressive Difficulty and Stability
While the high-to-low schedule favors global-first learning, other contexts benefit from the opposite: a low-to-high schedule that ramps up difficulty.
In Masked Thought: Simply Masking Partial Reasoning Steps Can Improve Mathematical Reasoning Learning of Language Models, Changyu Chen and colleagues use a linear warmup for noise injection. By gradually increasing the ratio of masked tokens in a reasoning chain, the model first stabilizes on the basic structure of the task before being challenged with higher levels of logical corruption. This prevents the model from being overwhelmed by "distance bias" early in training.
Similarly, in the realm of parallel decoding, Lanxiang Hu and Yuxiong He introduced Jacobi Forcing in Fast and Accurate Causal Parallel Decoding using Jacobi Forcing. They employ a cyclic noise schedule that gradually increases the proportion of unconverged tokens. This teaches the model to map noisy, initial generation trajectories toward correct sequences, effectively "learning to leap" across generation steps to achieve up to a 4.0× wall-clock speedup.
Beyond Text: Structural and Biological Contexts
The benefits of dynamic masking extend beyond standard natural language.
- Multilingual Learning: In mmBERT: A Modern Multilingual Encoder with Annealed Language Learning, Marc Marone and Benjamin Van Durme use an inverse masking schedule to help the model learn broad structural patterns across 1,800 languages before refining low-resource language performance in the final stages.
- Graph Reasoning: Xiaoyi Bao and Zhongqing Wang found that for aspect-based sentiment analysis, increasing the masking rate over time helps bridge the gap between general language modeling and specialized structural reconstruction in Exploring Graph Pre-training for Aspect-based Sentiment Analysis.
- Proteomics: In FusOn-pLM: a fusion oncoprotein-specific language model via adjusted rate masking, Sophia Vincoff and Pranam Chatterjee utilize a cosine masking schedule to help a protein language model capture the deep structural features of "undruggable" disordered proteins.
Why It Works
The success of these schedules suggests that the "optimal" masking rate is not a single value, but a path. High masking rates provide a strong training signal and prevent the model from "cheating" via shallow text-matching shortcuts—a problem highlighted by Adriana Kovashka and Keren Ye in A Case Study of the Shortcut Effects in Visual Commonsense Reasoning.
By varying the intensity of the objective, researchers can control the model's focus, moving from coarse-grained semantic understanding to fine-grained syntactic precision. Whether the schedule is a linear decay, a cyclic ramp, or a cosine curve, the underlying principle remains the same: the difficulty of the task should evolve alongside the model's capacity to solve it.