NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian Optimization for More Automatic Machine Learning

Frank Hutter

Abstract

The success of machine learning (ML) has historically been tethered to the "human-in-the-loop"—experts who possess the intuition to navigate the vast space of algorithms, feature selection methods, and hyperparameters. This paper discusses the transition of ML from an art to a science through the application of Bayesian Optimization (BO). By scaling BO to handle high-dimensional spaces, frameworks like Auto-WEKA and SMAC can automatically design entire ML pipelines, often outperforming human experts and democratizing access to state-of-the-art performance.

Introduction

While machine learning has seen explosive growth, its effective application often depends on "expert intuition." Choosing the right feature selection method, the best learning algorithm, and the perfect set of hyperparameters constitutes a complex, high-dimensional optimization problem. For many users, this makes ML a "black box" that is difficult to use effectively. Deep learning exacerbates this challenge, as performance is incredibly sensitive to architectural choices—such as the number of layers—and specific training settings. The central challenge of Automated Machine Learning (AutoML) is to create a "push-button" system that finds the best model for a given dataset without requiring a PhD-level expert to guide the process.

Methodology

The research focuses on Bayesian Optimization (BO), a strategy designed for optimizing "expensive" functions where every evaluation (e.g., training a deep neural network) might take hours or days. BO works by building a probabilistic model of the objective function and using it to decide where to sample next to find the global optimum efficiently.

Key methodological contributions include:

  • Sequential Model-based Algorithm Configuration (SMAC): A framework designed to scale BO to high-dimensional and structured problems. While standard BO often struggles beyond a few dozen variables, SMAC allows for the optimization of complex algorithm configurations involving hundreds of parameters.
  • Auto-WEKA: This tool treats the entire WEKA machine learning library as a single optimization problem. Rather than tuning one algorithm in isolation, it chooses the algorithm, the features, and the hyperparameters simultaneously.
  • Automated Architecture Search: These optimization techniques are applied to deep learning to automatically select neural network architectures and their associated hyperparameters, removing the need for manual architectural design.

Key Insights and Results

The Power of Combined Optimization

A primary insight of this work is that feature selection and algorithm parameters should not be tuned in isolation. By formulating the entire pipeline as a single 768-dimensional optimization problem (as seen in Auto-WEKA), the system can identify synergies between components that human experts might miss.

Machines vs. Experts

Automated procedures have demonstrated the ability to find neural network architectures that exceed the performance of those designed by human domain experts, even when using the exact same "building blocks." In one study, an 81-dimensional optimization found a deep learning architecture that outperformed previous human-achieved state-of-the-art results.

Dimensionality Scaling

The research demonstrates that BO-based methods like SMAC can effectively navigate massive search spaces. This is a significant breakthrough, as high dimensionality was previously considered a major bottleneck for Bayesian methods.

Limitations and Future Directions

The primary limitation of these automated searches is computational cost. While the process is automated, evaluating each configuration remains expensive, particularly in the context of deep learning. To address this, the research points toward several promising directions:

  1. Predicting Learning Curves: Developing models that can predict early in the training process whether a configuration will be successful, allowing the system to terminate underperforming runs quickly.
  2. Hyperparameter Importance: Developing methods to identify which specific parameters drive performance, allowing the optimizer to ignore "noise" in the search space.
  3. Meta-Learning and Transfer Learning: Using data from previous optimization tasks on different datasets to jump-start the search on new datasets. By using meta-features (dataset characteristics), the system can provide a "prior" to the optimization process, significantly accelerating the search for new problems.

Conclusion

Bayesian Optimization is turning the "art" of machine learning into a rigorous science. By automating the selection and tuning of ML pipelines, frameworks like Auto-WEKA allow non-experts to achieve state-of-the-art performance, moving us closer to the goal of truly automatic machine learning.

Summary updated

BibTeX
@inproceedings{hutter2014bayesian,
  author = {Frank Hutter},
  title = {{Bayesian Optimization for More Automatic Machine Learning}},
  booktitle = {MetaSel@ECAI},
  year = {2014},
}
Figure