Neural Architecture Search by Estimation of Network Structure Distributions

Anton Muravev, Jenni Raitoharju, Moncef GabboujarXiv 2019 · DOI

TL;DR

The paper introduces ASED (Architecture Search by Estimation of network structure Distributions), a novel Neural Architecture Search (NAS) method that abandons the common restriction of repeating identical "cells." By using a probabilistic matrix to model the entire network macro-structure, ASED successfully discovers highly competitive, irregular, and non-repeating neural network designs with optimized computational efficiency.

What Problem Does This Paper Address?

Designing deep neural networks manually is a tedious process of trial and error. While automated Neural Architecture Search (NAS) has emerged to solve this, most state-of-the-art NAS algorithms (like DARTS or ENAS) cheat to save on compute: they restrict the search space to finding a single small "cell" or "block" and then repeat it uniformly to build the full network.

While computationally efficient, this cell-based constraint severely limits the expressivity of the search. It prevents the discovery of irregular, non-repetitive structural patterns that might actually perform better or run faster. The authors tackle this limitation by proposing a global, probabilistic approach to search the entire network structure simultaneously without forcing any block-like regularity.

Methods

The authors introduce ASED, which treats the choice of layers in a feedforward network as a set of independent discrete probability distributions.

  1. The Network Prototype: The search space is represented as a matrix $P$, where each row corresponds to a layer in the network, and columns represent the probabilities of selecting a specific operation from a "layer library" (e.g., $3\times3$ conv, $5\times5$ conv, max pooling, or an identity mapping).
  2. Estimation of Distribution Algorithm (EDA): Instead of maintaining a population of individual networks (like genetic algorithms), ASED optimizes the probability matrix itself. It samples $K$ candidate networks from the matrix, trains them briefly, ranks them using the multi-class Matthews correlation coefficient, and uses the top-performing candidates to update the matrix probabilities.
  3. Dynamic Depth Growth: To keep early computation low, the algorithm starts with a shallow prototype matrix (e.g., 2 or 5 layers) and dynamically appends new uniformly initialized rows as the search progresses.
  4. Convergence Control: To prevent the probabilities from prematurely locking into suboptimal local minima, the authors introduce probability capping and prototype inversion (swapping high and low probabilities to force exploration of discarded regions).
  5. Fixed Shortcut Patterns: To help train deeper candidate networks efficiently, they integrate fixed non-linear connectivity rules, such as residual and semi-dense shortcut patterns.
Illustrated shortcut patterns: a) both, D = 1; b) residual, D = 2; c) semi-dense, D = 2; d) semi-dense, D = 3.

Datasets

The algorithm was evaluated on two image classification benchmarks:

  • USPS: A handwritten digit dataset containing $16\times16$ grayscale images across 10 classes.
  • CIFAR-100: A standard, more challenging NAS benchmark consisting of $32\times32$ RGB images across 100 classes.

Key Insights and Ideas

  • Irregularity by Design: The networks discovered by ASED lack pronounced block-like repeating patterns. Interestingly, the algorithm naturally favored a trend where the convolution kernel size increased with network depth (e.g., starting with $3\times3$ and moving to $7\times7$ or dilated convolutions in later layers)—a stark contrast to human-designed networks like VGG or ResNet which typically keep kernel sizes constant or decrease them.
  • The Low-Complexity Bias: Because candidate networks are only trained briefly (20 epochs) during the search phase to save time, the algorithm inherently favors architectures that learn rapidly in early epochs. While this can distort final rankings, it can be leveraged as an advantage if the goal is specifically to find the simplest, fastest-to-train models.
  • Aggressive Exploration Works: Drastically perturbing the probability matrix via prototype inversion caused temporary drops in validation accuracy during the search but ultimately led to discovering superior, more compact final models.

Key Results

  • USASE Dataset: ASED discovered highly compact, 10-layer irregular architectures that achieved a competitive test error rate of 2.25%. This matched the performance of heavily customized, handcrafted ResNet variants while using significantly fewer layers and parameters.
  • CIFAR-100 Dataset: The best-discovered ASED variant (utilizing full prototype inversion) achieved a test accuracy of 77.3% with 16.9M parameters. This performance is highly competitive with other non-cell-based macro-search algorithms (like Large Scale Evolution), while requiring a fraction of the search cost (20 GPU days compared to $\ge 2600$ GPU days).

Limitations and Future Work

  • Scalability and Depth: As the prototype matrix grows deeper, training candidates from scratch becomes computationally expensive. Currently, ASED struggles to scale to the massive depths (hundreds of layers) achieved by cell-based methods.
  • Ranking Distortion: The "brief training" regime introduces noise, meaning a model that performs well at epoch 20 might not be the absolute best at epoch 200.
  • Future Directions: The authors suggest incorporating performance-prediction networks (surrogate models) to evaluate candidates without training them from scratch. They also plan to drop the layer-independence assumption by exploring multivariate distribution models to capture complex inter-layer interactions.

Summary updated

Abstract

The influence of deep learning is continuously expanding across different domains, and its new applications are ubiquitous. The question of neural network design thus increases in importance, as traditional empirical approaches are reaching their limits. Manual design of network architectures from scratch relies heavily on trial and error, while using existing pretrained models can introduce redundancies or vulnerabilities. Automated neural architecture design is able to overcome these problems, but the most successful algorithms operate on significantly constrained design spaces, assuming the target network to consist of identical repeating blocks. While such approach allows for faster search, it does so at the cost of expressivity. We instead propose an alternative probabilistic representation of a whole neural network structure under the assumption of independence between layer types. Our matrix of probabilities is equivalent to the population of models, but allows for discovery of structural irregularities, while being simple to interpret and analyze. We construct an architecture search algorithm, inspired by the estimation of distribution algorithms, to take advantage of this representation. The probability matrix is tuned towards generating high-performance models by repeatedly sampling the architectures and evaluating the corresponding networks, while gradually increasing the model depth. Our algorithm is shown to discover non-regular models which cannot be expressed via blocks, but are competitive both in accuracy and computational cost, while not utilizing complex dataflows or advanced training techniques, as well as remaining conceptually simple and highly extensible.
BibTeX
@misc{muravev2019neural,
  author = {Anton Muravev and Jenni Raitoharju and Moncef Gabbouj},
  title = {{Neural Architecture Search by Estimation of Network Structure Distributions}},
  year = {2019},
  eprint = {1908.06886},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.06886},
}
Figure