Hyperparameter Optimization (HPO) is essential for maximizing the performance of machine learning models. However, the field is plagued by a lack of reproducibility and standardized benchmarking. Researchers often face "dependency hell"—a situation where conflicting software requirements make it nearly impossible to run different benchmarks in a single environment. To solve this, HPOBench introduces a comprehensive, containerized library of over 100 multi-fidelity HPO problems.
The Reproducibility Crisis in HPO
Multi-fidelity methods, which evaluate low-cost proxies (e.g., training on subsets of data or for fewer epochs), are the current gold standard for efficient HPO. Despite their popularity, benchmarking these methods is inconsistent. Variations in software versions, datasets, and hardware can lead to results that are impossible to replicate. Furthermore, the high overhead of setting up diverse benchmarks often limits researchers to a narrow set of tasks, potentially biasing their findings.
The HPOBench Architecture
HPOBench addresses these challenges through three core pillars:
- Containerization: Every benchmark is isolated using Singularity containers. This freezes the specific versions of Python and libraries used, ensuring that a benchmark remains executable and produces consistent results indefinitely.
- Unified API: Whether tuning a simple Support Vector Machine or a complex Neural Network, the code interface is identical. This allows researchers to swap benchmarks with minimal effort.
- Efficiency Tiers: To make large-scale testing affordable, HPOBench offers "Raw" (actual training), "Tabular" (pre-computed results), and "Surrogate" (predictive models) versions of many problems.
Benchmark Families and Datasets
The library aggregates 12 benchmark families, totaling over 100 multi-fidelity problems. This includes community favorites like NAS-Bench-101/201 and Cartpole, alongside five new families introduced by the authors: SVM, Logistic Regression, Random Forest, XGBoost, and MLP. These new benchmarks are based on 20 diverse datasets from OpenML, providing a much-needed "real-world" flavor to the suite.
Key Insights and Results
The authors conducted an extensive study evaluating 13 optimizers across these benchmarks. A key finding is that the advantage of multi-fidelity methods is highly budget-dependent. While methods like DEHB and BOHB find high-performing configurations much faster than standard black-box optimization (BBO) under tight constraints, simple BBO methods can eventually catch up if given a sufficiently large budget.
Furthermore, the use of tabular and surrogate benchmarks enabled a massive meta-study. A research effort that would typically require 1,500 CPU years was reduced to just 22.5 CPU years, demonstrating how HPOBench makes large-scale HPO research accessible to the broader community.
Conclusion and Future Work
HPOBench represents a major step toward scientific rigor in HPO. By treating reproducibility as a software engineering challenge, it provides a stable foundation for future progress. Future work will focus on supporting hierarchical search spaces and stateful "freeze-and-thaw" evaluations, further expanding the library's capabilities.
Summary updated