Simple and efficient architecture search for Convolutional Neural Networks

Thomas Elsken, Jan Hendrik Metzen, Frank Hutter

TL;DR

Designing high-performance neural networks usually requires either expert intuition or massive compute clusters. This paper introduces NASH (Neural Architecture Search by Hillclimbing), a simple yet powerful algorithm that can design competitive Convolutional Neural Networks (CNNs) in just 12 hours on a single GPU—a fraction of the thousands of GPU-days required by previous state-of-the-art methods.

The Problem: The High Cost of Automated Design

While deep learning has revolutionized fields like computer vision, the "architecture" of these networks (how many layers, what types, how they connect) is still largely designed by hand through a tedious process of trial and error.

To solve this, researchers developed Neural Architecture Search (NAS) to automate the design process. However, early NAS methods using Reinforcement Learning or Evolutionary Algorithms were notoriously "compute-hungry," often requiring hundreds or thousands of GPUs running for weeks. This created a massive barrier to entry, making NAS accessible only to organizations with vast computational resources. The authors of this paper set out to prove that you don't need a supercomputer to find a great architecture; you just need a smarter, more efficient search strategy.

Methods: The NASH Algorithm

The authors propose a method called NASH, which relies on three main pillars to drastically reduce search time:

  1. Hillclimbing: Instead of exploring a vast space of random architectures, NASH starts with a simple, pre-trained network and iteratively improves it. In each step, it generates several "child" networks, evaluates them, and moves to the best one.
  2. Network Morphisms: This is the "secret sauce." When creating a child network (e.g., adding a layer or making one wider), NASH uses mathematical transformations that preserve the network's function. This means the new, larger network starts with the exact same performance as its parent, rather than starting from scratch with random weights. This "weight inheritance" dramatically speeds up training.
  3. Efficient Evaluation (SGDR): To quickly see which child network has the most potential, the authors use Stochastic Gradient Descent with Warm Restarts (SGDR) and cosine annealing. This allows them to "warm up" and evaluate new architectures in just a few epochs rather than training every candidate to full convergence.
The NASH algorithm process: applying network morphisms, training with SGDR, and updating the best model.

The search space includes three primary operations:

  • Making the network deeper: Adding a Conv-BatchNorm-ReLU block.
  • Making the network wider: Increasing the number of channels in a layer.
  • Adding skip connections: Introducing identity or concatenation mappings (like those found in ResNets or DenseNets).

Datasets

The researchers evaluated NASH on two standard computer vision benchmarks:

  • CIFAR-10: 60,000 32x32 color images across 10 classes.
  • CIFAR-100: Similar to CIFAR-10, but with 100 fine-grained classes.

These datasets are the "gold standard" for testing NAS efficiency because they are complex enough to be challenging but small enough to allow for rapid experimentation.

Key Insights

  • Simplicity Wins: One of the most surprising findings is that a simple hillclimbing procedure—often dismissed as too prone to getting stuck in "local optima"—actually performs remarkably well in the architecture space.
  • The Power of the Baseline: The authors introduced a "random" baseline (randomly constructing and training networks) that achieved 6-7% error on CIFAR-10. This highlighted that many complex NAS papers were over-complicating the problem; a simple, well-tuned training setup is half the battle.
  • Weight Inheritance is Essential: By using network morphisms, the search process avoids the "cold start" problem. Because child networks inherit their parents' knowledge, the algorithm spends its compute time refining architectures rather than re-learning basic features.
  • Greedy is Good Enough: While theoretical "global" search methods (like RL) might find slightly better models eventually, the greedy hillclimbing approach reaches "competitive" performance orders of magnitude faster.

Key Results

  • Speed: On CIFAR-10, NASH found a network with less than 6% error in just 12 hours on a single Nvidia Titan X GPU.
  • Efficiency: Compared to contemporary methods like "Large-scale Evolution" (which took 2500 GPU days), NASH achieved similar or better results in roughly 1/5000th of the time.
  • Performance: By running the search for 24 hours and using an ensemble of the best models found during the process, they achieved an error rate of 4.7% on CIFAR-10.
  • CIFAR-100: The method scaled well to more complex tasks, achieving sub-20% error rates within a day of compute.
Comparison of NASH against state-of-the-art methods on CIFAR-10, highlighting the massive reduction in GPU days.

Limitations and Future Work

  • Greedy Search: While the authors didn't observe it, hillclimbing can theoretically get stuck in local optima where no single "morphism" improves the score, even if a better architecture exists further away.
  • Initial Bias: The search still starts from a human-defined "seed" network. The final result is somewhat influenced by where the search begins.
  • Morphism Set: The search is limited to the specific types of morphisms defined by the authors (depth, width, skip connections). It cannot "invent" entirely new types of layers (like attention mechanisms) if they aren't in the predefined set.

The authors suggest that future work could combine NASH with more sophisticated "anytime" performance predictors to further prune the search space and speed up the evaluation of child networks.

Summary updated

BibTeX
@inproceedings{elsken2018simple,
  author = {Thomas Elsken and Jan Hendrik Metzen and Frank Hutter},
  title = {{Simple and efficient architecture search for Convolutional Neural Networks}},
  booktitle = {Workshops @ ICLR},
  year = {2018},
}
Figure