[Paper Review] Tuning Hyperparameters without Grad Students: Scalable and Robust Bayesian Optimisation with Dragonfly
Dragonfly is an open-source library that advances scalable and robust Bayesian optimization by integrating high-dimensional scaling, multi-fidelity, neural architecture search, parallel evaluations, and robust acquisitions.
Bayesian Optimisation (BO) refers to a suite of techniques for global optimisation of expensive black box functions, which use introspective Bayesian models of the function to efficiently search for the optimum. While BO has been applied successfully in many applications, modern optimisation tasks usher in new challenges where conventional methods fail spectacularly. In this work, we present Dragonfly, an open source Python library for scalable and robust BO. Dragonfly incorporates multiple recently developed methods that allow BO to be applied in challenging real world settings; these include better methods for handling higher dimensional domains, methods for handling multi-fidelity evaluations when cheap approximations of an expensive function are available, methods for optimising over structured combinatorial spaces, such as the space of neural network architectures, and methods for handling parallel evaluations. Additionally, we develop new methodological improvements in BO for selecting the Bayesian model, selecting the acquisition function, and optimising over complex domains with different variable types and additional constraints. We compare Dragonfly to a suite of other packages and algorithms for global optimisation and demonstrate that when the above methods are integrated, they enable significant improvements in the performance of BO. The Dragonfly library is available at dragonfly.github.io.
Motivation & Objective
- Address the challenge of efficient global optimization of expensive black-box functions for hyperparameter tuning and model selection.
- Develop scalable BO methods that work in high dimensions, with multi-fidelity evaluations, and over structured/combinatorial domains.
- Improve robustness of BO by introducing randomized acquisition and model-parameter choices to reduce sensitivity to hyperparameters and acquisition selection.
Proposed method
- Introduce Dragonfly as an open-source BO library focused on scalability and robustness.
- Employ additive models to scale BO to high dimensions via Add-GP-UCB, enabling tractable optimization in large feature spaces.
- Formalize and utilize multi-fidelity BO (BOCA) with product kernels over fidelity and input domains; select next point by optimizing an acquisition that combines fidelity-aware exploration.
- Extend BO to neural architecture search using NASBOT with the OTMANN distance to define a kernel over architectures and an evolutionary algorithm to optimize the acquisition and architecture.
- Handle parallel evaluations via hallucination techniques for acquisitions (except Thompson sampling, which remains stochastic).
- Propose a robust BO framework that randomly selects among multiple acquisitions and GP hyperparameters to increase robustness across problems.
Experimental results
Research questions
- RQ1How can Bayesian optimization be scaled to high-dimensional domains without prohibitive computational cost?
- RQ2Can multi-fidelity evaluations be formally integrated into BO with theoretical guarantees to reduce expensive evaluations?
- RQ3How can BO be adapted to neural architecture search with meaningful architectures representations and efficient optimization?
- RQ4What strategies improve robustness of BO with respect to acquisition choice and hyperparameter settings, especially in parallel/async settings?
Key findings
- Dragonfly demonstrates competitive or superior performance across synthetic benchmarks and real-world tasks in astrophysics and model selection.
- Additive GP models (Add-GP-UCB) significantly mitigate the curse of dimensionality by decomposing f into additive components.
- BO with multi-fidelity (BOCA) uses a product kernel and a two-step fidelity selection to balance information gain and cost.
- NASBOT enables neural architecture search using an OTMANN-based kernel and an evolutionary search strategy with multi-fidelity training.
- Parallel evaluations are effectively handled via hallucination for acquisitions (except TS), enabling asynchronous or batched BO.
- Randomized, adaptive acquisition strategies improve robustness compared to relying on a single fixed acquisition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.