Ask what should change when the equation is manipulated, then let the visualization test that expectation.
Foundation Lab
Overparameterization & Generalization, Double Descent
GPT-4-class models are deep in the overparameterized regime: parameters ≫ training examples, yet generalize well
\mathbb E[(y - \hat y)^2] = \text{bias}^2 + \text{variance} + \sigma^2Selected Foundation Object
Keep the equation fixed; move through the evidence.
Visual intuition for why larger nets can generalize better (not just "they memorize more")
\mathbb E[(y - \hat y)^2] = \text{bias}^2 + \text{variance} + \sigma^2Use the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
This atlas page keeps the working demo; the domain notebook carries the fuller Intuition -> Math -> Code -> Demo sequence.
Why It Matters for Modern Models
- GPT-4-class models are deep in the overparameterized regime: parameters ≫ training examples, yet generalize well
- Chinchilla-style scaling laws model how test loss scales with both capacity and data
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- Visual intuition for why larger nets can generalize better (not just "they memorize more")
- How implicit biases of different optimizers (SGD vs Adam) select among infinite interpolating solutions
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
Classical learning theory: test error ~ U-shaped function of model capacity. Empirically, modern nets show double descent: as parameters cross the interpolation threshold (0 training error), test error drops again as capacity keeps growing.
In simple linear models:
Variance explodes near interpolation, then decreases as overparameterization plus implicit regularization kicks in.