NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Benchmarking of Hyperparameter Optimizers via Surrogates

Katharina Eggensperger, Frank Hutter, Holger H. Hoos, Kevin Leyton-Brown

Abstract

Benchmarking new hyperparameter optimization (HPO) algorithms is traditionally a slow and resource-intensive process, often requiring thousands of GPU hours to evaluate a single method. This paper introduces surrogate benchmarks: regression models trained on empirical performance data that act as high-fidelity simulators for expensive real-world tasks. We demonstrate that tree-based surrogates, particularly Random Forests, can provide up to a 20,000-fold speedup while accurately preserving the relative performance rankings of different HPO optimizers.

Introduction

To achieve state-of-the-art performance in machine learning, hyperparameter tuning is essential. However, the "computational tax" of running realistic benchmarks—such as training Deep Belief Networks or large-scale Logistic Regression—forces many researchers to use simple synthetic functions like the Branin function. These synthetic tasks fail to capture the rugged landscapes, categorical variables, and conditional dependencies inherent in real-world ML problems. This paper proposes a methodology to create cheap, realistic benchmarks using surrogate models.

Methodology

The authors propose a two-phase approach to benchmark creation:

  1. Offline Data Collection: Performance data is gathered by running several existing HPO optimizers (e.g., SMAC, Spearmint, TPE) and random search on a real-world task to create a dataset of (hyperparameter configuration, performance) pairs.
  2. Surrogate Training: A regression model is trained on this data to serve as a simulator. When a new HPO algorithm is tested, it queries this model instead of executing the actual training pipeline.

The study evaluated several regression techniques, including Random Forests (RF), Gradient Boosting (GB), Gaussian Processes (GP), and k-Nearest Neighbors (kNN). To ensure the surrogates generalize to new optimization strategies, a leave-one-optimizer-out (leave-ooo) validation strategy was employed.

Key Results and Insights

Tree-Based Models vs. Gaussian Processes

A primary finding is that tree-based models (RF and GB) significantly outperform smooth models like Gaussian Processes. Real-world hyperparameter landscapes are often non-smooth and high-dimensional, which challenges the assumptions of GPs. Furthermore, GPs occasionally predicted nonsensical values, such as negative loss, which can cause optimizers to fail by chasing non-existent optima.

Scatter plots comparing true vs. predicted performance for Logistic Regression. Tree-based models (RF, GB) show much tighter correlation with the diagonal than GPs or kNN, particularly in high-performance regions.

Preservation of Optimizer Rankings

For a surrogate to be useful, it must preserve the relative ranking of HPO algorithms. If Optimizer A is faster than Optimizer B on the real task, the surrogate should reflect that same relationship. The researchers found that RF surrogates were highly effective at mirroring the optimization trajectories of the original benchmarks.

Optimization trajectories on the real benchmark (left) compared to RF (middle) and GP (right) surrogates. The RF surrogate accurately captures the relative performance and convergence rates of SMAC, Spearmint, and TPE.

Massive Computational Speedups

The practical impact of this approach is immense. For the onlineLDA benchmark, a full HPO experiment that would typically require 340 hours of computation was completed in just 50-60 seconds using a surrogate—a speedup of approximately 20,000x.

Conclusion

Surrogate benchmarks offer a transformative way to conduct HPO research by removing the prohibitive cost of realistic evaluations. By using Random Forest simulators, researchers can iterate on new algorithms in seconds rather than weeks. Future work may extend this to general algorithm configuration and meta-optimization, where surrogates could be used to tune the hyperparameters of the HPO optimizers themselves.

Summary updated

BibTeX
@inproceedings{eggensperger2015efficient,
  author = {Katharina Eggensperger and Frank Hutter and Holger H. Hoos and Kevin Leyton-Brown},
  title = {{Efficient Benchmarking of Hyperparameter Optimizers via Surrogates}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  doi = {10.1609/aaai.v29i1.9375},
}
Figure