liveBook · Manning

Training from scratch

As explained in Sutskever's List

Training from scratch is optimization of a model starting from newly initialized parameters rather than pretrained weights.

Training from scratch begins with newly initialized weights. Random values let neurons learn different features; identical values, such as zero, give neurons identical gradients and updates, collapsing a layer into a single unit. section 2.4

Initialization can also destabilize learning: weights that are too large can cause exploding gradients or saturation, while weights that are too small can make gradients vanish. In deep networks, vanishing gradients leave earlier layers with updates too small to learn effectively. These difficulties once led researchers to suspect depth itself, even though GPUs could accelerate training without making optimization easier. section 2.4

Figure 2.2 The challenge of optimizing functions shaped like long, narrow valleys. The contour lines represent a valley, with the optimal direction of progress indicated by an arrow running along the valley’s base. Smaller arrows represent steps taken by gradient descent: the left diagram shows large steps oscillating inefficiently across the valley, while the right diagram shows small steps making slow progress along the base. The “pathological” nature does not arise from high or low curvature, but from the combination of high curvature across the valley and low curvature along it. Used with permission granted by the author (James Martens).
figure

The narrow-valley illustration shows how gradient descent can oscillate across a valley or make slow progress along its base. section 2.4

How Sutskever's List covers it

How deep it goes
Explains symmetry breaking and how initialization scale affects gradients, convergence, and learning in earlier layers.
Examples
Compares identical zero or constant weights with random weights, and contrasts weights that are too large or too small.
What you can do after
Understand how initialization can prevent neurons from specializing or destabilize learning through vanishing and exploding gradients.
How it connects
Connects weight initialization with backpropagation, vanishing gradients, exploding gradients, and gradient descent.

Also explained in

Compare how 3 books explain training from scratch →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Sutskever's List. The section links point to the parts of the book it draws on.