Hierarchical Representations for Efficient Architecture Search

Hanxiao Liu, Karen Simonyan, Oriol Vinyals, Chrisantha Fernando, Koray Kavukcuoglu

Designing high-performance deep learning architectures has traditionally been a manual, "trial-and-error" process led by human experts. As architectures have evolved from simple chains (like VGG) to complex, graph-structured topologies (like ResNet or Inception), the design space has become combinatorially explosive.

Automating this design process—known as Neural Architecture Search (NAS)—is the logical next step. However, early NAS methods often relied on Reinforcement Learning (RL) or flat evolutionary strategies that were computationally ruinous, sometimes requiring thousands of GPU hours. This paper tackles two main challenges in NAS:

  1. Representation: How do we represent a neural network such that the search space is expressive enough to find novel designs, yet structured enough to be searchable?
  2. Efficiency: Can we find these architectures without the massive compute overhead of previous methods?

By introducing a hierarchical genetic representation that mimics the modular design patterns used by human experts, the authors discovered architectures that achieve state-of-the-art performance on CIFAR-10 and ImageNet while being significantly more computationally efficient.

The Hierarchical Representation Method

The core innovation of this work is its hierarchical approach to architecture representation. Instead of searching for a massive, flat graph of operations, the algorithm builds a hierarchy of increasingly complex structures:

  • Level 1 (Primitives): A small set of basic operations, such as 1x1 convolutions, 3x3 depthwise convolutions, and max-pooling.
  • Level 2 (Motifs): Small directed acyclic graphs (DAGs) where the edges are comprised of Level 1 primitives.
  • Level 3 and beyond: Higher-level motifs where the edges are the motifs from the level directly below.
Hierarchical assembly of neural network motifs from basic primitives to complex structures.

The final network is constructed by stacking the highest-level motif (often called the "cell") in a predefined macro-structure. By forcing the search to be hierarchical, the authors effectively baked a "modular design" prior into the algorithm. This mimics how humans design networks (e.g., repeating a "ResNet block"), making the search space vastly more efficient to navigate.

To traverse this space, the authors primarily use an Evolutionary Search (AysncEvo) algorithm. It uses tournament selection to evolve the "genotypes" (the hierarchical structures), mutating the graphs by adding, removing, or altering edges. As a baseline, they also tested Random Search, simply sampling random architectures from this hierarchical space.

Results and Insights

The search was primarily conducted on CIFAR-10, using a split of 40k training and 10k validation images to compute fitness. To evaluate transferability, the best cell found on CIFAR-10 was then plugged into a larger model and trained on ImageNet's 1.2 million images.

The results highlight the sheer power of the hierarchical representation:

  • CIFAR-10 Performance: The evolved hierarchical model achieved a 3.6% top-1 error (using 128 channels), outperforming handcrafted models like DenseNet and matching the performance of NASNet-A.
  • ImageNet Transfer: When transferred to ImageNet, the model achieved 20.3% top-1 error and 5.2% top-5 error, remaining highly competitive with the best NAS results at the time of publication.
  • The Power of the Search Space: Strikingly, Random Search achieved results nearly as good as the full evolutionary process (within 0.1%–0.3% accuracy). Random search over 200 architectures took only 1 hour on 200 GPUs, yet produced a model with 4.02% error on CIFAR-10. This suggests that a well-designed, hierarchical search space is arguably more critical than the specific optimization algorithm used to traverse it.

By searching for a modular "cell" rather than an entire network from scratch, search times were reduced from weeks to mere days—or even hours, in the case of random search.

Limitations and Future Work

While highly efficient, the approach does have limitations. The "backbone" or macro-structure (how many cells are stacked and where spatial reduction strides occur) is still manually defined; future work could involve evolving this macro-structure alongside the micro-structure. Additionally, the bottom-level primitives are still human-selected, meaning the search is inherently limited by the quality of these initial building blocks. Finally, because the search is performed on "small" models to save time, there remains an underlying assumption that a cell performing well in a small model will scale optimally to a large model, which may not always hold true.

Summary updated

BibTeX
@inproceedings{liu2018hierarchical,
  author = {Hanxiao Liu and Karen Simonyan and Oriol Vinyals and Chrisantha Fernando and Koray Kavukcuoglu},
  title = {{Hierarchical Representations for Efficient Architecture Search}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=BJQRKzbA-},
}
Figure