Introduction
In traditional machine learning workflows, Hyperparameter Optimization (HPO) is typically framed as a single-objective search task. The primary goal is to identify a single configuration that maximizes a specific performance metric, such as accuracy or F1-score. However, real-world deployment often demands a more nuanced approach. Practitioners frequently require models that balance performance against secondary constraints, such as interpretability for regulatory compliance or resource efficiency for edge computing.
Quality Diversity Optimization (QDO) offers a compelling framework for these multi-faceted requirements. Unlike standard optimization, which seeks a single global optimum, QDO aims to "illuminate" a search space by finding a diverse set of high-performing solutions across various behavioral dimensions. While QDO has seen significant success in fields like robotics, its application to HPO has been hindered by the extreme computational cost of training thousands of model configurations. This paper introduces a new suite of 12 benchmark problems designed to bridge the gap between QDO and HPO using efficient surrogate models.
The HPO-QDO Benchmark Suite
To overcome the computational barriers of HPO, the authors utilize YAHPO Gym, a surrogate-based benchmarking tool. By employing high-fidelity surrogates that predict model performance based on hyperparameters, the evaluation time for a single configuration is reduced from minutes to milliseconds. This allows for the 100,000+ evaluations necessary to effectively populate a QDO archive.
The benchmarks are constructed using four diverse datasets from OpenML (IDs: 41146, 40981, 1489, 1067) and focus on two primary contexts for behavioral niches:
- Interpretability: Defined by the Number of Features (NF) used by the model and the Interaction Strength (IAS) between those features. These benchmarks utilize Random Forest (
iaml_ranger) and XGBoost (iaml_xgboost) models. - Resource Usage: Defined by the model's memory footprint (RAM) and inference latency. These benchmarks focus on Random Forest models.
In total, the suite comprises 8 interpretability problems and 4 resource usage problems, providing a standardized environment for testing QDO algorithms in an HPO context.
Methodology
The study evaluates several prominent QDO algorithms and emitters to determine their efficacy in navigating HPO landscapes:
- MAP-Elites: A standard evolutionary algorithm that maintains a grid of the best solutions found for each niche.
- CMA-ME: Covariance Matrix Adaptation MAP-Elites, which uses derivative-free optimization to improve archive quality.
- Hybrid Emitters: A "Gauss.+Imp." strategy that combines Gaussian mutation with improvement-based search to balance exploration and refinement.
- Random Search: Used as a baseline to measure the structural complexity of the search space.
Key Results and Insights
Algorithm Performance
MAP-Elites emerged as the most consistent performer, achieving the highest "QD-Score"—a metric that aggregates both the diversity of the archive and the quality of the solutions within it. In interpretability tasks, MAP-Elites successfully filled 50-80% of the defined niches, offering a wide array of model choices to the end-user. The hybrid "Gauss.+Imp." emitter also showed promise, occasionally outperforming standard MAP-Elites by effectively navigating the trade-offs between exploring new niches and refining existing ones.
Landscape Illumination
The resulting "maps" of the search space provide critical insights into the relationship between model complexity and performance. The benchmarks revealed that the trade-off between interpretability and accuracy is rarely linear. QDO helps identify "elbows" in the curve—specific configurations where a model can achieve near-peak accuracy while utilizing significantly fewer features or lower interaction strengths.
Structural Exploitation
A significant finding was that QDO algorithms substantially outperformed Random Search. This indicates that HPO landscapes are not merely stochastic but contain meaningful structural information. Hyperparameters create predictable patterns in model behavior (e.g., increasing the number of trees in a forest predictably increases both accuracy and latency), which evolutionary algorithms can navigate more effectively than brute-force methods.
Conclusion and Future Work
This work provides the first standardized suite of benchmarks for applying QDO to HPO, demonstrating that it is possible to efficiently evolve a diverse repertoire of machine learning models. However, several challenges remain. Current QDO libraries are primarily optimized for continuous numeric parameters, whereas real-world HPO often involves categorical variables and hierarchical dependencies. Furthermore, the use of deterministic surrogates ignores the inherent noise in ML training (e.g., varying random seeds).
Future research will focus on incorporating stochasticity into the benchmarks and moving toward more flexible niche definitions, such as overlapping or hierarchical bins, to better reflect the fluid requirements of real-world machine learning deployment.
Summary updated