Xavier Initialization
Also known as: Glorot Initialization
Category: Neural Networks & Architectures
A weight initialization method that sets weights from a distribution scaled by the number of input and output neurons to maintain variance.
Full Explanation
Xavier initialization (also called Glorot initialization) was proposed by Xavier Glorot and Yoshua Bengio to address the vanishing and exploding gradient problems in deep networks. It initializes weights from a distribution with variance equal to 2/(fan_in + fan_out), where fan_in and fan_out are the number of input and output units. This ensures that the variance of activations and gradients remains approximately constant across layers. Xavier initialization assumes linear or near-linear activation functions and works well with sigmoid and tanh activations. For ReLU-based networks, He initialization is preferred. Xavier initialization comes in two variants: using a uniform distribution or a normal distribution with the appropriate variance. It is the default initialization in many frameworks for layers with sigmoid or tanh activations.
Related Terms
More in Neural Networks & Architectures
Explore More
- AI Tools Library — Discover AI tools related to Xavier Initialization
- AI Education — Courses to learn about Neural Networks & Architectures
- AI News — Latest news and updates