Parallel Architecture and Hyperparameter Search via Successive Halving and Classification

Manoj Kumar, George E. Dahl, Vijay Vasudevan, Mohammad NorouziarXiv 2018

Abstract

We present a simple and powerful algorithm for parallel black box optimization called Successive Halving and Classification (SHAC). The algorithm operates in $K$ stages of parallel function evaluations and trains a cascade of binary classifiers to iteratively cull the undesirable regions of the search space. SHAC is easy to implement, requires no tuning of its own configuration parameters, is invariant to the scale of the objective function and can be built using any choice of binary classifier. We adopt tree-based classifiers within SHAC and achieve competitive performance against several strong baselines for optimizing synthetic functions, hyperparameters and architectures.

Introduction

The design of state-of-the-art neural networks is increasingly complex, requiring the tuning of numerous hyperparameters (e.g., learning rates, dropout) and architectural components (e.g., layer connectivity, filter sizes). Existing approaches generally fall into two categories: simple but inefficient methods like Random Search (RS), or powerful but complex optimizers like Bayesian Optimization and Reinforcement Learning (RL). The latter often require significant "meta-tuning" and can be difficult to scale to hundreds of parallel workers. Successive Halving and Classification (SHAC) is proposed as a robust, highly parallelizable alternative that matches the efficiency of complex optimizers with the simplicity of random search.

The SHAC Algorithm

SHAC operates by iteratively pruning the search space using a "cascade" of binary classifiers. Unlike traditional methods that attempt to predict exact performance values (regression), SHAC simplifies the task to binary classification: determining whether a configuration is likely to be "better than average."

Median performance improvement across successive batches for CIFAR-10 and CIFAR-100.

The process follows an iterative loop:

  1. Sampling and Filtering: Candidate points are sampled from the search space and passed through the existing cascade of classifiers. Points predicted as "bad" are rejected.
  2. Evaluation: A batch of "approved" points is evaluated in parallel (e.g., training the models for a set number of epochs).
  3. Cascade Update: The median performance of the batch is calculated. Points performing above the median are labeled "good" (+1), and those below are labeled "bad" (-1). A new classifier (typically Gradient Boosted Trees) is trained on this data and appended to the cascade.

This approach ensures that each stage effectively halves the promising volume of the search space, focusing computational resources on increasingly high-performing regions.

Experimental Evaluation

The researchers evaluated SHAC across synthetic benchmarks and real-world neural network tuning tasks on CIFAR-10 and CIFAR-100. These tasks included a 20-parameter hyperparameter search for NASNet-A and a 40-dimensional discrete architecture search.

Key Results

SHAC consistently outperformed Random Search and, crucially, exceeded the performance of "RS-2X"—a baseline where Random Search is given twice the computational budget. On CIFAR-10 hyperparameter tuning, SHAC achieved 93.62% accuracy, surpassing both RS (92.66%) and NAS-PPO (92.93%).

Comparison of SHAC against Random Search (RS), RS-2X, and NAS-PPO for hyperparameter and architecture search.

Furthermore, SHAC maintains high architectural diversity, avoiding the premature convergence often seen in RL-based methods like PPO. This diversity is achieved through rejection sampling from a uniform prior, ensuring the "good" region is thoroughly explored.

Conclusion

SHAC provides a "zero-tuning" solution for black-box optimization. By leveraging robust tree-based classifiers and median-based labeling, it eliminates the need for internal hyperparameter tuning. While the rejection sampling cost can increase as the search space is narrowed, the algorithm remains highly effective for large-scale parallel environments, offering a practical and powerful tool for modern machine learning research.

Summary updated

Abstract

We present a simple and powerful algorithm for parallel black box optimization called Successive Halving and Classification (SHAC). The algorithm operates in $K$ stages of parallel function evaluations and trains a cascade of binary classifiers to iteratively cull the undesirable regions of the search space. SHAC is easy to implement, requires no tuning of its own configuration parameters, is invariant to the scale of the objective function and can be built using any choice of binary classifier. We adopt tree-based classifiers within SHAC and achieve competitive performance against several strong baselines for optimizing synthetic functions, hyperparameters and architectures.
BibTeX
@misc{kumar2018parallel,
  author = {Manoj Kumar and George E. Dahl and Vijay Vasudevan and Mohammad Norouzi},
  title = {{Parallel Architecture and Hyperparameter Search via Successive Halving and Classification}},
  year = {2018},
  eprint = {1805.10255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.10255},
}
Figure