Adaptive Local Bayesian Optimization Over Multiple Discrete Variables

Taehyeon Kim, Jaeyeon Ahn, Nakyil Kim, Se-Young Yun

Abstract

Hyperparameter optimization (HPO) in machine learning frequently involves complex search spaces containing a mix of continuous, integer, categorical, and boolean variables. While Bayesian Optimization (BO) is the standard for automating HPO, traditional methods often struggle with these mixed-variable environments. This paper details an enhanced BO framework that combines adaptive region partitioning, specialized combinatorial kernels, and multi-armed bandits. Developed for the NeurIPS 2020 Black-Box Optimization challenge, this approach demonstrates up to a 20% improvement over standard baselines by effectively balancing exploration and exploitation in high-dimensional discrete spaces.

Introduction

Finding the optimal configuration for machine learning models—a process known as hyperparameter optimization—is often a resource-intensive task. Bayesian Optimization has emerged as a leading solution, yet it faces a significant hurdle in mixed-variable spaces. Most BO algorithms are optimized for continuous variables; when faced with integers or categorical choices (like activation functions), local search methods such as TuRBO (Trust Region BO) can fail. These methods often suffer from "excessive exploitation," where search regions shrink prematurely around categorical dimensions, leading to sub-optimal local minima.

Methodology: The KAIST OSI Framework

To address these limitations, the researchers developed the KAIST OSI framework through four incremental improvements to the TuRBO baseline.

The four-step incremental development of the KAIST OSI framework from the TuRBO baseline.
  1. Optimizer Hyperparameter Tuning: The default restart mechanism in TuRBO was found to be too slow for constrained budgets. By increasing the "minimum trust region length," the optimizer was forced to restart more frequently, preventing it from stagnating in unproductive areas.
  2. Adaptive Region Partitioning (ARP): Instead of restarting randomly, the framework uses historical data to identify promising regions. This "global awareness" for a local search strategy is achieved by clustering previous points and training a classifier to guide future restarts.
  3. Combinatorial GP Kernels: A custom Gaussian Process (GP) kernel was designed to handle mixed data types. It utilizes Matérn kernels for continuous variables, linear kernels for integers, and indicator kernels for categorical data, capturing complex correlations through additive and multiplicative combinations.
  4. Multi-Armed Bandits (MAB) for Qualitative Variables: To prevent the "exploitation trap" in categorical dimensions, these variables are managed by a Multi-Armed Bandit using Thompson Sampling. While the GP handles quantitative dimensions, the MAB ensures continued exploration of categorical choices even as the trust region shrinks.

Adaptive Region Partitioning (ARP)

A core innovation of the framework is the ARP mechanism, which injects global information into the local TuRBO search.

The Adaptive Region Partitioning (ARP) process: (a) initial observations, (b) clustering into good/bad regions, (c) training an SVM classifier, and (d) sampling within the identified trust region.

As shown in the figure above, the process begins by collecting observation points (a). These points are clustered using K-means to distinguish "good" from "bad" regions (b). A Support Vector Machine (SVM) is then trained to define a boundary between these regions (c). Finally, the optimizer restricts its trust region and sampling points to the "good" side of the classifier boundary (d), significantly increasing search efficiency by avoiding known poor-performing areas of the search space.

Experimental Results

The framework was evaluated using the bayesmark benchmark, which includes diverse real-world datasets and models such as Multi-layer Perceptrons and Random Forests.

  • Challenge Performance: The method ranked 8th overall in the NeurIPS 2020 Black-Box Optimization Challenge.
  • Benchmark Gains: On validation sets, the KAIST OSI method achieved a score of 96.580, a 20.39% improvement over Random Search. It consistently outperformed established optimizers like HyperOpt and the original TuRBO.
  • Ablation Study: Each component contributed to the final performance: tuning the baseline added ~0.6%, ARP added ~0.4%, and the combination of the custom kernel and MAB added ~0.3%.

Conclusion

The KAIST OSI framework demonstrates that local search methods can be significantly enhanced for mixed-variable optimization by incorporating global data awareness and specialized handling for categorical variables. By treating integers as quantitative and categoricals as qualitative—and applying the appropriate mathematical tools to each—the researchers created a robust strategy for complex black-box optimization tasks. Future work will focus on providing theoretical regret bounds for the MAB implementation and convergence guarantees for the combinatorial kernels.

Summary updated

BibTeX
@misc{kim2020adaptive,
  author = {Taehyeon Kim and Jaeyeon Ahn and Nakyil Kim and Se-Young Yun},
  title = {{Adaptive Local Bayesian Optimization Over Multiple Discrete Variables}},
  year = {2020},
  eprint = {2012.03501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.03501},
}
Figure