In modern machine learning, the "learning rate" is often the most expensive hyperparameter to tune. Practitioners frequently spend more compute power on grid searches and cosine schedules than on the final training run itself. A growing body of research aims to eliminate this manual labor by developing parameter-free optimizers: algorithms that automatically determine the optimal step size by observing the geometry of the loss landscape and the distance the parameters have traveled.
The Core Intuition: Distance over Gradients
To understand why these methods work, we can look at the "ideal" step size for a simple convex function. If you are a distance $D$ away from the minimum and the gradient magnitude is $G$, a step of size $D/G$ would take you directly to the optimum.
The challenge is that we know neither $D$ (the distance to the unknown optimum) nor the global properties of the landscape (like the Lipschitz smoothness constant). Recent work has converged on a shared strategy: use the distance from initialization as a proxy for $D$, and the cumulative history of gradients as a proxy for the landscape's difficulty.
Adapting to the Landscape: The AdaGrad Legacy
The foundation of this direction lies in adaptive gradient scaling. In their seminal work, Daniel D. Lee and H. Sebastian Seung established that multiplicative update rules can function as a form of diagonally rescaled gradient descent, where the step size is automatically constrained by the parameters themselves.
Modern adaptive methods like AdaGrad take this further by scaling the learning rate inversely with the cumulative norm of past gradients. As Anton Rodomanov and Sebastian U. Stich demonstrate in Universality of AdaGrad Stepsizes for Stochastic Optimization, this mechanism is "universal." It allows an algorithm to automatically achieve optimal convergence rates across smooth, non-smooth, and noisy landscapes without the user needing to know the function's mathematical constants.
The Distance Proxy: DoG and DoWG
While AdaGrad adapts to the shape of the function, it still requires a manually tuned base learning rate. To remove this last hyperparameter, researchers have introduced methods that incorporate the distance the optimizer has moved from its starting point.
The DoG (Distance over Gradients) algorithm, introduced by Maor Ivgi, Oliver Hinder, and Yair Carmon in DoG is SGD's Best Friend, sets the step size as the ratio between the maximum Euclidean distance the parameters have traveled from their initial state and the square root of the cumulative sum of squared gradient norms.
The intuition is elegant: if the optimizer has moved far from its start without the gradients exploding, it is likely in a flat region where it can afford a larger step. Conversely, if gradients are large but the distance moved is small, the optimizer should slow down. Ahmed Khaled and Chi Jin extended this logic with DoWG (Distance over Weighted Gradients) in DoWG Unleashed, proving that this approach can match the performance of perfectly tuned gradient descent on both convex and non-convex problems.
Estimating the Optimum: D-Adaptation and Prodigy
A more sophisticated branch of this research attempts to dynamically estimate the actual distance to the optimal solution ($D^*$).
- D-Adaptation: This method, analyzed in Learning-Rate-Free Learning by D-Adaptation, constructs a sequence of non-decreasing lower bounds on the distance to the optimum based on observed gradient history.
- Prodigy: Building on D-Adaptation, Konstantin Mishchenko and Aaron Defazio developed Prodigy, which uses a more aggressive estimation technique to reach performance levels that rival meticulously hand-tuned Adam across vision and NLP tasks.
These algorithms essentially "learn to learn" by treating the distance to the optimum as a parameter to be estimated alongside the model weights.
Beyond Euclidean Space: Universality and Manifolds
The power of these parameter-free approaches is their robustness. Kfir Yehuda Levy and Volkan Cevher showed in Online Adaptive Methods, Universality and Acceleration that these adaptive schemes can even achieve "accelerated" convergence rates for smooth functions while remaining stable for non-smooth ones.
This logic is now being extended to even more complex domains:
- Bilevel Optimization: Yifan Yang and Kaiyi Ji applied distance-based scaling to the notoriously finicky world of hyperparameter optimization in Tuning-Free Bilevel Optimization.
- Riemannian Manifolds: Daniel Dodd and Louis Sharrock demonstrated in Learning-Rate-Free Stochastic Optimization over Riemannian Manifolds that the maximum distance traveled remains a reliable proxy for the distance to the optimum even in curved, non-Euclidean spaces.
By replacing fixed hyperparameters with dynamic estimates derived from the optimization trajectory itself, this research direction moves us closer to a "plug-and-play" era of machine learning, where the optimizer adapts to the model, rather than the researcher adapting the model to the optimizer.