Designing Neural Network Architectures using Reinforcement Learning
Bowen BakerOtkrist GuptaNikhil NaikRamesh Raskar
Proposes MetaQNN, a reinforcement learning approach that uses Q-learning to automatically design high-performing convolutional neural network architectures without requiring manual human tuning.
Designing high-performing convolutional neural networks currently demands extensive human labor and specialized technical intuition. As neural network applications expand across diverse industries, manual architecture design creates a severe development bottleneck. The article evaluates an automated meta-modeling framework called MetaQNN, which employs reinforcement learning to design competitive vision architectures from scratch without human intervention.
The authors model neural network creation as a sequential decision process where an autonomous software agent selects network layers one by one. The agent explores a finite design space of standard network building blocks—such as convolution, pooling, and fully connected layers—using a standard reinforcement learning technique known as Q-learning paired with an exploration-to-exploitation schedule and memory replay. The algorithm was evaluated across benchmark image classification datasets, including CIFAR-10, SVHN, and MNIST, running on a compute setup of 10 graphics processing units over 8 to 10 days per dataset.
The findings show that MetaQNN successfully learns to discover increasingly accurate network architectures. As the agent shifts from random exploration to informed selection, average model accuracy improves significantly, rising from 52.25% to 88.02% during exploration on the SVHN dataset. Networks designed by the agent achieved test error rates of 6.92% on CIFAR-10, 2.06% on SVHN, and 0.28% on MNIST using an ensemble approach, outperforming all existing human-designed architectures built with the same basic layer types. MetaQNN also substantially surpassed prior automated design methods, reducing error on CIFAR-10 from 21.2% to 6.92%, while remaining competitive against complex human-engineered networks that rely on specialized layers. Furthermore, top models transferred successfully to new classification tasks when trained from scratch or fine-tuned.
These results demonstrate that reinforcement learning can effectively eliminate manual trial-and-error in network design while producing performant, custom models. This capability significantly lowers engineering overhead and mitigates the risk of deploying suboptimal architectures. Additionally, the approach provides diverse, high-performing candidate networks suitable for ensembling or deployment across different resource constraints.
Organizations developing computer vision systems should consider automating network architecture search rather than relying solely on manual design. Future development should integrate hyperparameter tuning into the search process and incorporate multi-objective reward functions to optimize for inference speed and model size alongside accuracy.
Confidence in these findings is supported by consistent convergence across ten independent test runs. However, key limitations include the computational expense—requiring 80 to 100 GPU-days per full experiment—and the use of constrained, discretized layer definitions to keep exploration tractable. Stakeholders should account for these computational requirements before implementing similar automated search pipelines at scale.
- Paper: Playing Atari with Deep Reinforcement Learning, Volodymyr Mnih et al. (2013). This foundational work demonstrates training deep neural networks with Q-learning, experience replay, and epsilon-greedy exploration, providing the direct reinforcement learning mechanics used by MetaQNN.
- Paper: Network In Network, Min Lin et al. (2014). It introduced global average pooling and micro-network concepts to standard CNN design, establishing core architectural baselines that MetaQNN incorporates into its layer selection search space.
- Paper: Going Deeper with Convolutions, Christian Szegedy et al. (2015). It provides crucial context on manual multi-scale convolutional design and efficient layer topologies against which automated meta-modeling approaches compete.
- Paper: Visualizing and Understanding Convolutional Networks, Matthew D. Zeiler et al. (2014). It establishes empirical insights into how convolutional layers build hierarchical visual representations, motivating automated exploration of CNN layer depth and configurations.
- Paper: Recent advances in convolutional neural networks, Jiuxiang Gu et al. (2015). This survey outlines the standard building blocks of convolutional architectures (convolution, pooling, and fully-connected layers) that define MetaQNN's search space.
- Paper: Neural Architecture Search with Reinforcement Learning, Barret Zoph et al. (2016). This milestone paper generalizes reinforcement learning-based architecture design using an RNN controller with policy gradients to discover flexible convolutional and recurrent structures.
- Paper: Learning Transferable Architectures for Scalable Image Recognition, Barret Zoph et al. (2018). It extends RL-based neural architecture search by searching for transferable convolutional cells on small proxy datasets rather than searching full sequential architectures directly.
- Paper: Progressive Neural Architecture Search, Chenxi Liu et al. (2017). It builds upon reinforcement learning search paradigms by using progressive search and surrogate performance predictors to drastically cut the computational cost of neural architecture search.
- Paper: MnasNet: Platform-Aware Neural Architecture Search for Mobile, Mingxing Tan et al. (2018). It extends RL-driven automated network design by incorporating multi-objective rewards that balance classification accuracy with on-device hardware latency.
- Paper: ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware, Han Cai et al. (2018). It advances the neural architecture search literature by eliminating proxy tasks and directly optimizing architectures on target hardware with binarized super-networks.
- Paper: NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection, Golnaz Ghiasi et al. (2019). It applies reinforcement learning-based architecture search to find scalable feature pyramid architectures for object detection tasks.
- Paper: EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks, Mingxing Tan et al. (2019). It utilizes neural architecture search to produce baseline models and introduces principled compound scaling across network depth, width, and resolution.
- Paper: Designing Network Design Spaces, Ilija Radosavovic et al. (2020). It shifts from searching for individual opaque architectures via algorithms like RL to systematically designing statistical model populations and network design spaces.
- Paper: Regularized Evolution for Image Classifier Architecture Search, Esteban Real et al. (2019). It directly benchmarks regularized evolutionary search strategies against reinforcement learning controllers in standard image classifier architecture search spaces.
- Paper: Large-Scale Evolution of Image Classifiers, Esteban Real et al. (2017). It investigates large-scale evolutionary algorithms as an alternative paradigm to reinforcement learning for the automated discovery of image classifier architectures.
