Cascaded Algorithm-Selection and Hyper-Parameter Optimization with Extreme-Region Upper Confidence Bound Bandit

Yi-Qi Hu, Yang Yu, Jun-Da Liao

Abstract

An automatic machine learning (AutoML) task is to select the best algorithm and its hyper-parameters simultaneously. Previously, the hyper-parameters of all algorithms were joined into a single search space, which is not only huge but also redundant, as many dimensions are irrelevant to the selected algorithm. In this paper, we propose a cascaded approach for algorithm selection and hyper-parameter optimization. While a search procedure is employed at the level of hyper-parameter optimization (HPO), a bandit strategy runs at the level of algorithm selection to allocate budget based on search feedback. Since the objective is to select the algorithm with the maximum performance rather than the average, we propose the Extreme-Region Upper Confidence Bound (ER-UCB) strategy, which focuses on the extreme region of the underlying feedback distribution. We show theoretically that ER-UCB has a regret upper bound of $O(K \ln n)$ with independent feedbacks, making it as efficient as the classical UCB bandit. Experiments on synthetic problems and AutoML tasks verify the effectiveness of the proposed method.

Introduction: The CASH Problem

The Combined Algorithm Selection and Hyper-parameter optimization (CASH) problem is a fundamental challenge in AutoML. Traditionally, this is treated as a single, massive search space. However, this approach is highly redundant—hyper-parameters for an SVM are irrelevant when testing a Decision Tree. Searching this joint space is slow and often misleading. While "cascaded" methods exist to separate these tasks, they often struggle with budget allocation because standard selection strategies (like Multi-Armed Bandits) typically seek the arm with the best average reward. In AutoML, the goal is to find the maximum possible performance after tuning.

Methodology: The Cascaded Framework and ER-UCB

We propose a two-level cascaded framework:

  1. Lower Level (HPO): Uses a search procedure (such as random search) to sample hyper-parameters for a specific algorithm.
  2. Upper Level (Algorithm Selection): Uses a bandit strategy to decide which algorithm to "pull" (allocate more search budget to) next.

The core innovation is the Extreme-Region Upper Confidence Bound (ER-UCB). Unlike standard UCB, which uses the mean and a confidence interval, ER-UCB focuses on the "extreme region" of the performance distribution. By incorporating variance into the selection criteria using Chebyshev’s and Markov’s inequalities, ER-UCB identifies algorithms most likely to produce results in the top tail of the distribution. This is crucial because an algorithm that performs poorly on average but has a few "stellar" configurations is superior for optimization tasks.

Experimental Results

Synthetic Problem Performance

We evaluated the approach using a 7-armed bandit where rewards follow Gaussian distributions with different means and variances. The goal was to test if the bandit could identify the "high-variance/high-peak" arm over the "high-mean/low-peak" arm.

Regret study on a synthetic 7-armed bandit problem, showing ER-UCB's superior ability to find extreme values compared to standard strategies.

As shown in the regret study above, ER-UCB (green line) significantly outperforms baselines like Classic-UCB, $\epsilon$-greedy, and Softmax in identifying configurations that exceed a high performance threshold ($X > 1.0$). In the 7-armed test, ER-UCB correctly identified the best arm and allocated approximately 90% of the budget to it, whereas classical UCB wrongly focused on the arm with the highest mean.

AutoML Tasks and Efficiency

On 12 real-world classification datasets from the UCI repository, ER-UCB consistently found better configurations than standard strategies. Notably, the cascaded approach with ER-UCB outperformed the "Joint" search method on 8 out of 12 datasets, proving that structured search is more effective than exhaustive search in limited-time scenarios. ER-UCB demonstrated a much higher exploitation rate, spending more of its budget on the ground-truth best algorithm once discovered.

Discussion: Hyper-parameter Sensitivity

ER-UCB introduces its own hyper-parameters, such as $\theta$ (target region size), $\gamma$ (confidence level), and $\beta$ (exploration-exploitation trade-off).

Sensitivity study for the hyper-parameter $\theta$, illustrating how it affects the exploitation rate of different arms.

The sensitivity study for $\theta$ shows that a smaller $\theta$ generally leads to a higher exploitation rate for the optimal arm (Arm 1). While these parameters require some tuning, the algorithm remains robust across various settings. Future work could involve integrating more sophisticated HPO methods, such as Bayesian Optimization, into the lower level of the framework to further enhance performance.

Conclusion

By focusing on the extreme regions of performance distributions, ER-UCB provides a theoretically sound and practically effective solution to the CASH problem. The cascaded framework reduces redundancy and improves budget allocation, leading to superior model performance in automated machine learning tasks.

Summary updated

BibTeX
@inproceedings{hu2019cascaded,
  author = {Yi-Qi Hu and Yang Yu and Jun-Da Liao},
  title = {{Cascaded Algorithm-Selection and Hyper-Parameter Optimization with Extreme-Region Upper Confidence Bound Bandit}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=ObsXpzzxRU},
}
Figure