masked region modeling
**Masked Region Modeling (MRM)** is a **pre-training objective where the model must reconstruct or classify masked-out regions of an image** — using the accompanying text caption and the visible parts of the image as context.
**What Is Masked Region Modeling?**
- **Task**: Mask out the pixels for "cat". Ask model to predict feature vector / class / pixels of the masked area.
- **Context**: The text caption "A cat sitting on a mat" provides the hint needed to reconstruct the missing pixels.
- **Variants**: Masked Feature Regression, Masked Visual Token Modeling (BEiT).
**Why It Matters**
- **Visual Density**: Unlike text (discrete words), images are continuous. MRM forces the model to learn structural relationships.
- **Completeness**: Complements Masked Language Modeling (MLM). MLM teaches Image->Text; MRM teaches Text->Image.
- **Generative Capability**: The precursor to modern image generators (DALL-E, Stable Diffusion).
**Masked Region Modeling** is **teaching AI object permanence** — training it to imagine what isn't there based on context and description.