What goes wrong if you initialise every weight in a multi-layer perceptron to zero (or to the same non-zero constant c)?

Deep learning, Weight initialisation
Level L1 Beginner. Length Short. Nature Th Theoretical.

What's being asked

Whether you understand symmetry breaking: why identical initial weights prevent neurons in a layer from learning different features.

Key idea

If all weights in a layer start at the same value (zero or any constant c), every hidden neuron computes the exact same output and receives the exact same training update, so all neurons behave like clones of a single neuron forever. Small random initial weights break this symmetry.

Steps

  1. Every neuron acts identically: if every neuron in a hidden layer starts with the same weights (whether 0 or a constant c), each neuron sees the same inputs and outputs the exact same number on every training example.
  2. They stay identical forever: because every neuron in that layer behaves the same way, training gives every one of them the exact same update at every step, reducing a wide layer to an effective width of 1.
  3. Extra hazard at zero: when all weights are 0, activations such as ReLU⁡(z)=max⁡(0,z) output 0 everywhere, so no signal passes forward and learning stalls completely.
  4. How to break symmetry: draw initial weights randomly (with small positive and negative values) so different neurons start sensitive to different patterns; biases can still start at 0 because random weights already make each neuron distinct.

Common mistakes

How long your answer should be

3–4 sentences.

Read this

Previous in Deep learning: A multilayer perceptron takes 10-dimensional inputs, passes them through two hidden layers of widths 32 and 16 (each with biases), and outputs 4 class scores (logits). How many learnable parameters does it have?
Next in Deep learning: What is data augmentation, why does it reduce overfitting without collecting new labelled examples, and what are two concrete examples where a standard image augmentation like horizontal flipping or 180∘ rotation breaks the ground-truth label?