HEBO: Pushing The Limits of Sample-Efficient Hyperparameter Optimisation

Alexander Imani Cowen-Rivers, Wenlong Lyu, Rasul Tutunov, Zhi Wang, Antoine Grosnit, Ryan-Rhys Griffiths, Alexandre Max Maraval, Jianye Hao, Jun Wang, Jan Peters, Haitham Bou Ammar · DOI · OpenReview

TL;DR

This paper introduces HEBO, a novel Bayesian optimization (BO) algorithm designed for hyperparameter tuning that tackles common challenges like heteroscedasticity and non-stationarity in objective functions. HEBO achieves state-of-the-art performance, winning the NeurIPS 2020 Black-Box Optimization challenge, by incorporating input/output warping and robust acquisition functions.

What Problem Does This Paper Address?

Hyperparameter tuning is crucial for machine learning model performance, but it's often a computationally expensive black-box optimization problem. Standard Bayesian Optimization (BO) methods, while sample-efficient, rely on assumptions about the objective function (like constant noise and stationary behavior) that are frequently violated in real-world scenarios, particularly in hyperparameter tuning. These violations can significantly degrade BO's performance. The authors aim to identify these limitations and propose a more robust BO framework that addresses them.

Methods

The core of this work is the Heteroscedastic and Evolutionary Bayesian Optimization (HEBO) algorithm. HEBO builds upon standard BO by incorporating several key enhancements:

  • Input and Output Warping: HEBO uses transformations (specifically, Box-Cox/Yeo-Johnson for output and Kumaraswamy for input) to handle heteroscedasticity (non-constant noise) and non-stationarity (where the function's behavior changes across the input space). This allows the underlying Gaussian Process (GP) surrogate model to better fit complex objective functions.
  • Robust Acquisition Functions: Instead of relying on a single acquisition function, HEBO uses a multi-objective approach to find a Pareto front of solutions, hedging against conflicts between different acquisition strategies. Furthermore, it employs a robust formulation that accounts for uncertainty in the GP model itself, preventing overly conservative or unreliable query points.
  • Exact Marginal Log-Likelihood Optimization: HEBO aims for exact marginal log-likelihood optimization, which is more robust to learned parameter values.

Datasets

The primary benchmark used for evaluation is the Bayesmark package, which comprises 108 real-world machine learning hyperparameter tuning tasks. These tasks are derived from the UCI repository, utilizing nine different models (e.g., MLPs, SVMs) and six datasets (Boston, Breast Cancer, Diabetes, Digits, Iris, Wine) with various metrics (e.g., MSE, NLL). The paper also mentions the NeurIPS 2020 Black-Box Optimization challenge as a validation ground where HEBO achieved first place.

Key Insights and Ideas

  • Real-world hyperparameter tuning is messy: The paper strongly demonstrates that many hyperparameter tuning tasks are inherently heteroscedastic and non-stationary, invalidating common BO assumptions and necessitating more advanced modeling.
  • Warping is crucial: Input and output warping are not just minor tweaks; they significantly improve GP fit and overall BO performance by allowing the surrogate model to better capture the true objective function.
  • Acquisition functions can conflict: The study highlights that different acquisition functions can propose conflicting optimal points, underscoring the value of multi-objective acquisition ensembles for robust exploration.
  • Robustness matters: Accounting for uncertainty in the GP model itself, not just the function's output, leads to more reliable and effective BO.

Key Results

  • HEBO won the NeurIPS 2020 Black-Box Optimization challenge.
  • On the Bayesmark benchmark (108 tasks), HEBO achieved the highest normalized mean score in 68.5% of the tasks and showed a 5% relative improvement over state-of-the-art optimizers like TuRBO+.
  • HEBO demonstrated an 8% improvement over random search.
  • Statistical tests revealed that at least 66% of the experimental tasks exhibit heteroscedastic behavior, and 106 out of 108 tasks showed improved GP fit with input warping (addressing non-stationarity).
  • The ablation study indicated that heteroscedasticity handling, multi-objective acquisition, non-stationarity handling, and robustness were the most impactful components of HEBO, in that order.

Limitations and Future Work

  • Computational Cost: While HEBO is sample-efficient, the complexity of its components (e.g., fitting warping parameters, multi-objective optimization) can increase computational cost compared to simpler BO methods.
  • Model Agnosticism: The paper suggests that the framework is solver-agnostic, implying that other multi-objective optimizers could be used with HEBO.
  • Future Directions: The authors propose exploring deeper neural networks, experimenting with other architectures, and investigating the interplay between HEBO's trust region capabilities and future work. They also suggest integrating the strengths of asynchronous and synchronous BO methods for optimal performance.

Summary updated

BibTeX
@article{cowenrivers2020hebo,
  author = {Alexander Imani Cowen-Rivers and Wenlong Lyu and Rasul Tutunov and Zhi Wang and Antoine Grosnit and Ryan-Rhys Griffiths and Alexandre Max Maraval and Jianye HAO and Jun Wang and Jan Peters and Haitham Bou Ammar},
  title = {{HEBO: Pushing The Limits of Sample-Efficient Hyperparameter Optimisation}},
  journal = {AutoML-Conf (Journal Track)},
  year = {2020},
  doi = {10.48550/arxiv.2012.03826},
}
Figure