Asynchronous Evolution of Convolutional Networks
Introduction
Designing high-performance Convolutional Neural Network (CNN) architectures is a complex task often characterized by manual trial-and-error, colloquially known as "grad student descent." While Evolutionary Algorithms (EAs) offer a path toward automation, traditional synchronous EAs suffer from significant computational bottlenecks. In a synchronous model, the entire population must finish evaluation before the next generation begins, meaning a single slow-to-train "straggler" can leave expensive hardware idling.
This research introduces an asynchronous evolution approach. By decoupling the generation of new candidates from the completion of an entire generation, the system maximizes hardware utilization and accelerates the discovery of optimized architectures for image classification.
Methodology
The proposed system employs a hybrid strategy where Evolutionary Algorithms manage the macro-architectural design while Gradient Descent (RMSProp) optimizes the weights.
Architectural Encoding and Search
The genetic representation is tailored for the Keras Sequential model. Each individual network is divided into two functional blocks: a preprocessing part (comprising convolutional and max-pooling layers) and a classifier part (comprising dense layers).
Genetic operators such as crossover and various mutations (addLayer, delLayer, mutateLayer) allow the algorithm to explore the search space by modifying layer counts, filter sizes, and activation functions.
Asynchronous Master-Slave Model
The core innovation is the asynchronous execution framework. A central "master" node maintains the population, while multiple "slave" nodes (processors) handle the training and evaluation of individual networks.
Unlike synchronous models, the master generates a new candidate as soon as any slave becomes free. This eliminates the "straggler" problem and ensures continuous GPU/CPU utilization. Fitness is determined by cross-validation error, keeping the search focused on architectural performance.
Experimental Evaluation
The algorithm was tested on two benchmarks: MNIST (handwritten digits) and Fashion-MNIST (clothing items).
Key Results
- Performance Gains: On MNIST, the evolved model achieved 99.25% accuracy, outperforming a human-designed baseline (98.97%) while using ~28% fewer parameters. On Fashion-MNIST, it reached 92.32% accuracy (vs. 91.64% baseline).
- Efficiency and Throughput: The asynchronous approach demonstrated a 40% increase in throughput, completing 140 evaluations in the same timeframe that a synchronous version completed only 100.
- Natural Efficiency Bias: An emergent property of asynchronous evolution is a bias toward smaller networks. Because compact models train faster, they return to the population more frequently, allowing the algorithm to iterate on efficient designs more rapidly.
Conclusion and Future Directions
Asynchronous evolution effectively mitigates the computational overhead of automated architecture search. While the process remains resource-intensive, it successfully discovers human-competitive designs. Future work will explore multi-objective optimization to explicitly penalize model "bloat" and the use of surrogate models to further accelerate the evaluation phase.
Summary updated