the.ai

Optimization / Regularization

frontier

Regularization

Anything you do to a model to stop it memorising the training set. Weight decay, dropout, early stopping, data augmentation and label smoothing are all the same move in different clothes — deliberately making the training objective harder to satisfy, so that the easy way out stops being available.

Viz primitive · loss-curvesteps = 4000 · lr = 0.003 · batch = 64
loss
step 0dashed = held-out4000

Loss over 4000 training steps, starting near 7.8. It falls to about 1.83, with 95% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.24.

Training loss against the same run measured on data it did not train on, dashed. Drag the holdout up to watch the gap open — regularisation is judged on that gap and never on the solid line, which is why tuning it on training loss picks the unregularised run every time.

0.3

Provenance · frontier node

Drafted 2026-08-18 and awaiting human review. The sources below are what it was written from.