Skip to main content
QUICK REVIEW

[Paper Review] Sampling-Free Variational Inference of Bayesian Neural Networks by Variance Backpropagation

Manuel Haußmann, Fred A. Hamprecht|arXiv (Cornell University)|May 19, 2018
Gaussian Processes and Bayesian InferenceComputer Science38 references9 citations
TL;DR

This paper introduces a sampling-free variational inference method for Bayesian neural networks using variance backpropagation, enabling analytically tractable evidence lower bound (ELBO) computation via decomposition of ReLU nonlinearities and separate paths for expectation and variance. The approach achieves tighter approximation than Monte Carlo or CLT-based methods, demonstrating competitive or superior performance across regression and classification benchmarks.

ABSTRACT

We propose a new Bayesian Neural Net formulation that affords variational inference for which the evidence lower bound is analytically tractable subject to a tight approximation. We achieve this tractability by (i) decomposing ReLU nonlinearities into the product of an identity and a Heaviside step function, (ii) introducing a separate path that decomposes the neural net expectation from its variance. We demonstrate formally that introducing separate latent binary variables to the activations allows representing the neural network likelihood as a chain of linear operations. Performing variational inference on this construction enables a sampling-free computation of the evidence lower bound which is a more effective approximation than the widely applied Monte Carlo sampling and CLT related techniques. We evaluate the model on a range of regression and classification tasks against BNN inference alternatives, showing competitive or improved performance over the current state-of-the-art.

Motivation & Objective

  • Address the computational inefficiency and approximation error inherent in Monte Carlo-based variational inference for Bayesian neural networks.
  • Develop a formulation that enables analytical computation of the evidence lower bound (ELBO), eliminating the need for stochastic sampling.
  • Improve approximation quality beyond widely used Monte Carlo and central limit theorem (CLT)-based techniques in Bayesian neural network inference.
  • Enable more efficient and accurate Bayesian deep learning through a novel architectural decomposition of ReLU activations and variance paths.

Proposed method

  • Decompose ReLU nonlinearities into the product of an identity function and a Heaviside step function to enable analytical treatment of nonlinearities.
  • Introduce a separate latent path to decouple the computation of network expectation from its variance, enabling variance backpropagation.
  • Represent the neural network likelihood as a chain of linear operations by modeling activations through binary latent variables.
  • Perform variational inference on the decomposed structure to compute the ELBO analytically, avoiding stochastic sampling.
  • Use the analytical ELBO as a tight approximation to the true log-likelihood, improving inference accuracy over sampling-based alternatives.
  • Leverage the structure to enable end-to-end differentiable training without Monte Carlo sampling, enhancing computational efficiency.

Experimental results

Research questions

  • RQ1Can the evidence lower bound (ELBO) in Bayesian neural networks be computed analytically without relying on Monte Carlo sampling?
  • RQ2Does decomposing ReLU nonlinearities into identity and step function components enable tighter and more tractable variational inference?
  • RQ3Can a separate path for variance computation improve the quality of the ELBO approximation compared to standard sampling-based methods?
  • RQ4How does the proposed sampling-free method compare in performance to state-of-the-art Bayesian neural network inference techniques on standard benchmarks?

Key findings

  • The proposed method enables analytical computation of the evidence lower bound (ELBO) in Bayesian neural networks, eliminating the need for stochastic sampling.
  • The decomposition of ReLU into identity and Heaviside components allows the network likelihood to be expressed as a chain of linear operations, enabling tractable inference.
  • The separate path for variance computation leads to a tighter ELBO approximation than Monte Carlo or CLT-based techniques.
  • The method achieves competitive or improved performance over existing state-of-the-art Bayesian neural network inference methods on multiple regression and classification tasks.

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.