The floor grid is a 2D hyperparameter space — one axis is a learning rate, the other a regularization strength, both on a log scale — and height is validation loss. Instead of treating each hyperparameter setting as an isolated, expensive trial the way grid search or random search do, gradient-based hyperparameter optimization estimates a hypergradient — how the validation loss would change if each hyperparameter nudged slightly — and takes a step directly downhill, the same way ordinary gradient descent tunes model weights.
Gradient-based hyperparameter optimization (e.g. hypergradient descent, implicit differentiation through the training loop) can tune dozens of hyperparameters at once with a cost close to a single extra training run — something grid search, random search and even Bayesian optimization struggle to do once the hyperparameter count grows much past ten or twenty.
A marker rolls downhill across a 3D validation-loss surface by following its own estimated gradient, letting you watch learning rate, momentum and gradient noise decide whether it settles into the true optimum or gets trapped in a shallow local minimum.
The colored surface is validation loss over two hyperparameters; the arrow field shows the local downhill direction everywhere. The marker takes real gradient steps — exactly the mechanism behind hypergradient descent — rather than sampling isolated points like grid or random search.
Raise the learning rate for bigger steps, add momentum to coast through flat or bumpy regions, and dial in gradient noise to see it jostle the marker out of local minima. Restart from the corner or generate a new landscape to compare runs.
Because gradient-based hyperparameter tuning reuses gradient information already computed during training, it can scale to dozens of hyperparameters at roughly the cost of one extra training run — far cheaper than grid search's exponential blow-up.