Qm

Topic · Machine Learning & AI

← All topics

Optimization & Training

34 articles · 5 checkpoints · 19 deeper reads · 10 reference notes

A standalone topic: it is on no roadmap, so read it on its own terms.

Every article, in reading order

plant a flag as you finish each

Read these first

  1. Split a batch of training data across many machines, each holding a full copy of the model, and average their gradients together after every step, the standard way to make training faster without changing the maths at all.

  2. Two training runs can reach the exact same training loss and still behave completely differently on new data, because one settled into a wide, forgiving valley and the other into a narrow, easily-toppled spike.

  3. Doing most of a neural network's arithmetic in a cheaper, less precise number format roughly halves training time and memory, provided you protect the handful of operations that would otherwise silently break.

  4. Stochastic gradient descent's mini-batch randomness isn't just a computational shortcut, it actively steers training away from the kind of overfit solutions full-batch gradient descent would happily settle into.

  5. When a model is too large to fit on one device, you have to split the model itself rather than just the data, either cutting each layer's math across devices, or handing whole layers to different devices in sequence.

Then the rest

Reference notes10 short entries