LeCun initialization is a weight initialization method that draws each unit's weights from a distribution with mean 0 and standard deviation ( is the number of inputs connected to the unit, the fan-in). In terms of variance, it is . Yann LeCun et al. presented it in the 1998 tutorial paper "Efficient BackProp" as one of the tricks for making backpropagation work well.
The key point of this method is not to set the weight scale in isolation but to align three things: input normalization, the activation function, and weight initialization.
- Normalize the inputs to mean 0 and variance 1.
- Use a sigmoid symmetric around 0 as the activation function: .
- Draw weights with standard deviation so that the weighted sum has standard deviation 1.
With this setup, most weighted sums fall in the nearly linear range of the sigmoid (around to ), and the outputs are also on the order of 1. Weights that are too large saturate the sigmoid and shrink the gradient, while weights that are too small make the gradient itself small, so this initialization aims for the middle ground.
The left side of the figure at the top shows the recommended sigmoid and the distribution of the weighted sum under LeCun initialization. The right side shows a calculation of how the output variance changes as layers are stacked, for different weight standard deviations.

