Foundations — Dropout regularization
This page assumes nothing. Before you touch the parent note Dropout regularization, we build every symbol it uses, in the order they depend on each other. If a term below already feels obvious, skim it — but the later math only clicks if each of these pictures is in your head.
0. What is a neuron and an "activation"? (the thing being dropped)
Before we can drop anything, we need to know what gets dropped.

Look at the figure. Each circle is one neuron; the number floating next to it is its activation — how strongly that neuron "fired" for this input. Dropout does one brutal thing to this picture: it reaches in and forces some of these numbers to zero.
- Why the topic needs this: dropout is applied to activations, not to the weights (the connection strengths). Keep that straight — we silence outputs, not connections.
1. The symbol and — a layer's activations
Why the topic needs it: every dropout formula acts on one neuron at a time (), then we bundle them back into the whole layer ().
2. Probability — the language of "randomly"
Dropout is random, so we need a precise way to say "how often". That precise way is probability.

The bar in the figure is split: the shaded slice is the chance of one outcome, the rest is the chance of the other. The two slices always add to , because something must happen every time.
Why the topic needs it: "each neuron is dropped with probability " is meaningless until you know a probability is just a fraction-of-the-time between and .
3. The symbols and — drop chance and keep chance
Now we name the two probabilities dropout cares about.
Because a neuron must either be dropped or kept (nothing else can happen), their probabilities fill the whole bar:
Why the topic needs it: every later formula uses as the shrink/boost factor. sets the amount of randomness; is what you multiply and divide by.
4. The Bernoulli distribution and the mask
We need a mathematical "coin" that outputs (keep) or (drop). That coin is the Bernoulli distribution.
The whole row of coins is the mask : one coin per neuron.

In the figure, each neuron gets its own coin. Where the coin shows (mint), the activation passes through. Where it shows (coral), the activation is crushed to zero. That is the entire dropping mechanism:
Read this as: "the dropped activation (say 'ay-tilde') equals the coin times the original ." If , nothing changes; if , the neuron is silenced.
- The tilde just means "the modified version of " — a hat that says this has been messed with by dropout.
- "Independently at every forward pass" means each neuron flips its own coin, and fresh coins are flipped every step. Neighbours don't share coins.
Why the topic needs it: the mask is the actual object dropout multiplies your layer by. See Bernoulli Distribution and, for why different masks give an ensemble, Ensemble Methods (Bagging).
5. Expectation — the "long-run average"
The most confusing symbol in the parent note is . It is simple.
For a Bernoulli() coin, the average of " with chance , with chance " is:
A key rule we will lean on: constants slide out of expectation. Since is a fixed number (not random) once the input is fixed,
Why the topic needs it: dropping shrinks the average signal to . That shrink is the whole reason the rescale exists — which is the next symbol.
6. Rescaling by — restoring the honest average
Here is the problem the parent note solves. During training the next layer sees signals shrunk to on average. At test time we keep everyone, so it suddenly sees the full — which is times bigger. Mismatch.
The fix (inverted dropout) is to boost survivors during training so the average never shrinks:
Check the average is now honest:
The 's cancel — the expected activation equals the original. No test-time change needed.
Why the topic needs it: without this factor, test activations are too large and the model performs worse than using no dropout at all.
Prerequisite map
Equipment checklist
Cover the right side and test yourself — if any answer is fuzzy, reread its section above.
What is an "activation" in one plain sentence?
What does the subscript in mean?
What is a probability, numerically?
What is and what is ?
Why must ?
What does produce?
What does the mask do in ?
What does mean?
Why does ?
Why is ?
Why do we multiply survivors by ?
Connections
- Bernoulli Distribution — the coin behind the mask .
- Overfitting and Generalization — why we bother switching neurons off at all.
- Parent: Dropout regularization — where these symbols get used in full.
- Ensemble Methods (Bagging) — the sub-networks the mask secretly creates.