Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Learning of Neural Network Architectures

Georgi Dikov, Patrick van der Smagt|arXiv (Cornell University)|Jan 14, 2019
Machine Learning and AlgorithmsComputer Science20 references11 citations
TL;DR

This paper proposes a Bayesian neural network framework that treats layer size and network depth as learnable random variables using concrete distributions and variational inference, enabling end-to-end differentiable architecture search with minimal computational overhead. The method improves generalization on small datasets and enhances robustness to initialization, outperforming fixed architectures by up to 4% on CIFAR-10 with limited data.

ABSTRACT

In this paper we propose a Bayesian method for estimating architectural parameters of neural networks, namely layer size and network depth. We do this by learning concrete distributions over these parameters. Our results show that regular networks with a learnt structure can generalise better on small datasets, while fully stochastic networks can be more robust to parameter initialisation. The proposed method relies on standard neural variational learning and, unlike randomised architecture search, does not require a retraining of the model, thus keeping the computational overhead at minimum.

Motivation & Objective

  • To address the inefficiency of traditional hyperparameter search for neural network architecture, which requires repeated retraining.
  • To enable end-to-end learning of architectural hyperparameters like layer size and depth as random variables within a Bayesian framework.
  • To reduce computational cost compared to random search or reinforcement learning-based NAS by avoiding retraining after each architecture change.
  • To improve model generalization and robustness through structured architectural priors and posterior inference.
  • To provide interpretability of architectural decisions via posterior distributions over layer size and depth.

Proposed method

  • The method models layer size and network depth as random variables with parameterized concrete (Gumbel-Softmax) distributions to enable differentiable sampling.
  • It employs variational inference to approximate the posterior distribution over architectural parameters, using a factorized variational posterior for efficiency.
  • The architecture parameters are optimized via backpropagation using a continuous relaxation of the discrete categorical distribution, enabling gradient-based learning.
  • The framework integrates with standard Bayesian neural networks, maintaining weight uncertainty via Gaussian variational posteriors.
  • Priors are imposed on architectural parameters to encode expert knowledge, such as preferring smaller filter counts or deeper networks.
  • The approach allows sampling from a continuum of architectures during training and inference, enabling ensemble-based regularization.

Experimental results

Research questions

  • RQ1Can architectural hyperparameters like layer size and depth be effectively learned within a Bayesian framework using differentiable inference?
  • RQ2How does end-to-end learning of architecture parameters affect generalization performance on small datasets compared to fixed architectures?
  • RQ3To what extent does the proposed method improve robustness to weight initialization compared to standard neural networks?
  • RQ4Can the posterior distribution over architectural parameters reveal architectural misspecification or optimal configurations?
  • RQ5How does the method compare in efficiency and performance to random search or reinforcement learning-based NAS?

Key findings

  • On the CIFAR-10 dataset with only 1,000 training samples, the adaptive architecture method improved test accuracy by 3.97 percentage points (from 34.98% to 38.95%) compared to a rigid network.
  • The adaptive size network achieved 95.67% accuracy on the reduced MNIST set, outperforming the rigid baseline by 1.20 percentage points.
  • The adaptive depth model improved test accuracy on Fashion-MNIST from 80.32% to 80.83% on the reduced data, demonstrating robustness to initialization and data scarcity.
  • The posterior distributions over layer size and depth provided interpretable insights into architectural capacity, revealing underfitting or overfitting tendencies.
  • The method achieved significant performance gains without retraining, maintaining low computational overhead due to differentiable architecture search.
  • Ensembling predictions from sampled architectures acted as an effective regularizer, reducing overfitting and improving generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.