The line between memorizing and understanding.

SRC·24 Source
It can ace every question it studied — and miss every new one.

It can ace every question it studied — and miss every new one.

A model can score a perfect 100 on the examples it trained on, then stumble the moment something unfamiliar arrives. That gap is the whole story: memorizing is not understanding. Like memorizing one route: turn left at the oak, right at the red barn — flawless on that road, lost at the first detour. The real test was always the road you've never driven.
It's graded on the past. It's judged on the future.

It's graded on the past. It's judged on the future.

R^(f)=1ni=1n ⁣(f(xi),yi)R(f)=E(x,y)D ⁣[(f(x),y)]gap(f)=R(f)R^(f)\begin{aligned} \hat{R}(f) &= \tfrac{1}{n}\sum_{i=1}^{n}\ell\!\big(f(x_i),y_i\big) \\ R(f) &= \mathbb{E}_{(x,y)\sim\mathcal{D}}\!\big[\ell(f(x),y)\big] \\ \text{gap}(f) &= R(f) - \hat{R}(f) \end{aligned}
The error it can see is on its training set. The error that matters is on everything it hasn't met yet — and you can never measure that directly. The space between them is the generalization gap. Like a team that only scrimmages itself: it masters its own quirks, but the score that counts comes against opponents it has never faced.
There are two ways to be wrong — and curing one feeds the other.

There are two ways to be wrong — and curing one feeds the other.

E[(yf^(x))2]=(Bias[f^(x)])2too simple+Var[f^(x)]too eager+σ2irreducible\mathbb{E}\big[(y-\hat{f}(x))^2\big] = \underbrace{\big(\text{Bias}[\hat{f}(x)]\big)^2}_{\text{too simple}} + \underbrace{\text{Var}[\hat{f}(x)]}_{\text{too eager}} + \underbrace{\sigma^2}_{\text{irreducible}}
Too simple, and the model misses the real shape — that's bias. Too eager, and it traces every random wobble — that's variance. Total error is their sum, plus noise you can never beat. Like a fishing net's mesh: too coarse and the catch slips through; too fine and you haul up silt and weeds with the fish. The art is the weave in between.
Your examples carry the truth — wrapped in accident.

Your examples carry the truth — wrapped in accident.

Every dataset is the real pattern plus a fog of accident: a mislabeled case, a fluke, the luck of which examples you happened to collect. Give a model enough room and it memorizes the accidents too — and mistakes them for the rule. Like learning a song from one live bootleg: rewind it enough and you 'learn' the cough in the crowd and the tape hiss as if they were notes.
Past the sweet spot, more power quietly turns on you.

Past the sweet spot, more power quietly turns on you.

R(f)R^(f)    CnR(f) - \hat{R}(f) \;\lesssim\; \sqrt{\dfrac{C}{n}}
Add capacity and training error keeps falling — but error on new data falls, bottoms out, then climbs back up. More room to fit is more room to memorize. The classic bound says it plainly: the gap grows with complexity and shrinks with data. Like sanding a tabletop: a few passes bring out the grain; keep grinding the same spot and you carve a hollow that ruins it.
The only honest judge is a question it has never seen.

The only honest judge is a question it has never seen.

R^test(f)=1mj=1m ⁣(f(xj),yj),E[R^test(f)]=R(f)\hat{R}_{\text{test}}(f) = \frac{1}{m}\sum_{j=1}^{m}\ell\!\big(f(x_j),y_j\big), \qquad \mathbb{E}\big[\hat{R}_{\text{test}}(f)\big] = R(f)
You can't trust its score on what it studied — it may have simply memorized. So lock away a slice of real data, never let it train on those, and grade only there. That held-out score is your one unbiased glimpse of the true error. Like a sealed exam: set aside real questions it never studies, and break the seal only to grade. Peek even once, and the judge stops being honest.
Fitting the past was never the goal. Meeting the future is.

Fitting the past was never the goal. Meeting the future is.

A model that perfectly memorizes its training data has built a lookup table, not a grasp of the world. Low training error was never the prize — low error on everything it will ever meet is. Understanding is just generalization by another name. Like finally reading the map: memorize one route and you own a single road; understand the terrain and you can find your way anywhere.
🌱 We drew the line. The biggest models walk right past it.

🌱 We drew the line. The biggest models walk right past it.

The old curve warned that beyond a point, more complexity only hurts. Yet the largest models cross that point — fit every example exactly, wobbles and all — and then get better on what they've never seen. So perhaps memorizing and understanding were never the two ends of one line. Where, then, does the line really fall?
tap →swipe ↑ for depthswipe ↓ to exit