Neural Architecture Search (NAS) aims to automate the design of high-performance neural networks, a task traditionally requiring significant human expertise. While Bayesian Optimization (BO) is a leading strategy for NAS, standard implementations often struggle with the discrete, graph-based nature of neural architectures. This paper introduces BANANAS, a streamlined and highly effective NAS algorithm that leverages a novel path-based encoding scheme to achieve state-of-the-art results on major benchmarks.
The BO + Neural Predictor Framework
Traditional Bayesian Optimization relies on Gaussian Processes (GPs), which scale poorly with data and require complex, manually defined distance metrics for discrete graphs. To overcome this, researchers have turned to "neural predictors"—neural networks trained to predict the accuracy of unseen architectures.
The authors of BANANAS perform a rigorous ablation study on the five core components of this framework:
- Architecture Encoding: Representing the graph as numerical data.
- Neural Predictor: The model architecture (e.g., MLP, GCN, or VAE).
- Uncertainty Calibration: How the model estimates its own confidence (e.g., Bayesian Neural Networks vs. Deep Ensembles).
- Acquisition Function: The rule for selecting the next architecture to evaluate.
- Acquisition Optimization: The search strategy used to maximize the acquisition function.
Path Encoding: A New Representation
A central contribution of this work is Path Encoding. Standard adjacency matrix encodings often create highly entangled features where an edge's importance depends entirely on its connectivity to the output. Path encoding instead represents an architecture by the unique paths data can take from input to output.
This representation captures the actual flow of information, making it significantly easier for a neural predictor to learn the relationship between structure and performance. Furthermore, the authors demonstrate that this encoding can be heavily truncated—reducing hundreds of potential paths to just the most common ones—without sacrificing search performance.
Experimental Evaluation
By combining path encoding with an ensemble of simple feedforward networks (MLPs), Independent Thompson Sampling, and mutation-based optimization, BANANAS achieves remarkable efficiency. The researchers evaluated the algorithm on standard benchmarks including NASBench-101, NASBench-201, and the massive DARTS search space.
Key Findings:
- Predictor Accuracy: Simple MLPs using path encoding achieved lower Mean Absolute Error than complex Graph Convolutional Networks (GCNs) or Variational Autoencoders (VAEs).
- Calibration: An ensemble of five simple neural networks provided better-calibrated uncertainty estimates (lower RMSCE) than complex Bayesian Neural Networks, even when the latter were trained for five times as long.
- State-of-the-Art Results: In the DARTS search space, BANANAS achieved a 2.64% average test error on CIFAR-10, outperforming standard DARTS and ASHA.
Conclusion
BANANAS demonstrates that the key to effective Neural Architecture Search lies not in model complexity, but in the quality of the architecture representation. By isolating and optimizing the components of the BO framework, the authors provide a powerful, streamlined tool for automated network design. Future work aims to integrate multi-fidelity optimization to further reduce the computational cost of evaluations.
Summary updated