Regularized Evolution for Image Classifier Architecture Search.

Esteban Real, Alok Aggarwal, Yanping Huang, Quoc V. Le

Abstract

The effort devoted to hand-crafting neural network image classifiers has motivated the use of architecture search to discover them automatically. Although evolutionary algorithms have been repeatedly applied to neural network topologies, the image classifiers thus discovered have remained inferior to human-crafted ones. Here, we evolve an image classifier—AmoebaNet-A—that surpasses hand-designs for the first time. To do this, we modify the tournament selection evolutionary algorithm by introducing an age property to favor the younger genotypes. Matching size, AmoebaNet-A has comparable accuracy to current state-of-the-art ImageNet models discovered with more complex architecture-search methods. Scaled to larger size, AmoebaNet-A sets a new state-of-the-art 83.9% top-1 / 96.6% top-5 ImageNet accuracy. In a controlled comparison against a well known reinforcement learning algorithm, we give evidence that evolution can obtain results faster with the same hardware, especially at the earlier stages of the search. Evolution is, thus, a simple method to effectively discover high-quality architectures.

Introduction

Historically, the most successful image classifiers, such as ResNet and Inception, were the result of painstaking manual engineering. Neural Architecture Search (NAS) emerged to automate this process, aiming to discover optimal network topologies without human intervention. While Reinforcement Learning (RL) has recently dominated the NAS landscape, this work revisits evolutionary algorithms. The authors demonstrate that a simple modification to standard evolution—incorporating an "aging" mechanism—can produce state-of-the-art architectures more efficiently than RL.

Regularized Evolution: The Aging Mechanism

The core contribution of this work is Regularized Evolution (also known as Aging Evolution). It builds upon the classic tournament selection algorithm but introduces a crucial temporal component. In a standard evolutionary setup, a population of architectures is maintained. In each step, a small random sample is taken from the population, and the best individual is selected as a parent to produce a mutated offspring.

The key innovation lies in how the population is updated to maintain a constant size. Instead of removing the worst-performing individual (as in standard evolution), Regularized Evolution removes the oldest individual. This "death by old age" acts as a form of regularization. It prevents the search from stagnating on "lucky" architectures that achieved high scores due to noise in the training process (e.g., favorable weight initialization). By forcing a constant turnover, the algorithm ensures that only robust traits, which can be repeatedly rediscovered and passed down to younger generations, persist in the population.

Search Space and Mutation

The search is conducted within the NASNet search space, where the goal is to design "cells" (modular blocks) that are stacked to form the final network. The algorithm explores this space through two primary mutation types:

  1. Hidden State Mutation: Changing an input connection for a specific operation within the cell.
  2. Op Mutation: Changing the operation itself, such as replacing a 3x3 average pooling with a 3x3 separable convolution.
Illustration of mutation types: Hidden State Mutation and Op Mutation.

These simple local changes allow the evolutionary process to traverse the complex landscape of possible architectures without the need for a complex controller model.

Experimental Results

The resulting model, AmoebaNet-A, achieved a landmark result by becoming the first evolved architecture to surpass human-designed models on ImageNet. It reached a top-1 accuracy of 83.9% and a top-5 accuracy of 96.6% when scaled to a larger size.

Beyond final accuracy, the study provides a rigorous comparison between Evolution, Reinforcement Learning (RL), and Random Search (RS). The results indicate that evolution is not only competitive but often superior in terms of search efficiency.

Comparison of Evolution (Evol.), RL, and Random Search (RS) in terms of final testing accuracy and model cost (GigaFLOPs).

As shown in the figure above, architectures discovered via evolution (orange squares) tend to achieve higher accuracy at lower computational costs (measured in GigaFLOPs) compared to RL (blue circles) and RS (gray triangles). Furthermore, evolution was found to be particularly effective in the early stages of the search, discovering high-quality models faster than its counterparts with the same hardware resources.

Conclusion

Regularized Evolution proves that simple, well-regularized algorithms can outperform more complex ones in the domain of architecture search. By introducing an aging mechanism, the authors successfully adapted evolutionary strategies to the noisy and high-dimensional task of neural network design. AmoebaNet-A stands as a testament to the power of this approach, setting new benchmarks for automated image classification and demonstrating that evolution is a viable, efficient alternative to reinforcement learning for NAS.

Summary updated

BibTeX
@inproceedings{real2019regularized,
  author = {Esteban Real and Alok Aggarwal and Yanping Huang and Quoc V. Le},
  title = {{Regularized Evolution for Image Classifier Architecture Search.}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=SmVPyWGgdpS},
}
Figure