Better call Surrogates: A hybrid Evolutionary Algorithm for Hyperparameter optimization

Subhodip Biswas, Adam D. Cobb, Andreea Sistrunk, Naren Ramakrishnan, Brian JalaianarXiv 2020

Abstract

In this paper, we propose a surrogate-assisted evolutionary algorithm (EA) for hyperparameter optimization of machine learning (ML) models. The proposed STEADE model initially estimates the objective function landscape using Radial Basis Function (RBF) interpolation, and then transfers the knowledge to an EA technique called Differential Evolution (DE) that is used to evolve new solutions guided by a Bayesian optimization (BO) framework. We empirically evaluate our model on the hyperparameter optimization problems as a part of the black box optimization challenge at NeurIPS 2020 and demonstrate the improvement brought about by STEADE over the vanilla EA.

Introduction

Hyperparameter Optimization (HPO) is a critical yet challenging task in machine learning, involving the search for optimal configurations (e.g., learning rates, architectural depths) to minimize model error. This task is fundamentally a "black box" problem: the objective function lacks an analytical form, and each evaluation requires a computationally expensive model training cycle.

Existing optimization strategies generally fall into two categories. Evolutionary Algorithms (EAs) offer robust global search capabilities but are notoriously "sample-hungry," often requiring thousands of evaluations. Conversely, surrogate-based methods like Bayesian Optimization (BO) are highly sample-efficient but can struggle with local optima or become computationally prohibitive as the number of samples grows. This paper introduces STEADE (Surrogate-assisTed BayEsiAn Differential Evolution), a hybrid approach designed to leverage the efficiency of surrogates with the global search robustness of EAs.

Methodology: The STEADE Framework

STEADE employs a multi-stage pipeline that evolves its search strategy as it gathers data:

  1. Initial Exploration with RBF: The process begins by using a Radial Basis Function (RBF) surrogate to rapidly construct a coarse estimate of the objective landscape.
  2. Knowledge Transfer to BO: This initial landscape knowledge is transferred to a Gaussian Process (GP) model within a Bayesian Optimization framework.
  3. Bayesian Mutation: This is the core innovation of STEADE. Instead of the stochastic mutation typical in Differential Evolution, STEADE utilizes a mutation mechanism guided by the RBF and BO models. These surrogates act as a "GPS," directing the evolutionary search toward promising regions.
  4. Dynamic Search Refinement: The algorithm incorporates a decay factor ($1/G$) to transition from a broad, global search in early generations ($G$) to fine-grained local refinement as the budget is consumed.

By using surrogates to generate "donor vectors" for the evolutionary process, STEADE effectively "warm-starts" the population, significantly reducing the number of wasted evaluations compared to standard EAs.

Experimental Setup

The model was rigorously evaluated using the Bayesmark library, the benchmark for the NeurIPS 2020 Black Box Optimization Challenge. The evaluation suite included:

  • 9 ML Models: Including Random Forests, SVMs, and Multi-layer Perceptrons.
  • 6 Diverse Datasets.
  • 1620 Independent Studies: Conducted to ensure statistical significance and robustness against random variance.

Results and Discussion

STEADE was benchmarked against its constituent components: standalone BO, DE, and RBF. The results demonstrate that the hybrid approach consistently outperforms individual methods across various metrics.

Convergence of normalized median and mean scores over 15 evaluations.

As shown in the convergence plots, STEADE maintains a steady downward trajectory in both median and mean normalized scores, whereas baseline methods often plateau early. In the visible_to_opt metric—a measure of how closely the optimizer approaches the global optimum—STEADE achieved a normalized mean of 0.15463, more than doubling the efficiency of pure BO (0.37376).

Performance comparison of STEADE against baseline optimizers across multiple metrics.

On the final leaderboard, STEADE reached a score of 98.6963, surpassing RBF (98.00), DE (97.18), and BO (96.84). These results confirm that the "saturation" problem—where surrogates stop learning new landscape features—is effectively mitigated by allowing the Evolutionary Algorithm to take the lead in later stages.

Conclusion

STEADE demonstrates that hybridization is a powerful tool for low-budget HPO. By integrating RBF and BO surrogates into a Differential Evolution framework, the algorithm achieves superior sample efficiency and global search performance. Future research will focus on developing an adaptive transition mechanism, allowing the algorithm to dynamically switch between modeling and evolving based on the perceived gain of each step, further reducing the computational overhead associated with Gaussian Process updates.

Summary updated

BibTeX
@misc{biswas2020better,
  author = {Subhodip Biswas and Adam D. Cobb and Andreea Sistrunk and Naren Ramakrishnan and Brian Jalaian},
  title = {{Better call Surrogates: A hybrid Evolutionary Algorithm for Hyperparameter optimization}},
  year = {2020},
  eprint = {2012.06453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.06453},
}
Figure