Sampled Training and Node Inheritance for Fast Evolutionary Neural Architecture Search

Haoyu Zhang, Yaochu Jin, Ran Cheng, Kuangrong HaoarXiv 2020

Introduction

Designing deep neural networks has traditionally been a manual, labor-intensive process. Neural Architecture Search (NAS) aims to automate this design, with Evolutionary Algorithms (EAs) proving particularly effective at exploring complex search spaces. However, Evolutionary NAS (ENAS) typically suffers from an "efficiency crisis." Evaluating thousands of candidate architectures over hundreds of generations often requires training each from scratch, leading to computational costs that can exceed hundreds of GPU days.

To address this bottleneck, the authors propose SI-ENAS, a framework that significantly accelerates the search process. By combining sampled training and node inheritance, SI-ENAS reduces the search time to less than two days while maintaining state-of-the-art performance.

The SI-ENAS Framework

The core innovation of SI-ENAS lies in two primary mechanisms designed to bypass the need for full training cycles for every individual in the population.

1. Sampled Training

Instead of training every individual network for several epochs, SI-ENAS employs a stochastic approach. For each mini-batch of training data, the algorithm randomly selects a single parent network from the population to receive an update. Over time, the entire population accumulates training updates collectively. This distributed weight repository ensures that the population as a whole learns the task without the redundant overhead of individual training.

2. Node Inheritance

In standard EAs, offspring are typically initialized with random weights. SI-ENAS introduces Node Inheritance, where child networks inherit the trained weights of their parent nodes. This allows for immediate fitness evaluation (accuracy) after a "birth," serving as a reliable proxy for the architecture's ultimate potential. This mechanism enables the EA to focus its search energy on the most promising lineages by discarding poor architectures instantly.

The SI-ENAS evolutionary workflow, highlighting the mapping of genotypes to neural networks and the fitness evaluation cycle.

Search Space and Encoding

The search space is structured as a Directed Acyclic Graph (DAG) where the EA evolves the internal logic of "Normal" and "Reduction" blocks. The authors expanded this space by introducing a novel Multi-scale Feature Reconstruction (FR) operation, which incorporates an efficient channel attention mechanism similar to ECA-Net. This addition helps evolved networks adaptively focus on important features across different spatial scales.

Architectures are represented using a dual-string encoding: a Node string to define connections and an Operation string to define the specific functions (e.g., depthwise convolutions, pooling) applied at each node.

Detailed view of the block structure and the corresponding node and operation string encodings used in the search process.

Key Results

The researchers evaluated SI-ENAS on standard benchmarks, including CIFAR-10, CIFAR-100, and SVHN, demonstrating both extreme efficiency and high accuracy:

  • Efficiency: SI-ENAS completed its search in just 1.8 GPU days on a single NVIDIA RTX 2080Ti. This is orders of magnitude faster than early evolutionary methods like CNN-GA (35 days on 3 GPUs) or the original NAS (over 22,000 GPU days).
  • Accuracy: The framework achieved 95.93% accuracy on CIFAR-10 and 81.36% on CIFAR-100. The inclusion of the FR (attention) operation was critical, boosting CIFAR-10 performance from 93.72% to 95.93%.
  • Transferability: Architectures discovered on CIFAR-10 proved robust when transferred to the SVHN dataset, achieving 98.31% accuracy.

Conclusion

SI-ENAS demonstrates that evolutionary NAS can be made accessible without massive computational resources. By treating the population as a distributed weight repository and utilizing inheritance as a fitness proxy, the framework achieves competitive results in a fraction of the time required by previous methods. Future work may extend this approach to larger datasets like ImageNet and multi-objective optimization for model robustness and explainability.

Summary updated

BibTeX
@misc{zhang2020sampled,
  author = {Haoyu Zhang and Yaochu Jin and Ran Cheng and Kuangrong Hao},
  title = {{Sampled Training and Node Inheritance for Fast Evolutionary Neural Architecture Search}},
  year = {2020},
  eprint = {2003.11613},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.11613},
}
Figure