Skip to main content
QUICK REVIEW

[Paper Review] Structured Bayesian Pruning via Log-Normal Multiplicative Noise

Kirill Neklyudov, Dmitry Molchanov|arXiv (Cornell University)|May 20, 2017
Bayesian Methods and Mixture ModelsComputer Science68 citations
TL;DR

Introduces Structured Bayesian Pruning (SBP), a dropout-like Bayesian layer that induces structured sparsity by applying log-normal multiplicative noise to layer outputs and pruning based on SNR, enabling acceleration of CNNs and FC nets without significant accuracy loss.

ABSTRACT

Dropout-based regularization methods can be regarded as injecting random noise with pre-defined magnitude to different parts of the neural network during training. It was recently shown that Bayesian dropout procedure not only improves generalization but also leads to extremely sparse neural architectures by automatically setting the individual noise magnitude per weight. However, this sparsity can hardly be used for acceleration since it is unstructured. In the paper, we propose a new Bayesian model that takes into account the computational structure of neural networks and provides structured sparsity, e.g. removes neurons and/or convolutional channels in CNNs. To do this we inject noise to the neurons outputs while keeping the weights unregularized. We establish the probabilistic model with a proper truncated log-uniform prior over the noise and truncated log-normal variational approximation that ensures that the KL-term in the evidence lower bound is computed in closed-form. The model leads to structured sparsity by removing elements with a low SNR from the computation graph and provides significant acceleration on a number of deep neural architectures. The model is easy to implement as it can be formulated as a separate dropout-like layer.

Motivation & Objective

  • Develop a Bayesian regularization framework that yields structured sparsity in neural networks.
  • Enable removal of entire neurons or convolutional channels to accelerate inference.
  • Provide a tractable variational inference approach with a proper prior over multiplicative noise.
  • Demonstrate practical acceleration on LeNet and VGG-like architectures with MNIST and CIFAR-10.

Proposed method

  • Introduce a dropout-like SBP layer that multiplies neuron outputs by a noise variable theta.
  • Place a sparsity-inducing log-uniform prior over theta and approximate its posterior with a truncated log-normal distribution.
  • Derive a closed-form KL divergence between q(theta|mu, sigma) and p(theta) using truncation to ensure a proper probabilistic model.
  • Use stochastic variational inference with reparameterization to train(mu, sigma) and network weights.
  • Compute the testing-time expectation E[theta] to perform a single forward pass without Bayesian ensembling.
  • Prune by thresholding based on the signal-to-noise ratio (SNR) of theta to remove low-SNR groups (neurons/filters).
  • Extend SBP to induce structured sparsity over multi-dimensional tensors (e.g., channels in CNNs) by sharing theta across groups.

Experimental results

Research questions

  • RQ1How can Bayesian dropout be adapted to produce structured sparsity patterns in neural networks?
  • RQ2Can a tractable variational objective be derived when using an improper log-uniform prior, and how does truncation affect training?
  • RQ3Does SBP achieve practical acceleration by removing entire neurons or channels with minimal accuracy loss on standard architectures and datasets?
  • RQ4How does training both mean and variance of the multiplicative noise influence sparsity and performance compared to fixing the mean?

Key findings

  • SBP achieves high group sparsity, enabling acceleration of CNNs and fully connected nets with negligible accuracy degradation.
  • Training both mu and sigma for the log-normal noise yields tighter variational bounds and higher sparsity than fixing the mean.
  • Pruning based on low-SNR theta components effectively removes entire neurons/filters, often with no accuracy loss.
  • Applying SBP to LeNet and VGG-like networks on MNIST and CIFAR-10 demonstrates practical speedups across CPU, GPU, and FLOPs, with competitive accuracy.
  • The truncated log-normal–log-uniform prior-posterior pair provides a well-defined, tractable evidence lower bound (ELBO) and avoids issues from improper priors.
  • SBP layers can be inserted as lightweight, dropout-like modules with minimal software modification.

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.