WEBVTT

00:00.360 --> 00:01.530
Here's something weird.

00:01.720 --> 00:03.870
Researchers gave an image
network random labels.

00:03.900 --> 00:05.950
Cats called trucks, dogs called frogs.

00:06.020 --> 00:07.785
It memorized every single one.

00:07.815 --> 00:09.365
Yet the same kind of network,

00:09.395 --> 00:13.282
trained on real labels, does
brilliantly on photos it's never seen.

00:13.312 --> 00:17.912
Why don't giant AI models overfit?

00:18.552 --> 00:20.692
Memorize everything, and still generalize?

00:20.742 --> 00:21.958
Okay, I'm hooked.

00:21.988 --> 00:24.248
Let's ask Drift, my free research app.

00:24.338 --> 00:26.848
First answer: they can memorize.

00:27.098 --> 00:29.608
Size alone doesn't decide
whether they overfit.

00:29.646 --> 00:31.126
Then what does?

00:31.156 --> 00:32.152
Clues, please.

00:32.182 --> 00:33.882
One: data coverage.

00:33.992 --> 00:38.822
Two: implicit regularization,
training quietly favouring simpler fits.

00:38.932 --> 00:41.062
Three: double descent.

00:41.094 --> 00:42.494
Double descent sounds like a ski run.

00:42.524 --> 00:43.103
What is it?

00:43.133 --> 00:44.163
Let's go deeper.

00:44.193 --> 00:45.193
Level one.

00:45.337 --> 00:48.167
As a model grows,
test error falls at first.

00:48.197 --> 00:51.127
Then it climbs,
as the model starts fitting noise.

00:51.157 --> 00:52.536
Classic overfitting.

00:52.566 --> 00:55.656
And right where it can fit
every training example exactly?

00:55.686 --> 00:59.626
That's the interpolation threshold,
and the fit there is fragile.

00:59.716 --> 01:02.006
It bends wildly through every noisy point.

01:02.036 --> 01:05.126
But keep growing,
and error can fall again.

01:05.319 --> 01:07.419
Wait. Bigger fixes it?

01:07.449 --> 01:08.748
That sounds backwards.

01:08.778 --> 01:12.628
Sometimes. A possible pattern,
not a universal law.

01:12.658 --> 01:15.848
With room to spare,
training can pick a smoother curve.

01:16.218 --> 01:17.218
Level two.

01:17.688 --> 01:20.628
Imagine predicting house prices
from a few solid features,

01:20.658 --> 01:24.588
like floor area, plus hundreds of weak,
messy measurements.

01:24.618 --> 01:27.288
Let me guess. The weak
ones soak up the noise?

01:27.318 --> 01:31.898
Exactly. Tiny nudges across those
weak features match every noisy price,

01:31.928 --> 01:34.638
and barely change
predictions for new houses.

01:34.821 --> 01:37.109
So it fits the noise
and gets away with it.

01:37.139 --> 01:38.779
That's benign overfitting.

01:38.829 --> 01:42.779
But out of infinitely many perfect fits,
which one does it pick?

01:42.809 --> 01:43.809
Level three.

01:44.358 --> 01:45.578
Take the simplest puzzle.

01:45.608 --> 01:48.238
Weight 1 plus weight 2 equals 1.

01:48.268 --> 01:50.557
Any pair that adds up to 1 fits perfectly.

01:50.630 --> 01:52.970
Half and half,
or all of it on the first one.

01:53.000 --> 01:54.096
Both work.

01:54.126 --> 01:56.256
Both fit. But half and
half is the smallest:

01:56.286 --> 01:57.946
the minimum norm.

01:57.976 --> 02:00.486
It spreads the load instead
of betting on one feature.

02:00.533 --> 02:02.630
Is the smallest always the right one?

02:02.660 --> 02:06.620
Not always. Rescale a feature by 100,
and smallest changes.

02:06.790 --> 02:08.753
So who actually picks it?

02:08.783 --> 02:11.563
Gradient descent, starting from zero.

02:11.593 --> 02:12.593
Level four.

02:13.461 --> 02:15.311
Start both weights at zero.

02:15.341 --> 02:18.982
The error pulls on them equally,
so they rise together, step by step.

02:19.012 --> 02:20.231
And they never split up?

02:20.261 --> 02:22.641
Never. They land on half and half.

02:22.831 --> 02:24.541
Nobody asked for the simplest fit.

02:24.571 --> 02:26.701
It just falls out of the path.

02:26.787 --> 02:29.173
So the optimizer has taste.

02:29.203 --> 02:32.643
It does. And it learns some directions
far more slowly than others.

02:32.673 --> 02:34.183
That's where it gets wild.

02:34.764 --> 02:35.564
But first, a quick one.

02:35.594 --> 02:40.904
If you like digging into AI like this,
Get Amplified is my living field guide:

02:40.934 --> 02:45.164
building with AI,
researching markets, and mindfulness.

02:45.194 --> 02:48.684
It's at echohive.ai/get-amplified.

02:50.119 --> 02:51.379
Right. Level five.

02:51.875 --> 02:53.535
Split the data into directions.

02:53.565 --> 02:57.921
Strong ones, where examples vary a lot,
and weak ones, where they barely do.

02:57.951 --> 03:00.237
And gradient descent
treats them differently?

03:00.267 --> 03:01.668
Very differently.

03:01.698 --> 03:04.648
Take one direction 100
times weaker than another.

03:04.797 --> 03:07.788
The strong one halves its
error with every step.

03:07.870 --> 03:08.980
And the weak one?

03:09.037 --> 03:12.837
After 1,000 steps, it's learned under 5%.

03:12.869 --> 03:15.180
Hang on. That's where noise tends to hide.

03:15.210 --> 03:20.130
Often, yes. So stop in time,
and most of that noise is never learned.

03:20.260 --> 03:21.260
Level six.

03:21.396 --> 03:24.046
Early stopping isn't just a smaller model.

03:24.076 --> 03:27.620
It's a filter,
tuned direction by direction.

03:27.650 --> 03:28.680
Show me the numbers.

03:28.749 --> 03:31.269
Two directions, one 10 times weaker.

03:31.379 --> 03:35.029
10 steps in,
the strong one is 99.9% fitted.

03:35.079 --> 03:36.719
The weak one, under 5%.

03:36.749 --> 03:40.109
So if the weak one is noise, we dodged it.

03:40.139 --> 03:41.452
And if it's real signal?

03:41.482 --> 03:42.702
Then you've underfit that too.

03:42.732 --> 03:47.192
No free lunch. So when
exactly do you stop?

03:47.222 --> 03:48.222
Level seven.

03:48.727 --> 03:51.047
Each direction's error has two parts.

03:51.177 --> 03:53.387
Bias: signal you haven't learned yet.

03:53.477 --> 03:55.580
Variance: noise you've let in.

03:55.610 --> 03:57.130
Stop early, more bias.

03:57.160 --> 03:59.428
Train too long, more variance.

03:59.458 --> 04:02.068
Right. Take a weak, noisy direction.

04:02.098 --> 04:06.268
Stop at 40% fitted,
and the error is about 0.05.

04:06.298 --> 04:09.528
Push on to 90%, and it nearly quadruples.

04:09.670 --> 04:11.490
Training longer made it worse.

04:11.520 --> 04:13.629
So how do you find the sweet spot?

04:13.659 --> 04:14.869
A validation set:

04:14.899 --> 04:15.539
data held back.

04:15.569 --> 04:18.959
But check it too often,
and you overfit that too.

04:19.029 --> 04:21.679
So keep a final test set, untouched.

04:21.798 --> 04:25.568
Seven levels down, and we're
overfitting the overfitting check.

04:25.751 --> 04:28.711
All of that is one kind of
implicit regularization.

04:28.821 --> 04:30.891
Let's wander back up and meet its cousins.

04:31.751 --> 04:32.611
Algorithmic stability:

04:32.641 --> 04:35.451
nudge the data,
and a stable learner barely changes.

04:35.541 --> 04:36.131
Max-margin bias:

04:36.161 --> 04:38.831
a taste for wide, safe boundaries.

04:38.961 --> 04:39.411
And architecture:

04:39.441 --> 04:42.351
convolutions expect patterns
anywhere in an image.

04:42.609 --> 04:45.499
So, why don't giant AI models overfit?

04:45.556 --> 04:46.796
Sometimes they do.

04:46.826 --> 04:51.586
But out of all the fits that work,
training quietly favours the simpler ones.

04:51.616 --> 04:53.856
So the real question isn't how big.

04:53.886 --> 04:56.686
It's how long, and on what.

04:56.716 --> 04:59.566
For deep networks,
that's still an open question.

04:59.643 --> 05:01.663
One question. Seven levels deep.

05:01.693 --> 05:02.963
28 ideas.

05:05.450 --> 05:07.590
Drift is free, with no account needed.

05:07.620 --> 05:10.270
Try it at echohive.ai/drift.

05:10.435 --> 05:12.295
And remember: the secret
to not overfitting?

05:12.325 --> 05:14.035
Knowing when to stop.

05:15.725 --> 05:16.725
Speaking of AI:

05:16.755 --> 05:18.205
want to go further?

05:18.355 --> 05:21.145
Get Amplified is my living field guide.

05:21.435 --> 05:23.405
Build with AI and direct agents,

05:23.435 --> 05:27.725
research markets with better tools,
and sharpen attention with mindfulness.

05:28.214 --> 05:30.964
The Architect membership
includes the whole collection,

05:31.014 --> 05:34.084
plus the 1000x Lab, live every Sunday.

05:34.134 --> 05:36.544
It's mostly discussion,
not usually a coding class,

05:36.574 --> 05:38.324
and every session has a replay.

05:38.549 --> 05:39.929
Want help with your own project?

05:39.999 --> 05:42.429
I've consulted with
nearly a hundred people.

05:42.639 --> 05:44.989
Private one-on-one sessions are separate,

05:45.019 --> 05:47.709
higher tiers above Architect,
and they include it.

05:47.793 --> 05:51.593
Start at echohive.ai/get-amplified.

05:51.623 --> 05:55.533
For private sessions,
it's echohive.ai/consulting.
