VINNAS: Variational Inference-based Neural Network Architecture Search

Martin Ferianc, Hongxiang Fan, Miguel RodriguesarXiv 2020

Introduction

Designing high-performance neural networks is traditionally an expert-intensive manual process. Neural Architecture Search (NAS) aims to automate this, yet many existing gradient-based methods, such as DARTS, suffer from stability issues like "mode collapse." This occurs when the search algorithm converges prematurely to simple operations (e.g., skip-connections) or poor local minima. Furthermore, standard NAS often prioritizes accuracy at the cost of model size, leading to "bloated" architectures.

VINNAS (Variational Inference-based Neural Network Architecture Search) addresses these challenges by applying Bayesian principles to the search process. By treating architecture selection as a variational dropout problem, it discovers highly efficient, sparse models that achieve state-of-the-art accuracy with significantly fewer parameters.

Methodology: A Bayesian Approach to NAS

The core of VINNAS lies in moving away from fixed architecture parameters to treating them as random variables. This is achieved through several key innovations:

  1. Variational Inference (VI): VINNAS models the uncertainty of both network weights and the architecture itself within a "supergraph" containing all possible operations.
  2. Automatic Relevance Determination (ARD): The algorithm applies variational dropout to candidate operations. Using ARD priors, the relevance of non-contributing operations is pushed toward zero, effectively pruning them from the final graph.
  3. Evidence Lower Bound (ELBO): The search objective is a modified ELBO that balances a data-fitting term (accuracy) with KL Divergence terms (penalizing complexity) and an entropy term (encouraging selection certainty).
Probabilistic graphical model of VINNAS illustrating the relationships between data, weights, and architecture parameters.
  1. Signal-to-Noise Ratio (SNR): Final operation selection is based on the SNR ($\mu/\sigma$) of learned distributions, ensuring robustness against noise compared to simple weight-strength metrics.

Experimental Results

The researchers evaluated VINNAS on standard image classification benchmarks, including MNIST, FashionMNIST, and CIFAR-10.

Performance on CIFAR-10

VINNAS demonstrates exceptional efficiency on the CIFAR-10 benchmark. It achieved 96.06% accuracy using only 1.77 million parameters. In contrast, many competing gradient-based methods require between 3.3 and 3.4 million parameters to reach comparable performance levels. This represents a roughly 2x reduction in parameters while maintaining state-of-the-art accuracy.

Discovered normal (top) and reduction (bottom) cells for CIFAR-10, showing the sparse connectivity achieved by VINNAS.

Search Efficiency

The search cost for CIFAR-10 was approximately 0.81 GPU days, making it highly competitive with other efficient NAS methods and significantly faster than reinforcement learning or evolutionary approaches.

Key Insights

  • Inherent Sparsity: Unlike post-hoc pruning methods, VINNAS integrates sparsity directly into the search process, finding the leanest effective architecture from the start.
  • Mitigating Mode Collapse: By injecting Gaussian noise through the Local Reparameterization Trick (LRT), the algorithm prevents early-stage bias toward simpler operations like skip-connections.
  • Uncertainty-Aware Selection: Modeling the variance of architecture parameters allows the system to distinguish between genuinely useful operations and those selected by chance.

Limitations and Future Work

While the final models are highly efficient, the search phase itself is slightly more computationally intensive than basic gradient methods due to the dual forward passes required by the LRT. Future research directions include exploring hierarchical Bayesian models for more diverse structures and automating the determination of loss function scaling factors to further reduce human tuning requirements.

Summary updated

BibTeX
@misc{ferianc2020vinnas,
  author = {Martin Ferianc and Hongxiang Fan and Miguel Rodrigues},
  title = {{VINNAS: Variational Inference-based Neural Network Architecture Search}},
  year = {2020},
  eprint = {2007.06103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.06103},
}
Figure