A hidden layer with independent inputs (each of mean and variance ) computes with zero bias, which gives when weights are drawn independently with mean and variance . What is the standard deviation of under () versus Xavier-style normal (), and why does stall training under a activation?
Deep learning, Weight initialisation
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can compute pre-activation spread from a given variance formula and link wide pre-activations to saturating gradients.
Key idea
Because , drawing weights from gives , pushing deep into its flat saturated tails where gradients vanish; Xavier-style normal sets () so .
Steps
- Apply the given variance rule , and recall that the standard deviation is .
- Under (): , so the standard deviation of is .
- Under Xavier-style normal (, ): , so the standard deviation of is .
- Why stalls : typical pre-activations reach around , where flattens near and its slope drops close to zero (about ), killing gradients; at , values stay in the active central region where .
Common mistakes
- Thinking means also has standard deviation , forgetting the scaling of a sum of terms.
- Confusing variance with standard deviation .
How long your answer should be
4–5 lines with both standard deviations and why large saturates .
Read this
Previous in Deep learning: In a small computation graph, input feeds two branches that share the same weight : and , and the loss is . How do you compute by backpropagation, and what happens if an implementation overwrites instead of accumulating branch gradients?
Next in Deep learning: Why are bias vectors and normalisation scale/shift parameters () usually excluded from L2 weight decay in deep neural networks?