Hides the symmetry of the unit: why not start all with the same weight

Increases the number of hidden units to allow the network to indicate different patterns.

Thematic shorts • IntroductionCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • Track updates of two identical units
  • Initialization constraint to distinguish hidden weights from bias

Suggested first

  • Vector and Matrix Operations
  • Counts and chain rules

It's possible that both units will always learn one feature

Increases the number of hidden units to allow the network to indicate different patterns. However, if all units receive the same input and are in symmetrical loss from exactly the same condition, they may always receive the same update. The network has become nominally wide and the same response is actually being replicated. The problem arises from the symmetry of parameters, and the number of not zeros alone poses a particular risk.

Let h₁=w₁x, h₂=w₂x, ŷ=h₁+h₂ and loss 0.5(ŷ−y)². With x=y=1 and w₁=w₂=0, output is zero and both gradients are −1. Learning rate 0.1 updates both weights to 0.1, and they remain equal next step. Symmetric data and structure do not spontaneously separate the trajectories.

If the initial w 1 = 0.1, w 2 = - 0.1, the current output is 0, but the values of the two units are different. In more complex networks, random weights are usually used to break this symmetry, enabling different units to form different expressions. Randomness does not guarantee the success of the mission; The range, distribution and activation function still influences the ability of the signal to communicate in a stable manner.

The preference is often perfectly reasonable from scratch. If hidden weights were already different, zero bias would not automatically make all responses the same. Conversely, random bias, while leaving other structures in a state of special degradation, cannot be considered a universal guarantee. It is necessary to see the complete calculation chart and the parameters that allow the units to be exchanged instead of mechanically noiseing each volume.

An output layer linear model can start with zero parameters, as its dimensions are differentiated by different input or category supervision. By extending this experience directly to multiple layers of hidden networks, the symmetry between layers is overlooked. It is also important to note that some residual structures deliberately start zeroing the last layer of a given branch, and that they still have other asymmetric paths, which are not inconsistent with this.

The activation correlation and parameter differences between the two units on multiple batches can be observed when error is made, but high correlation does not necessarily mean an initial error, and the data itself may support only a few models. This example is a precise symmetrical and definitive teaching model that does not include dropout or random sampling.

Does this rule automatically break symmetry by reducing the rate of learning?

No, the two same gradients are still multiplied by the same learning rate. It only changes the distance from moving together and does not introduce inter-unit differences.

All bias zeros always lead to the same unit?

Not necessarily. The weights, input connections and other states affect the response; Zero bias is often a reasonable starting point when weights have been dissimilarized.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. CS231n — Setting up the data and model
  2. D2L — Numerical Stability and Initialization

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.