| Small Fixed \mathcal{N}(0, 0.01^2) |
10^{-4} |
\frac{1}{2}h(10^{-4}) = 0.0128 |
\sim 10^{-17} (vanishes) |
Freezes early layers; 10-layer MLP stays stuck at \log 10 |
| Large Fixed \mathcal{N}(0, 1) |
1 |
\frac{1}{2}h(1) = 128 |
\sim 10^{19} (explodes) |
Overflows float32 to inf/NaN or destabilizes SGD |
| Sigmoid (\sigma(z)) |
1/n_{\textrm{in}} |
\mathbb{E}[\sigma'(z)^2] \le 1/16 |
\le 16^{-9} \approx 10^{-11} |
Slope \le 1/4 plus tail saturation causes vanishing gradients |
| Xavier / Glorot |
\frac{2}{n_{\textrm{in}} + n_{\textrm{out}}} |
\frac{1}{2} (on ReLU); 1 (on \tanh) |
2^{-10} \approx 10^{-3} (on ReLU) |
Standard for linear, \tanh, and attention projection layers |
| He / Kaiming |
\frac{2}{n_{\textrm{in}}} |
\frac{1}{2}n_{\textrm{in}}\bigl(\frac{2}{n_{\textrm{in}}}\bigr) = 1 |
\approx 1.0 across all layers |
Standard for ReLU/GELU networks; trains immediately at depth |
| Constant Weights (w_{ij} = c) |
c^2 = 2/n_{\textrm{in}} |
Preserves norm, rank 1 |
All columns identical |
Fails to break permutation symmetry; h units act as 1 |