Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Optimization of Neural Network Structures Using Probabilistic Modeling

Shinichi Shirakawa, Yasushi Iwata|arXiv (Cornell University)|Jan 23, 2018
Advanced Neural Network ApplicationsComputer Science24 references11 citations
TL;DR

This paper proposes a probabilistic framework for dynamic, differentiable optimization of neural network structures by modeling architecture components (e.g., connections, activation types, layers) as random variables via parametric distributions—specifically Bernoulli distributions—enabling joint learning of weights and structure parameters through gradient-based optimization. The method achieves competitive performance with reduced parameter counts, such as 10% weight reduction in DenseNet without accuracy loss on CIFAR-100.

ABSTRACT

Deep neural networks (DNNs) are powerful machine learning models and have succeeded in various artificial intelligence tasks. Although various architectures and modules for the DNNs have been proposed, selecting and designing the appropriate network structure for a target problem is a challenging task. In this paper, we propose a method to simultaneously optimize the network structure and weight parameters during neural network training. We consider a probability distribution that generates network structures, and optimize the parameters of the distribution instead of directly optimizing the network structure. The proposed method can apply to the various network structure optimization problems under the same framework. We apply the proposed method to several structure optimization problems such as selection of layers, selection of unit types, and selection of connections using the MNIST, CIFAR-10, and CIFAR-100 datasets. The experimental results show that the proposed method can find the appropriate and competitive network structures.

Motivation & Objective

  • To address the challenge of selecting optimal deep neural network (DNN) architectures, including layer depth, unit types, and connectivity, which are typically manual and time-consuming tasks.
  • To overcome the inefficiency of static hyper-parameter optimization (e.g., Bayesian optimization) that requires repeated training across multiple configurations.
  • To develop a dynamic optimization method that simultaneously learns network weights and structural components within a single training loop, improving computational efficiency.
  • To enhance flexibility beyond existing differentiable architecture search methods that require differentiable structure parameters, by using probabilistic modeling of non-differentiable structural choices.
  • To demonstrate the method’s effectiveness across diverse structural optimization tasks, including connection pruning, activation function selection, and layer skip optimization.

Proposed method

  • The method models network structure parameters (e.g., connections, activation functions) as random variables using a parametric probability distribution, specifically Bernoulli distributions, to represent binary decisions like connection existence or unit dropout.
  • The objective function is defined as the expected loss over the distribution of network structures, enabling gradient-based optimization of both the network weights and the distribution parameters.
  • The distribution parameters (e.g., Bernoulli probabilities) are optimized using stochastic gradient descent, allowing end-to-end training where both weights and structural probabilities are updated simultaneously.
  • The framework supports joint optimization of multiple structural components—such as connections, activation functions, and layer skips—within a unified probabilistic formulation.
  • The method uses reparameterization techniques to backpropagate gradients through the stochastic structure parameters, enabling differentiable training even when the underlying structure is non-differentiable.
  • The approach is general and extensible: while the paper focuses on Bernoulli distributions, it can be adapted to other exponential family distributions (e.g., categorical) for more complex structural choices.

Experimental results

Research questions

  • RQ1Can a unified probabilistic framework dynamically optimize multiple types of neural network structural components—such as connections, activation functions, and layer skips—simultaneously during training?
  • RQ2How does the performance of the proposed method compare to static optimization methods (e.g., Bayesian optimization) in terms of accuracy and training efficiency?
  • RQ3To what extent can the method reduce model complexity (e.g., number of parameters) through automatic pruning of connections or units without sacrificing accuracy?
  • RQ4Can the method discover non-standard, yet effective, network architectures that are not easily designed by human experts?
  • RQ5How does the method generalize across different datasets and network types, such as DenseNets, when optimizing structural hyper-parameters?

Key findings

  • The proposed method achieved competitive test error rates on CIFAR-10 and CIFAR-100 datasets, with results comparable to standard DenseNet and state-of-the-art static architecture search methods.
  • On CIFAR-100, the method reduced the number of connections by approximately 70 while maintaining performance, leading to a 10% reduction in total weight parameters.
  • The learned Bernoulli parameters for connections were predominantly close to 0.0 or 1.0, indicating effective pruning of redundant connections with high probability.
  • The method demonstrated computational efficiency, outperforming static optimization techniques like Bayesian optimization in training time, despite potentially lower final accuracy.
  • The framework successfully optimized multiple structural components simultaneously, including layer skips, activation function mix rates, and connections, showing flexibility and generalization across tasks.
  • The stochastic prediction (using sampled structures) slightly outperformed deterministic inference (using expected structure), though the difference was not significant, indicating robustness of the expected structure.

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.