Back to Discover
Lesson

Why Neural Nets Fit Noise

A network that can fit unseen noise isn't memorizing exceptions — it's because high-capacity models can interpolate the training data exactly, which forces the learned function to be smooth enough to generalize on real patterns.

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 12 scenes and explore, respond, and learn as you go.

12
Scenes
24 min
Estimated
Content language: en-US
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01The Puzzleslide
    OrientationObserve

    Pose the core question: networks fit random labels perfectly, yet generalize on real data. Why?

    • Zhang et al. showed CNNs can drive training error to zero on random labels
    • Yet the same architectures generalize on real images
    • The contradiction hints that training error is not the right measure of learning
  2. 02Interpolation vs. Approximationinteractive
    Model buildingConstruct

    Let learners drag a flexible curve through scattered points and see that exact fit is always possible when the model is flexible enough.

    • An interpolating curve passes through every point
    • An approximating curve only needs to be close
    • With enough flexibility, every labeling becomes reachable
  3. 03What Overfitting Really Meansslide
    Misconception repairExplain

    Reframe overfitting as a generalization gap, not as 'fitting the training set'.

    • Overfitting = train accuracy high AND test accuracy low
    • Zero training error is necessary but not sufficient for overfitting
    • Two networks can both fit the data perfectly and behave very differently on test data
  4. 04Check Your Intuitionquiz
    AssessmentChoose

    Commit to an interpretation of two identical training-accuracy curves with different test behavior.

    • Identify which framing predicts test performance
    • Spot the overfitting red herring
  5. 05Capacity Without Constraintslide
    Model buildingObserve

    Show how overparameterized networks can realize any labeling of the training set in principle.

    • Parameter count often exceeds training sample count
    • Universal approximation: enough width reaches any continuous function
    • Random labels are just another target function to interpolate
  6. 06The Hidden Constraint: Gradient Descentslide
    PredictionPredict

    Predict what kinds of solutions an optimizer can actually find among all functions that fit.

    • Many functions interpolate the data
    • Gradient descent does not visit them uniformly
    • Ask: which one will training actually pick?
  7. 07Simulating Implicit Biasinteractive
    Model buildingObserve

    Visualize gradient descent picking a smooth path through points even when jagged paths also fit.

    • Watch the chosen curve evolve over training steps
    • Compare final curve to alternative interpolants
    • See the optimizer prefer low-frequency, smooth solutions
  8. 08Smoothness as a Priorslide
    Misconception repairExplain

    Connect implicit bias to generalization: smooth functions align with the structure of natural data.

    • Natural images and language have low-frequency structure
    • Smooth-biasing solutions exploit that structure on unseen points
    • Random labels lack that structure — smoothness stops helping there
  9. 09Noise as a Probe, Not a Verdictslide
    SynthesisExplain

    Reframe the original puzzle: fitting noise is a capacity test, not evidence of bad generalization.

    • Random-label experiments measure capacity, not memorization habits
    • Real data has structure that smoothness exploits
    • The two settings ask different questions of the model
  10. 10Apply the Frameslide
    ApplicationApply

    Apply the capacity-vs-bias lens to a new scenario: a model with perfect train accuracy on a small dataset.

    • Decide whether train accuracy tells you about test performance
    • Look for evidence of structure the model could exploit
    • Diagnose overfitting by train-test gap, not train error alone
  11. 11Final Checkquiz
    AssessmentExplain

    Verify learners can explain why interpolation on noise is compatible with generalization elsewhere.

    • Distinguish capacity from generalization
    • Identify the role of optimization bias
  12. 12Key Takeawaysslide
    SynthesisExplain

    Summarize the three-part answer: capacity, optimization bias, structure of real data.

    • Overparameterized networks can interpolate any labeling
    • Gradient descent biases solutions toward smooth functions
    • Generalization comes from matching that bias to the structure of real data
Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Explore more

More in Technology & Computing

See all