TL;DR: Most machine learning papers benchmark optimizers by their "peak performance" after exhaustive tuning—a luxury most practitioners don't have. This paper introduces a new benchmarking protocol that accounts for the computational cost of finding good hyperparameters, revealing that Adam (specifically when only tuning the learning rate) is the most reliable choice for almost any realistic resource budget.
The "Winner's Curse" in Optimizer Benchmarking
In the arms race of deep learning research, new optimizers are often touted as superior because they achieve slightly higher accuracy on a specific task. However, these results usually come from massive grid searches or manual "heroic" tuning by the authors.
The authors argue that this creates a "Winner’s Curse": an optimizer might have a tiny, needle-in-a-haystack region of hyperparameters where it performs brilliantly. If a practitioner only has the budget to train 10 or 20 models, they are unlikely to ever find that peak. To be truly useful, an optimizer shouldn't just be capable of high performance; it should be easy to tune. This paper seeks to quantify "tunability" and integrate it into how we rank optimization algorithms.
Methods: Expected Quality at Budget
To address this, the researchers propose a benchmarking protocol called "Expected Quality at Budget." Instead of looking at the single best result, they simulate a practitioner’s workflow:
- Defining the Optimizer as a Prior: They redefine an optimizer not just as an update equation (like SGD), but as an equation plus a probability distribution (a "prior") over its hyperparameters.
- Random Search Simulation: They use Random Search to sample hyperparameters from these priors.
- Budget-Based Evaluation: They measure the expected performance of an optimizer after $k$ trials (where $k$ is the "budget").
- Bootstrapping: To ensure statistical rigor without training thousands of extra models, they use a bootstrap method to estimate the mean and variance of the best performance achieved at each budget level.
They compared several variants, including Adam (tuning only the learning rate vs. tuning all parameters) and various flavors of SGD with momentum and weight decay. The evaluation utilized the DeepOBS benchmark suite, covering 8 diverse tasks across vision, NLP, and toy problems, plus an added LSTM task on the IMDb dataset.
Key Insights: The Paradox of Choice
- The "Wide vs. Narrow" Minima of Hyperparameters: The authors find that SGD often has a "narrow" peak—it can reach high performance, but you have to hit the learning rate exactly right. Adam has a "wide" plateau, making it much more likely that a random guess will land in a "good enough" zone.
- The Paradox of Choice: Tuning more hyperparameters (like $\beta$ values in Adam or momentum in SGD) actually hurts performance when your budget is low. The search space becomes too large, and you waste trials on bad combinations.
- The SGD Gap: In the early stages of tuning (low budget), SGD variants performed roughly 20% worse than Adam-LR. While this gap narrows as the budget increases, it rarely closes entirely in practical scenarios.
Key Results: Adam-LR is the "Safe" Bet
For almost all tasks and budgets, simply tuning the learning rate of Adam with default settings was the most reliable strategy. It consistently outperformed more complex tuning strategies until the budget became very large.
In a head-to-head comparison across all 9 tasks, Adam (only learning rate tuned) had a ~58% probability of being the best-performing optimizer at almost any budget. The results suggest that the "marginal value" of adaptive gradient methods (like Adam) isn't necessarily higher peak accuracy, but a significantly lower "cost of entry" for practitioners.
Limitations and Future Work
- Simple Priors: The authors used independent, univariate distributions for hyperparameters. In reality, hyperparameters often interact (e.g., learning rate and batch size), and more sophisticated priors could yield better results.
- Random Search Only: The study focused on Random Search because it's easy to analyze statistically. They did not explore how Bayesian Optimization or other advanced HPO methods might change the rankings.
- Computational Unit: The "budget" was measured in the number of models trained, not raw wall-clock time or CO2 emissions, though the authors provide evidence that their conclusions hold when using time as the metric.
The authors conclude by urging optimizer designers to provide "priors" (recommended search ranges) alongside their algorithms, treating the ease of tuning as a primary feature rather than an afterthought.
Summary updated