Skip to main content
QUICK REVIEW

[Paper Review] BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search

Colin White, Willie Neiswanger|arXiv (Cornell University)|Oct 25, 2019
Machine Learning and Data ClassificationComputer Science25 citations
TL;DR

BANANAS proposes a Bayesian optimization framework for neural architecture search (NAS) using a neural predictor with a novel path-based architecture encoding, achieving state-of-the-art performance on NASBench-101 and competitive results on NASBench-201. The method improves scalability and predictor accuracy by encoding paths through neural architectures rather than using adjacency matrices.

ABSTRACT

Over the past half-decade, many methods have been considered for neural architecture search (NAS). Bayesian optimization (BO), which has long had success in hyperparameter optimization, has recently emerged as a very promising strategy for NAS when it is coupled with a neural predictor. Recent work has proposed different instantiations of this framework, for example, using Bayesian neural networks or graph convolutional networks as the predictive model within BO. However, the analyses in these papers often focus on the full-fledged NAS algorithm, so it is difficult to tell which individual components of the framework lead to the best performance. In this work, we give a thorough analysis of the "BO + neural predictor" framework by identifying five main components: the architecture encoding, neural predictor, uncertainty calibration method, acquisition function, and acquisition optimization strategy. We test several different methods for each component and also develop a novel path-based encoding scheme for neural architectures, which we show theoretically and empirically scales better than other encodings. Using all of our analyses, we develop a final algorithm called BANANAS, which achieves state-of-the-art performance on NAS search spaces. We adhere to the NAS research checklist (Lindauer and Hutter 2019) to facilitate best practices, and our code is available at https://github.com/naszilla/naszilla.

Motivation & Objective

  • To address the lack of component-level analysis in Bayesian optimization for NAS, particularly in the 'BO + neural predictor' framework.
  • To identify and optimize key components—architecture encoding, neural predictor, uncertainty calibration, acquisition function, and acquisition optimization strategy—individually.
  • To develop a novel path-based architecture encoding that improves scalability and predictor accuracy over adjacency matrix encodings.
  • To achieve state-of-the-art performance on standard NAS benchmarks, including NASBench-101 and NASBench-201.
  • To promote reproducibility by adhering to the NAS research checklist and releasing code.

Proposed method

  • The framework uses Bayesian optimization with a neural predictor to guide architecture search, replacing traditional Gaussian processes to improve scalability.
  • A novel path-based encoding represents each architecture as a set of unique input-to-output paths, reducing feature dependency and improving interpretability for neural networks.
  • The neural predictor is trained to predict architecture performance, with uncertainty calibrated via Bayesian neural networks or ensemble methods.
  • The acquisition function (e.g., Expected Improvement) is optimized using gradient-based or random search strategies to select the next architecture to evaluate.
  • The method integrates uncertainty calibration and acquisition optimization to balance exploration and exploitation in the search space.
  • The framework is evaluated on NASBench-101, NASBench-201, and the DARTS search space using consistent training pipelines and hyperparameters.

Experimental results

Research questions

  • RQ1Which component of the 'BO + neural predictor' framework most significantly impacts NAS performance?
  • RQ2How does a path-based architecture encoding compare to adjacency matrix encoding in terms of scalability and predictor accuracy?
  • RQ3What combination of neural predictor, uncertainty calibration, and acquisition function yields the best search efficiency and accuracy?
  • RQ4Can a fully reproducible and high-performing NAS algorithm be built by systematically analyzing and optimizing each component?
  • RQ5How does BANANAS compare to both first-order (e.g., DARTS) and zeroth-order NAS methods in terms of final accuracy and sample efficiency?

Key findings

  • The path-based encoding significantly outperforms adjacency matrix encoding in both theoretical analysis and empirical evaluation, with lower feature correlation and better scalability.
  • BANANAS achieves state-of-the-art accuracy on NASBench-101, outperforming methods such as DARTS, BOHB, NASBOT, and BONAS.
  • On NASBench-201, BANANAS achieves competitive performance across all three datasets, demonstrating strong generalization across search spaces.
  • The ablation study confirms that the choice of neural predictor, uncertainty calibration, and acquisition function has a substantial impact on final performance.
  • The method maintains high stability across multiple runs, with average final error within 0.1% across four trials on the DARTS search space.
  • The framework is reproducible and adheres to the NAS research checklist, with full code and hyperparameter details released for transparency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.