Concept

Zero Weight Initialization in Feed-Forward Networks

If the weight matrix W\mathbf{W} of a neural network layer is initialized to all zeros, the gradient of the loss L\mathcal{L} with respect to the pre-activation vector, Lz\frac{\partial\mathcal{L}}{\partial\mathbf{z}}, will be identical for every neuron in that layer (assuming identical biases). During gradient descent, these parameters will update identically, preventing the neurons from learning distinct features and causing the symmetry problem. Furthermore, because the weight matrix is zero, backpropagating the gradient to earlier layers involves multiplication by WT\mathbf{W}^T, which immediately zeroes out those gradients and contributes directly to the vanishing gradient problem.

Image 0

0

1

Updated 2026-07-06

Tags

Data Science