Weight initialization is the process of setting the initial values of the weights before training starts.
Its purpose is to prevent the vanishing gradient problem and the exploding gradient problem in activation functions.
There are several initialization methods.
- Zero initialization / constant initialization
This method sets all weights to 0 or to a constant value.
Because many units end up with similar input-output relationships early in training, it is known to reduce the model's nonlinearity (and thus its expressive power).
- Random initialization
This method initializes the weights with small random values close to 0 to break the symmetry problem and achieve higher accuracy.
It reduces the tendency of units to learn the same features from the inputs, but saturation of the activation function can cause the vanishing gradient problem or slow down gradient descent.
An initialization method proposed to counter the growth in variance that comes with a larger number of inputs and to prevent the vanishing gradient problem and the exploding gradient problem.
It is effective for differentiable activation functions.
A method that initializes the weights so that the variance of the activation function outputs is equal across all layers.
It prevents the vanishing gradient problem and the exploding gradient problem, but it cannot be used with non-differentiable activation functions and does not help with the dying neuron problem.
or
- He initialization
An initialization method that is effective for non-differentiable activation functions such as ReLU.
It considers only the inputs from the previous neurons (n_in) and is designed to compensate for the input information lost in functions such as ReLU.
He initialization sets the variance of the weights so that the magnitude of the input signals does not grow or shrink exponentially as layers are stacked.
Reference: WEIGHT INITIALIZATION TECHNIQUES FOR DEEP LEARNING ALGORITHMS IN REMOTE SENSING: RECENT TRENDS AND FUTURE PERSPECTIVES(2021)

