Fine-Tuning With Few Labels: Loss Valley, Bias and Variance (2D)
The loss valley of a one-weight fine-tuning problem with the pretrained start, the true weight and the data-only optimum, plus bias, variance and risk versus penalty strength. Same shared model as the 3D scene.
A model pretrained on a nearby task is fine-tuned on a handful of noisy labels with a penalty that pulls the weight back towards its pretrained value. Slide the number of labels, label noise, pretraining gap and penalty strength and watch gradient descent roll a ball down a Blender-built loss valley, with live bias, variance, excess risk and the closed-form optimal penalty. Numerical checks include a Monte Carlo test of the risk formula.
The loss valley of a one-weight fine-tuning problem with the pretrained start, the true weight and the data-only optimum, plus bias, variance and risk versus penalty strength. Same shared model as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install