Jargonautica
How the Machinery Works

Weight Initialisation

The random values a network starts with before it learns anything. It seems like it should not matter much and it does: start too small and signals fade away, start too large and they blow up. There are standard recipes, and using the wrong one can stop training working entirely.

Technical view

Schemes such as Xavier and He initialisation scale variance by fan-in or fan-out to keep activation and gradient variance roughly constant across layers, matched to the activation function in use. Poor initialisation causes saturation or divergence in the first steps. For very large models, initialisation interacts with learning rate and depth in ways captured by parameterisations that allow hyperparameters tuned on small models to transfer to large ones.


Part of AI Terminology Index, section: How the Machinery Works.

How it connects

Weight Initialisation links to 4 other terms. The faint lines are links between those terms. See it in the full graph.

Weights, Parameters and BiasesWeights, Parameters…Vanishing and Exploding GradientsVanishing and Explo…Learning Rate ScheduleLearning Rate Sched…Normal DistributionNormal DistributionWeight Initialisation