Abstract
Automated neural architecture search (NAS) aims to alleviate the burden of manual design in deep learning. This paper discusses CoDeepNEAT, an evolutionary framework that optimizes network topology and hyperparameters simultaneously. By coevolving high-level blueprints and functional modules, CoDeepNEAT discovers architectures that are not only competitive with human-designed models but also exhibit faster convergence and novel structural motifs, such as unique feedback connections in recurrent networks.
Introduction
The performance of deep learning models is intrinsically linked to their architecture. As tasks grow in complexity, designing these networks has become increasingly difficult, involving hundreds of hyperparameters and intricate topological choices like skip connections. CoDeepNEAT addresses this by employing a bilevel optimization strategy: an evolutionary algorithm handles high-level architectural design, while gradient descent optimizes low-level weights.
The CoDeepNEAT Framework
CoDeepNEAT extends the NeuroEvolution of Augmenting Topologies (NEAT) algorithm to the domain of deep learning. Unlike standard NEAT, where nodes represent individual neurons, CoDeepNEAT nodes represent entire layers (e.g., convolutional, fully connected, or recurrent) with associated hyperparameter tables.
The core innovation is the coevolution of two distinct populations:
- Modules: Small sub-graphs representing functional components.
- Blueprints: High-level graphs where each node refers to a specific species of module.
During fitness evaluation, the system assembles a full network from a blueprint and its corresponding modules. This network is trained via gradient descent for a limited number of epochs, and its validation performance serves as the fitness score. The system automatically handles mismatched data dimensions between parents by inserting merge and downsampling layers.
Experimental Evaluation
The framework was tested across several domains to demonstrate its versatility:
- Object Recognition: On CIFAR-10, the evolved network achieved a 7.3% error rate, comparable to state-of-the-art Bayesian optimization but with significantly faster convergence.
- Language Modeling: Tested on the Penn Tree Bank (PTB) dataset, the system achieved a test-perplexity score of 78, a 5% improvement over standard baselines.
- Image Captioning: In a real-world case study using MSCOCO and a custom "Iconic Images" dataset, the evolved model outperformed the "Show and Tell" baseline across multiple metrics, including BLEU-4 and CIDEr.
Key Insights: Beyond Human Intuition
One of the most significant findings was the discovery of novel connectivity patterns. In language modeling tasks, CoDeepNEAT evolved a recurrent structure featuring a feedback skip connection between memory cells of different LSTM layers.
This structural innovation led to a 5% improvement over vanilla LSTMs. Furthermore, because the evolutionary process uses partial training (only a few epochs), it naturally selects for "fast learners"—architectures that converge rapidly. For instance, the best-evolved CIFAR-10 network reached 20% test error in nearly a third of the time required by human-designed equivalents.
Conclusion
CoDeepNEAT demonstrates that evolutionary algorithms can effectively navigate the vast search space of deep neural architectures. While computationally intensive—the image captioning experiment alone utilized roughly 100 GPUs—the method discovers efficient, high-performing structures that challenge human design conventions. As computational power continues to scale, such automated frameworks are poised to become essential tools in the deep learning pipeline.
Summary updated