Abstract
Evaluating new hyperparameter optimization (HPO) algorithms is computationally expensive, often requiring days of compute on specialized hardware. This paper introduces "surrogate benchmarks"—efficient regression models trained on empirical performance data. These surrogates allow researchers to test HPO methods in seconds while preserving the complex characteristics of real-world optimization landscapes.
Introduction
In machine learning, performance often depends on finding optimal hyperparameters, such as learning rates or network architecture. While advanced HPO tools like SMAC, TPE, and Spearmint are available, developing and benchmarking new HPO techniques is logistically challenging. Evaluating an optimizer against a deep neural network benchmark can take hours per configuration, making large-scale research prohibitively expensive for most.
The Challenge of HPO Research
Traditional synthetic test functions, like the Branin function, are often used for benchmarking because they are cheap to evaluate. However, they fail to capture the "rugged" nature of real-world HPO problems, which often include categorical or conditional parameters and non-smooth performance surfaces. To bridge this gap, the authors propose surrogate benchmarks: cheap-to-evaluate models that mimic the behavior of expensive real-world benchmarks.
Surrogate Benchmarks: A Two-Phase Approach
The creation of a surrogate benchmark involves two main phases:
- Offline Data Collection: Dense datasets of (hyperparameter configuration, performance) pairs are gathered by running existing HPO algorithms (SMAC, TPE, Spearmint) and random search on real-world problems.
- Surrogate Training: Various regression models are trained on this data to predict algorithm performance. The authors tested several models, including tree-based methods (Random Forests, Gradient Boosting), probabilistic models (Gaussian Processes), and standard regressors (SVR, kNN).
Evaluating Surrogate Models
A high-quality surrogate must accurately rank hyperparameter configurations and mimic the optimization trajectories of real benchmarks. The authors found that Random Forests (RF) consistently outperformed other models, particularly in high-dimensional spaces with categorical data.
Random Forests are naturally suited for capturing the discontinuities and "cliffs" found in real HPO surfaces, whereas smooth models like Gaussian Processes (GPs) often struggle with such ruggedness.
Key Results and Performance
The primary advantage of surrogate benchmarks is the massive reduction in computational cost. For instance, evaluating a configuration on the HP-DBNET benchmark (a 36-parameter Deep Belief Network) took approximately 15 minutes on a GPGPU. In contrast, the RF surrogate evaluation took less than a second on a standard CPU.
As shown in Figure 6, the RF surrogate's optimization trajectories for various optimizers are nearly indistinguishable from those on the real benchmark, particularly for the Logistic Regression 5CV task. RF-based models achieved high Spearman’s rank correlation coefficients (often >0.90), ensuring that they correctly rank hyperparameter settings.
Conclusion
Surrogate benchmarks provide a powerful tool for HPO research, enabling rapid experimentation without the need for massive compute clusters. While surrogates are limited by the quality and coverage of their training data, they offer a high-fidelity alternative to synthetic functions. Future work aims to extend this approach to general algorithm configuration and meta-optimization, potentially allowing for the optimization of the HPO algorithms themselves.
Summary updated