Home▸Machine Learning & Neural Networks▸Early Stopping as Implicit Ridge: Gradient Descent on Noisy Polynomial Fits and the Curvature Spectrum

Early Stopping as Implicit Ridge: Gradient Descent on Noisy Polynomial Fits and the Curvature Spectrum

Train a polynomial regression by gradient descent on noisy points and watch a waterfall of fitted curves, one per training time, on a Blender-built stage. Change the number of points, model degree, noise, step size and patience to see when validation-based early stopping saves the test error, how many parameters have effectively been learned, and how stopping at step t matches an explicit ridge penalty of 1/(eta t). With numerical checks of the eigen-filter solution, the ridge equivalence and the bias-variance split built in.

Machine Learning & Neural Networks3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Early Stopping as Implicit Ridge: Gradient Descent on Noisy Polynomial Fits and the Curvature Spectrum ↗ Open standalone

Every model that trains long enough eventually starts memorising its training set instead of learning from it — training loss keeps falling while validation loss turns back up. This simulator renders both curves as real 3D loss landscapes and runs the exact patience-and-min-delta early-stopping algorithm used by frameworks like Keras, PyTorch Lightning and XGBoost against them, epoch by epoch. Tune how much noise tolerance and patience the algorithm gets, move the overfitting onset earlier or later, and watch it catch the best checkpoint — then halt training a fixed number of epochs after the true minimum, exactly as it does in a real training run.

⚙ Under the hood

Train a polynomial regression by gradient descent on noisy points and watch a waterfall of fitted curves, one per training time, on a Blender-built stage. Change the number of points, model degree, noise, step size and patience to see when validation-based early stopping saves the test error, how many parameters have effectively been learned, and how stopping at step t matches an explicit ridge penalty of 1/(eta t). With numerical checks of the eigen-filter solution, the ridge equivalence and the bias-variance split built in.

early stoppingoverfittingvalidation losshyperparameter tuningdeep learningtraining dynamicsEarly StoppingRidge RegressionGradient DescentOverfittingRegularizationValidation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)