Introduction
The design of Convolutional Neural Network (CNN) architectures has traditionally been considered a "black art," requiring significant domain expertise and extensive trial-and-error. While CNNs have revolutionized computer vision, the manual search for optimal layer arrangements remains a major bottleneck. This paper introduces AE-CNN, a genetic algorithm-based approach that automates the evolution of high-performing CNN architectures using pre-defined functional blocks.
The Challenge of Architecture Search
Neural Architecture Search (NAS) aims to automate design, but existing methods often suffer from two primary issues. First, many "semi-automatic" approaches still rely on human-designed base networks. Second, "completely automatic" methods are computationally prohibitive; for instance, early NAS implementations required hundreds of GPUs running for weeks. AE-CNN addresses these by providing a fully automated search that operates efficiently on modest hardware.
Methodology: AE-CNN
The core of the proposed method is an evolutionary search space defined by high-level functional units rather than individual layers.
Building Blocks
AE-CNN utilizes three primary types of units:
- ResNet Block Units (RBU): These utilize residual connections to facilitate gradient flow in deeper networks.
- DenseNet Block Units (DBU): These leverage dense connectivity patterns.
- Pooling Units (PU): These handle spatial downsampling.
Variable-Length Encoding
To allow the algorithm to discover the optimal depth for a given task, the authors implemented a variable-length encoding scheme. Unlike traditional genetic algorithms with fixed-length chromosomes, AE-CNN represents architectures as sequences of units that can grow or shrink through evolutionary operators like crossover and mutation.
Evolutionary Process
The algorithm employs custom operators tailored for block-based structures. The "fitness" of an individual network is determined by its classification accuracy on a validation set after a period of training, guiding the population toward higher performance over successive generations.
Experimental Results
The AE-CNN framework was evaluated on the CIFAR-10 and CIFAR-100 datasets against 18 state-of-the-art competitors.
- Superior Accuracy: On CIFAR-10, AE-CNN achieved a classification error of 4.7%, outperforming hand-crafted models like DenseNet (5.24%) and ResNet (6.43%).
- Massive Speedup: This is the most striking result. AE-CNN identified its optimal CIFAR-10 architecture in just 66 GPU days. This represents a massive reduction compared to the 22,400 GPU days required by original NAS methods and the 2,750 GPU days for large-scale evolution.
- Model Compactness: The resulting models are relatively efficient, with the CIFAR-10 variant containing approximately 10.4 million parameters—roughly half the size of some competitors with similar performance.
Conclusion
AE-CNN demonstrates that high-performing CNN architectures can be evolved automatically without supercomputing resources or deep human expertise. By evolving at the level of functional blocks, the search space becomes more manageable and effective. Future research will focus on further accelerating the fitness evaluation process to make automated architecture search even more accessible to individual researchers.
Summary updated