Legacy Concept Lab

Overparameterization & Generalization, Double Descent

GPT-4-class models are deep in the overparameterized regime: parameters ≫ training examples, yet generalize well

Concept 5 of 100OptimizationPhase 3
#5Double DescentOptimization
key equation
E[(yy^)2]=bias2+variance+σ2\mathbb E[(y - \hat y)^2] = \text{bias}^2 + \text{variance} + \sigma^2
Phase 3: Optimization & generalizationConcept 5 of 100
Migrated:view the updated version in /domainsThis /foundations page is legacy during migration.

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.

Key Equation
E[(yy^)2]=bias2+variance+σ2\mathbb E[(y - \hat y)^2] = \text{bias}^2 + \text{variance} + \sigma^2

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:

E[(yy^)2]=bias2+variance+σ2\mathbb E[(y - \hat y)^2] = \text{bias}^2 + \text{variance} + \sigma^2

Variance explodes near interpolation, then decreases as overparameterization plus implicit regularization kicks in.

Canonical Papers

Understanding Deep Learning Requires Rethinking Generalization

Zhang et al.2017ICLR
Read paper →

Reconciling Modern Machine-Learning Practice and the Bias–Variance Trade-off

Belkin et al.2019PNAS
Read paper →

Connections

Next Moves

Explore this concept from different angles — like a mathematician would.