Home Knowledge Base Dynamic Masking

Dynamic Masking is a training strategy for Masked Language Models (like RoBERTa) where the mask pattern is generated on-the-fly every time a sequence is fed to the model, rather than being generated once and saved (Static Masking) — allowing the model to see different versions of the same sentence with different masks over training epochs.

Dynamic vs. Static

Why It Matters

Dynamic Masking is reshuffling the problem — changing which words are hidden every time the model studies a sentence to prevent memorization.

dynamic maskingnlp

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.