Weight initialisation: symmetry breaking and starting scale
10 questions on random starting weights, symmetry breaking, the scale of initial values, He initialisation, biases and borrowing starting points.
- 10 questions
- Stopwatch
- Instant feedback
Sample questions
Play now ↑Answers stay hidden. Start the quiz to play them.
Sample 1
A network uses ReLU units, which only pass positive pre-activations. Why are the biases typically set to small positive values at the start?
- To make the learning rate decrease
- To keep the weights identical across units
- So that most pre-activations start out positive, leaving a nonzero gradient to drive learning
Sample 2
A recipe for ReLU networks sets the spread of the random weights feeding a unit from the number of inputs that unit has. Which unit gets the larger spread, one with 50 inputs or one with 200 inputs?
- Both get the same spread, whatever the number of inputs
- The one with 200 inputs, since it has more signal to carry
- The one with 50 inputs, since fewer inputs are summed and each weight must count for more
How it works
- One question per screen. An answer is final once sent.
- You see right away whether you were right, with a short explanation.
- The stopwatch runs: on equal scores, the faster player ranks first.
- Only your best attempt counts, so replaying is never risky.
About this quiz
Before a network has seen a single example, someone has to decide what its weights are. It feels like a boring detail, a bit of set-up code before the real work begins, yet it can decide whether a model trains in an hour, trains in a week or never gets going. The starting point shapes the whole journey over the error surface, which is why experienced practitioners treat initialisation as a design choice and not as a default to ignore.
This quiz looks at what makes a good start. The first idea is symmetry. If a group of hidden units receive the same inputs and begin with the same values, nothing in the training procedure will ever tell them apart, so they travel together and the extra units are wasted. Breaking that tie is the main reason for using random numbers. The second idea is scale. Random values that are too small make signals fade away as they pass through layers, and values that are too large make them blow up. A well-known recipe, named after its author, picks the spread of the initial weights with this in mind, and the quiz tests what it responds to.
You will also meet the smaller points that make a difference in practice: how the biases are best set when the network uses a popular activation function, why the spread of the initial values can itself be tuned like any other setting, and how a network can borrow its starting weights from a different task instead of from random numbers. The questions use scenarios, such as units that remain identical after thousands of updates or a deep stack whose signals dwindle to nothing.
It is common to hear that initialisation is a solved problem or that any small random numbers will do. The truth is more nuanced. There is relatively little theory to guide the choice, so a mixture of principled heuristics and experiments is the norm. Knowing which heuristics exist, and what each is trying to protect, helps you diagnose a network that refuses to learn. The practical payoff is diagnostic. When a new architecture trains poorly, the loss that never moves or the units that never switch on are often traced back to the first moment of training, long before any clever optimiser could help. Having a short checklist in mind, covering symmetry, scale, biases and borrowed starting points, saves hours of guesswork. It also explains why two runs of the same program with different random seeds can finish with noticeably different quality, and why careful practitioners repeat important experiments several times.
The quiz is suitable for learners who have trained a network or are about to, and who want to know what happens before the first update. No mathematics is needed beyond comfort with the ideas of average spread and number of inputs. There are 10 questions, each followed by an explanation, and it takes about four minutes.
Questions and answers
›How long does the quiz take?
About 3 to 4 minutes for 10 questions, at roughly 20 seconds each. An explanation follows each answer, so you can learn from every question, correct or not.
›Do I need to have trained a network before?
It is useful but not required. You should know that a network has weights which training adjusts, and that gradient descent has to start from somewhere. Terms such as hidden unit and activation function are explained where they appear.
›What is symmetry breaking?
It means making sure that units which could compute the same thing begin from different positions, so that training can push each one towards a different job. Without it, the units in a layer would behave like copies of one another and the network would be effectively smaller than it looks. Random initial values are the standard way of achieving it.
›Why not simply start every weight at zero?
Because zero is the same for every unit. Units that share inputs would compute identical outputs, receive identical corrections and stay locked together at every step. The training procedure has no mechanism for separating them. Random starting values give each unit its own direction in weight space, and the differences are then amplified by learning.
›What is He initialisation?
It is a rule for choosing the spread of random starting weights in networks that use the rectified linear activation. The aim is to stop the signal from shrinking towards zero or growing without limit as it moves from one layer to the next. It was derived by reasoning about how the variation in values changes at each layer, and it is widely used for deep networks.
›Which distributions are used for random initial weights?
The common choices are a uniform distribution over a small range centred on zero, and a Gaussian distribution with zero mean. Both are symmetric around zero, so no direction is favoured. What matters most is not the shape of the distribution but its spread, which must be matched to the architecture.
›Can the scale of initialisation be tuned?
Yes. The scale can be treated as a hyperparameter, like the learning rate, by trying several values over multiple training runs and comparing results on held-out data. Heuristics provide good starting values, but the best setting can depend on the architecture and the problem, so a modest search is common.
›What is the connection between initialisation and transfer learning?
Instead of random numbers, the starting values can come from a network already trained for a different task, or from unsupervised training. The new training then begins from a point that already encodes useful structure, which can save time and data. This idea is the basis of the family of methods known as transfer learning.