Home Knowledge Base Masked Language Modeling (MLM)

Masked Language Modeling (MLM) is the pre-training objective introduced by BERT where a percentage of input tokens are hidden (masked), and the model must predict them using bidirectional context — typically masking 15% of tokens and minimizing the cross-entropy loss of the prediction.

The "Cloze" Task

Why It Matters

MLM is fill-in-the-blanks — the bidirectional pre-training task that teaches models deep understanding of language structure and relationships.

masked language modelingmlmfoundation model

Explore 500+ Semiconductor & AI Topics

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