Progressive Neural Architecture Search

Chenxi Liu, Barret Zoph, Maxim Neumann, Jonathon Shlens, Wei Hua, Li-Jia Li, Alan L. Yuille, Jonathan Huang, Kevin Murphy

Introduction

Neural Architecture Search (NAS) aims to automate the design of deep learning models, removing the need for human experts to manually tune network topologies. Early approaches using Reinforcement Learning (RL) or Evolutionary Algorithms (EA) achieved impressive results but were computationally prohibitive. For instance, the original NASNet required training 20,000 neural networks across 500 GPUs over four days.

Progressive Neural Architecture Search (PNAS) addresses this inefficiency by searching for network structures in order of increasing complexity. By utilizing a "surrogate" model to predict the performance of candidate architectures, PNAS achieves state-of-the-art accuracy while being 8 times faster in total compute than previous RL-based methods.

Methodology: Sequential Model-Based Optimization

PNAS utilizes a Sequential Model-Based Optimization (SMBO) strategy to navigate the vast search space of modular "cells." Instead of evaluating complex architectures directly, PNAS builds them block-by-block through an iterative process:

  1. Progressive Search: The algorithm begins by evaluating all possible cells composed of a single block.
  2. Surrogate Model Training: As simple models are trained and evaluated, their results train a surrogate model. The authors found that an ensemble of simple Multi-Layer Perceptrons (MLPs) performed best at extrapolating performance to larger cells.
  3. Beam Search Expansion: To progress from $b$ blocks to $b+1$ blocks, the algorithm generates all possible extensions. The surrogate model ranks these candidates, and only the top $K$ (the beam size) most promising architectures are actually trained.
  4. Iterative Refinement: This process repeats until cells reach a pre-defined complexity, typically five blocks.
The internal structure of a discovered PNAS cell.

By pruning the search space early and using a computationally inexpensive surrogate model to guide the search, PNAS avoids the "brute force" evaluation of poor-performing models.

Key Insights

  • Simple-to-Complex Progression: Starting with simple architectures allows the surrogate model to learn the "rules" of effective design early, when training is fastest.
  • Ranking over Regression: The surrogate model's primary task is to correctly rank candidates rather than predict exact accuracy. Identifying the top tier of candidates is sufficient for effective beam search.
  • Modular Transferability: By searching for a modular "cell" rather than a fixed global architecture, the discovered structure can be scaled for different tasks. As shown in the figure below, the same cell is stacked differently for CIFAR-10 versus the more demanding ImageNet dataset.
Macro-architectures for CIFAR-10 and ImageNet.

Experimental Results

The authors evaluated PNAS on standard benchmarks to test both search efficiency and model performance.

Efficiency

PNAS proved to be 8 times faster in total compute time and 5 times more efficient in the number of models evaluated compared to the RL-based NASNet, while achieving comparable accuracy.

Image Classification Performance

  • CIFAR-10: PNAS achieved a top-1 error rate of 3.41%, matching the contemporary state-of-the-art.
  • ImageNet (Mobile): In the resource-constrained setting (<600M multiply-adds), PNAS reached 74.2% top-1 accuracy, slightly outperforming NASNet-A (74.0%).
  • ImageNet (Large): The scaled-up PNAS model achieved 82.9% top-1 and 96.2% top-5 accuracy, surpassing high-performance models like SENet and PolyNet.

Discussion and Future Work

PNAS demonstrates that model-based optimization can significantly accelerate neural architecture search without sacrificing performance. However, some limitations remain. The "primitives" (the types of convolutions and pooling layers) are still pre-defined by humans, and the process still requires significant resources (evaluating ~1,160 models) compared to later "one-shot" NAS methods.

Future directions suggested by the authors include exploring more sophisticated surrogate models, such as Gaussian Processes with string kernels, and implementing "warm-starting" to initialize a large model's weights using its smaller parent's weights to further accelerate training.

Summary updated

BibTeX
@inproceedings{liu2018progressive,
  author = {Chenxi Liu and Barret Zoph and Maxim Neumann and Jonathon Shlens and Wei Hua and Li-Jia Li and Li Fei-Fei and Alan L. Yuille and Jonathan Huang and Kevin Murphy},
  title = {{Progressive Neural Architecture Search}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01246-5\_2},
}
Figure