KatInterview

Impact of Zero Initialization on Neural Networks and Linear Models

Machine LearningModel answer
MediumModel answerMachine Learningdeep-learningneural-networksgradient-descent

Last updated

Analyze why setting all weights to zero causes hidden unit symmetry in deep networks while remaining functional for single-layer models.

Describe what occurs during optimization if every weight parameter in a neural network is set to zero prior to training.

In your response:

  1. Explain the mechanism of symmetry breaking (or the lack thereof) in multi-layer architectures with hidden units. Specify what assumptions you make about bias initialization.
  2. Address whether all weight gradients are strictly guaranteed to evaluate to zero at step zero across every possible architecture, activation function, and loss combination.
  3. Compare this behavior to single-layer models (such as standard linear regression or logistic regression) initialized with all zero weights.
  4. Briefly summarize standard weight initialization techniques used to avoid these failure modes.

Hints

Hint 1

Consider how hidden units compute their pre-activations when all incoming weights are identical.

Hint 2

Distinguish between a gradient being equal across multiple neurons versus a gradient evaluating to exactly zero.

Hint 3

Think about why models without hidden layers (like logistic regression) do not suffer from representation symmetry.