Home · Lab · AI in Comp: CopyCat concepts

AI3 Loss curves, epochs and overfitting

Too big memorises noise, too small misses the shape

AI in Comp: CopyCat concepts · ~7 min · In pack $15

1 Your mission

~7 min

pick a capacity and train so the validation error ends below 0.075

The dashed white line marks the best validation step: that is the checkpoint worth keeping

SkyVFX Lab · AI3interactive · 1001

2 Why it works

Every step adjusts the numbers to lower the error on the training set, but what you want is a good result on data the model has never seen. So you keep some data aside to check (validation). If the training error falls while validation rises, it has started to overfit: it is memorising noise.

Capacity is how much the model can bend; here it is the polynomial degree. Degree 1 is a straight line that can’t follow the vignette (underfit). Degree 10 goes through almost every training point but wiggles between them (overfit).

RMSE = √ mean((model(x) − y)²) · train ↓ + validation ↑ = overfit

Where the numbers come from: A Legendre-basis polynomial trained with real Adam on 1D data we generated (a vignette-like falloff + 0.05 noise, 12 training points, 40 validation points, fixed seed). CopyCat is often meant to fit one shot only, which is fine: the “new data” that matters is the other frames of that shot.