What does dropout do while a neural network is being trained?
Show the answer and explanation
Correct answer: C, It randomly sets a fraction of a layer's activations to zero on each forward pass, with a new random mask.
Explanation DL Regularization
Dropout (Srivastava et al., 2014) randomly zeroes a fraction of a layer's activations during training. A new random mask is drawn on every forward pass, so each step trains a slightly different "thinned" network. Units cannot rely on specific partners being present, which reduces co-adaptation and overfitting.
Why the other descriptions are wrong:
- Permanently deleting low-weight neurons after training is pruning, a compression technique.
- Dropping training examples from a batch just shrinks the batch; dropout acts on activations, not on rows of data.
- Shrinking all weights by a fixed fraction each step is weight decay.
Dropout is only active in training mode; at inference the full network is used.
Interview tip: say "randomly zero activations during training, new mask every step, off at inference", then expect a follow-up on how the activations are scaled.