Part II showed that averaging many independent overfit trees beats any single one. What if a single network could get a taste of that same trick, using only itself?
Click resample. Each time, a different random half of these neurons goes dark — and the ones that survive get scaled up to compensate. The output jumps around from draw to draw, but it's never systematically off from the true, undropped value.
Dropout randomly zeroes each neuron independently with probability , then rescales the survivors by ("inverted dropout"):
- — this layer's output after dropout is applied.
- — the dropout rate: the probability any given neuron is zeroed out.
- — the weight connecting surviving neuron to the output.
- — surviving neuron 's activation.
- The rescaling keeps the output unbiased
This isn't arbitrary — it's exactly what keeps the expected value of , averaged over every possible random mask, equal to the true undropped output , for any dropout rate at all.
Drag the rate up and resample. At higher rates, fewer neurons survive each draw and the output swings harder — but the expected active count tells you exactly how many you should expect on average, even though any one draw might have more or fewer.
- Average many random draws
Over 200,000 independent draws at , the mean output lands within about 1% of the true undropped value — confirming the unbiasedness the rescaling is designed to guarantee.
- Look at a single draw instead
Any single draw can differ from the true value by more than the true value's own size: dropout genuinely injects substantial per-step noise.
- See why that noise is the point
A network trained this way can't rely on any specific neuron or fixed combination of neurons always being present, so it's forced to spread what it learns across many redundant paths instead of memorizing through one fragile one.
Set the dropout rate so the expected number of surviving neurons is 3 out of 8.
Dropout doesn't change what a network is capable of representing — it changes what it can afford to rely on during training. Forcing every subset of neurons to be independently useful is, in effect, training a huge implicit ensemble of thinned sub-networks that all share the same weights. Part III's final chapter puts everything from this part together: a full network, trained live, in the browser.