How Much Dropout Wobbles a Sum

Statistics for Deep LearningHard+30 XP+30

How Much Dropout Wobbles a Sum

A hidden layer produces three activations for one training example:

h=[ 2.0,  3.0,  6.0 ]\mathbf{h} = [\,2.0,\; 3.0,\; 6.0\,]h=[2.0,3.0,6.0]

A single downstream unit simply adds them up (all weights equal 111, no bias), producing SSS.

During training, inverted dropout with keep probability q=0.80q = 0.80q=0.80 is applied to the layer. Each unit gets its own independent mask ri∼Bernoulli(q)r_i \sim \text{Bernoulli}(q)ri​∼Bernoulli(q), and surviving units are rescaled:

h~i=hi riq,S=∑i=13h~i\tilde{h}_i = \frac{h_i \, r_i}{q}, \qquad S = \sum_{i=1}^{3} \tilde{h}_ih~i​=qhi​ri​​,S=∑i=13​h~i​

The activations h\mathbf{h}h are fixed; the only randomness is the mask.

Over the randomness of the masks, what are the mean and the standard deviation of SSS?

Dropout & Stochastic Regularization

Keep Probability (q):0.5

Layer Node States

Node 1:ACTIVE
Node 2:ACTIVE
Node 3:ACTIVE
Node 4:ACTIVE
Node 5:ACTIVE
Node 6:ACTIVE

Scaled Output Activations

Node 1:2.00
Node 2:1.60
Node 3:2.40
Node 4:3.00
Node 5:1.80
Node 6:2.20

Note how active nodes are scaled up by 1/q to maintain the expected sum of activations, avoiding a scaling mismatch at test time.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.