Training a Network

We now have a prediction, a way to measure its error, and gradients that describe possible adjustments. Training brings those steps together and repeats them over examples so the network can improve.

15 sections · 15 questions · 4 coding challenges

1 / 15

How Do We Turn a Collection of Parts into a Learning Procedure?

BOTIE

Knowing how a neuron calculates an output does not yet tell us how to train a useful network. We still have to decide how to initialise it, how many examples to process together, how to measure mistakes, and how far to move the parameters after each measurement.

As backpropagation became widely used, practical training work showed that these choices mattered greatly. LeCun and colleagues' 1998 Efficient BackProp collected advice on making gradient-based learning work well, including input preparation, initialisation, and optimisation.

A training loop connects the parts in a particular order. Run examples forward, measure a loss, compute derivatives backward, and let the optimiser update the parameters. Repeat while checking performance on separate data. Each stage has a distinct responsibility. A falling training loss tells us that this loop is fitting the examples; validation helps us decide whether the resulting behaviour is useful beyond them.

Sources for this history