TL;DR
BANANAS is widely considered a state-of-the-art Bayesian optimization framework for neural architecture search (NAS), but what makes it tick? This paper shows that its success on large search spaces (like DARTS / NAS-Bench-301) isn't driven by fancy path encodings or neural network surrogate models, but by its acquisition function optimizer: a simple routine that minimally mutates the current best architecture.
What Problem Does This Paper Address?
Bayesian optimization (BO) is a standard workhorse for automated neural architecture search (NAS). In BO, an algorithm iteratively fits a cheap surrogate model (like a neural network or Gaussian process) to evaluated architectures, uses an acquisition function to balance exploration and exploitation, and optimizes this acquisition function to pick the next candidate architecture to train.
A leading BO method in NAS is BANANAS (White et al., 2019), which combines a truncated path encoding, an ensemble of feed-forward neural networks as its surrogate, independent Thompson sampling (ITS), and a local mutation-based acquisition optimizer. Prior work suggested that BANANAS excelled on small benchmarks (like NAS-Bench-101) due to its specialized path encoding. However, whether that finding generalizes to larger, realistic cell-based search spaces like DARTS remained unclear. The authors investigate which component of BANANAS actually delivers its strong performance when scaling to large architecture spaces.
Methods
The authors ran a full-factorial ablation study crossing four modular components of the BO pipeline on the DARTS search space:
- Architecture Representation: Truncated path encoding (Path) vs. standard natural categorical representation (Tabular).
- Surrogate Model: Ensemble of 5 feed-forward neural networks (NN) vs. Random Forest (RF).
- Acquisition Function: Independent Thompson Sampling (ITS), Expected Improvement (EI), and Posterior Mean alone (Const. Mean, ignoring uncertainty estimates).
- Acquisition Function Optimizer:
- Mut: Generates 100 local mutants of the current best architecture (changing a single operation or edge) and evaluates the acquisition function on them.
- RS / RS+: Samples architectures uniformly at random from the search space (1,000 candidates for RS; 100,000 candidates for RS+) to maximize the acquisition function.
They also compared these against baseline NAS strategies: standalone Local Search (LS) (which evaluates single-mutation neighbors without any surrogate model) and pure Random Search.
Datasets
- NAS-Bench-301: A surrogate benchmark representing the DARTS search space trained on CIFAR-10 (evaluations performed using the deterministic
xgb_v1.0surrogate model). - Prior results from NAS-Bench-101 are discussed for context, but no new benchmarks were introduced.
Key Insights and Ideas
- The inner optimizer dominates everything: In a four-way ANOVA, the choice of acquisition function optimizer yielded an $F$-statistic of 632.43, dwarfing the surrogate candidate ($F = 48.31$), architecture encoding ($F = 19.57$), and acquisition function ($F = 13.49$).
- BANANAS collapses without mutation: Pairing BANANAS’ neural ensemble and path encoding with random search acquisition optimization performs terribly—falling below pure random architecture search.
- Complexity is optional: A straightforward baseline—Tabular + Random Forest + Expected Improvement + Mutation—matches the performance of the complex BANANAS pipeline. Even stripping out uncertainty entirely (Const. Mean) matches performance when paired with mutation.
- Surrogates are locally blind: Kendall’s rank correlation ($\tau$) between predicted and true validation accuracy is lowest ($\tau \approx 0.05$) for architectures with an edit distance of 1 from the incumbent, yet climbs above $\tau \approx 0.35$ at edit distance 8. The surrogate model is worst at ranking immediate neighbors, yet choosing neighbors via mutation still yields the highest actual accuracy gains.
Key Results
- No significant difference among top variants: A one-way ANOVA across the top seven configurations (including standard BANANAS, Random Forest baselines with Mut, and standalone Local Search) found no statistically significant difference in final validation accuracy ($F(6, 133) = 1.026, p = 0.411$).
- Local search alone is competitive: Simple Local Search (LS), which uses no surrogate model or acquisition function at all, performs on par with full BO configurations.
- Budget cannot compensate for lack of locality: Even when Random Search was scaled up to evaluate 100,000 random candidates per iteration (RS+), the 100-mutant local strategy (Mut) strongly outperformed it in mean validation accuracy (~94.75% vs. ~94.45% at 100 iterations).
Limitations and Future Work
- Surrogate benchmark evaluation: The study relies on NAS-Bench-301's surrogate model rather than ground-truth deep network training runs, which could introduce benchmark-specific surrogate artifacts.
- Scope of search spaces: Experiments were conducted on the DARTS cell-based space on CIFAR-10; findings may differ on non-cell-based or macro architecture spaces.
- Future Directions: Since the local mutation step behaves essentially like randomized local search, future research in Bayesian optimization for NAS must focus heavily on the design of the inner acquisition optimization algorithm, rather than just designing more elaborate surrogate models or architecture encodings.
Summary updated