Dropout
A regularization method: at each training step, a random portion of neurons is turned off. The network cannot rely on individual neurons and is forced to distribute knowledge across the entire architecture.
How It Works
flowchart LR
A[Full Network] --> B[Randomly Turned Off<br>Part of Neurons]
B --> C[Training Step]
C --> D[Repeat with New<br>Random Mask]
Dropout is turned off during prediction, and the entire network is used.
Why It Is Needed
To combat overfitting: when any neuron can disappear at any moment, the network learns reliable, distributed representations rather than memorizing individual examples.
Where It Is Used
- classical neural networks for images;
- transformers — dropout is applied to attention and fully connected layers;
- almost any serious training pipeline.
Typical Value
Usually, 10–50% of neurons are turned off (p = 0.1…0.5). Too high dropout hinders learning, too low does not provide the desired effect.