Double descent

Make a model bigger and its test error falls, then rises — the textbook U — and then, past the point where it can fit its training data exactly, falls again. Why the peak appears, why the second descent happens, and why a little regularisation makes the peak vanish.

45 min

After this lesson you can

  • Describe model-wise, epoch-wise and sample-wise double descent and where each was observed
  • Derive, with the SVD, why the least-squares fit explodes at the interpolation threshold p = n
  • Explain why the minimum-norm interpolant improves as the number of parameters grows
  • Show why ridge regularisation removes the peak, and state the main critiques of double descent

In this lesson

  1. The classical and the modern regime
  2. Why the peak: dividing by almost zero
  3. Why the second descent: the smallest interpolant
  4. Regularisation removes the peak
  5. Deep double descent
  6. The counterpoint: are we counting parameters right?
  7. Code: the whole experiment in NumPy
  8. The four questions

This lesson is part of Descent Pro

Descent Pro unlocks every lesson on the route, from base camp to the summit. Every plan starts with a free trial.

Descent Pro

Start your free trial to keep reading

This lesson, and every other lesson on the route, is part of Descent Pro. Every plan starts with a free trial, and students with a .edu email get longer. Cancel before the trial ends and you pay nothing.