the.ai

Optimization / Generalization

verified

Overfitting

A model that keeps improving on its training data while getting worse on everything else has stopped learning and started memorising. The gap between the two curves is the whole diagnostic, which is why nobody trains without holding some data back.

Viz primitive · loss-curvesteps = 1000 · lr = 0.001
loss
step 0dashed = held-out1000

Loss over 1000 training steps, starting near 6.0. It falls to about 2.13, with 88% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.94.

Training loss against held-out loss over a run. Drag to open the gap and watch where the two curves stop agreeing.

0.6

Reviewed by opendroid · 2026-08-04

  • arXiv:1912.02292 — Deep Double Descent: Where Bigger Models and More Data Hurt