← All Posts
Deep Learning · Weight Initialization in Deep LearningReading guide

Weight Initialization in Deep Learning: Reading Guide

A connected guide with step-by-step derivations, worked examples, figures, and interactive experiments.

Weight initialization sets the starting point of optimization. Before a single gradient step is taken, it must break symmetry across hidden units, keep forward activations and backward gradients from vanishing or exploding across depth, and match the architecture’s activations.

Reading order

01
Initialization: Break Symmetry and Keep Signals Alive

See why identical hidden units stay identical, derive the per-layer second-moment multipliers $n_{\rm in}s_W^2$ (forward) and $n_{\rm out}s_W^2$ (backward), and watch scale compound through depth.

02
Xavier, LeCun, and He Initialization: Count the Inputs and Outputs

Derive fan-in ($s_W^2=1/n_{\rm in}$), fan-out ($s_W^2=1/n_{\rm out}$), Xavier ($s_W^2=2/(n_{\rm in}+n_{\rm out})$), and He ($s_W^2=2/n_{\rm in}$) variances, and convert them to uniform bounds via $a=\sqrt{3}\,s_W$.

Core notation at a glance