Dropout: train on random pieces of the network, test on all of it

Srivastava et al. 2014: on every training step, set each hidden unit to zero with probability p. How could damaging the network on purpose possibly help? Three views: what it does to one neuron’s output, why it forces redundancy, and what it does to a network that is overfitting.

1. One neuron, every mask: the lecture’s example

A two-input neuron and its four dropout masks A neuron a = w0 x + w1 y. Four cards show the four ways dropout can keep or drop the two inputs, each with its probability and its output. A number line below marks the four outputs, their probability-weighted average, the test-time output, and a running average of sampled masks.
x y w0 w1 drop probability p

2. Many subnetworks: why dropout forces redundancy

Five cat features, and the 32 subnetworks dropout can make of them Five feature units (has an ear, has a tail, is furry, has claws, mischievous look) feed a cat score. A grid of 32 cells shows every way of dropping some of the five, each colored by whether the remaining features still say cat.

3. Overfitting, with and without it: two networks training live

Two networks trained on the same 40 noisy points, one with dropout Left, the decision regions of a network trained without dropout; middle, the same network trained with dropout; both over the same 40 training points. Right, the training and test loss of both against training steps on a log scale.
dropout p for the right network