Foundation Lab

Dropout: Stochastic Regularization

Classic regularizer that prevents co-adaptation of features

Concept 52 of 100OptimizationPhase 10
#52DropoutOptimization
key equation
h~=h⊙m,m∼Bernoulli(1−p)\tilde{h} = h \odot m, \quad m \sim \text{Bernoulli}(1-p)
Reading map and next steps

Selected Foundation Object

Keep the equation fixed; move through the evidence.

Concept 52 of 100DropoutOptimization / Phase 10: Mathematical foundations & information geometry
Current question

Dropout injects noise proportional to activation magnitude—implicitly favors robust features

h~=h⊙m,m∼Bernoulli(1−p)\tilde{h} = h \odot m, \quad m \sim \text{Bernoulli}(1-p)
PredictionCommit before tracing the equation.

Ask what should change under a concrete input, then trace that expectation through the equation.

EvidenceCompare the equation and source.

Use the key equation and canonical papers as the available witnesses, without implying that a runnable panel exists.

InvariantName what survives notation changes.

The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.

Next moveContinue through the atlas.

Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.

Why It Matters for Modern Models

  • Classic regularizer that prevents co-adaptation of features
  • Foundation for understanding stochastic regularization (also: droppath, stochastic depth)
  • Modern LLMs often use minimal dropout—understanding when it helps/hurts is practical knowledge

What Tutorials Skip

What is still poorly explained in textbooks and papers:

  • Dropout injects noise proportional to activation magnitude—implicitly favors robust features
  • Different dropout rates per layer: higher dropout in final layers often helps
  • At large scale with lots of data, dropout can hurt: the ensemble benefit is dominated by data diversity

Visualization Status

Core Math (Optional Deep Dive)

If you want intuition first, start with the key equation and cited sources. Come back here for the full walkthrough.

Key Equation
h~=h⊙m,m∼Bernoulli(1−p)\tilde{h} = h \odot m, \quad m \sim \text{Bernoulli}(1-p)

Dropout randomly zeros activations during training:

h~=h⊙m,mi∼Bernoulli(1−p)\tilde{h} = h \odot m, \quad m_i \sim \text{Bernoulli}(1-p)

At test time, scale by keep probability:

htest=(1−p)⋅hh_{\text{test}} = (1-p) \cdot h

Or use inverted dropout (scale during training):

h~=h⊙m1−p\tilde{h} = \frac{h \odot m}{1-p}

Dropout approximates ensemble averaging over 2n2^n sub-networks.

Canonical Papers

Dropout: A Simple Way to Prevent Neural Networks from Overfitting

Srivastava et al.2014JMLR
Read paper →

Connections

Next Moves

Choose the next question to carry this object forward.