Skip to main content
QUICK REVIEW

[Paper Review] Dropout as a Bayesian Approximation: Appendix

Yarin Gal, Zoubin Ghahramani|arXiv (Cornell University)|Jun 6, 2015
Gaussian Processes and Bayesian InferenceComputer Science33 references54 citations
TL;DR

This appendix establishes that a deep neural network with dropout applied before every weight layer is mathematically equivalent to a variational Bayesian approximation of a deep Gaussian process, enabling principled uncertainty estimation in deep learning. The key contribution is framing dropout as approximate Bayesian inference, allowing uncertainty quantification via Monte Carlo dropout without architectural changes.

ABSTRACT

We show that a neural network with arbitrary depth and non-linearities, with dropout applied before every weight layer, is mathematically equivalent to an approximation to a well known Bayesian model. This interpretation might offer an explanation to some of dropout's key properties, such as its robustness to over-fitting. Our interpretation allows us to reason about uncertainty in deep learning, and allows the introduction of the Bayesian machinery into existing deep learning frameworks in a principled way. This document is an appendix for the main paper "Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning" by Gal and Ghahramani, 2015.

Motivation & Objective

  • To provide a theoretical foundation for interpreting dropout as a Bayesian approximation in deep neural networks.
  • To explain dropout’s robustness to overfitting through its equivalence to approximate Bayesian inference.
  • To enable uncertainty estimation in deep learning models using Monte Carlo dropout.
  • To generalize dropout by deriving principled extensions based on Bayesian principles.
  • To support the integration of Bayesian uncertainty into existing deep learning frameworks in a practical and scalable way.

Proposed method

  • Derives the equivalence between a deep neural network with dropout and a variational approximation to a deep Gaussian process model.
  • Uses variational inference to show that dropout minimizes the Kullback–Leibler divergence between an approximate posterior and the true posterior of a deep Gaussian process.
  • Applies Monte Carlo sampling over dropout masks to estimate predictive uncertainty, treating the ensemble of forward passes as a Bayesian approximation.
  • Shows that applying dropout before every weight layer—rather than only at the end—enables full Bayesian treatment of all parameters.
  • Proposes generalizations such as non-diminishing weight variance and mixture-of-Gaussians priors to improve uncertainty estimation.
  • Establishes that the method is applicable to arbitrary network architectures, including convolutional and recurrent networks, via principled Bayesian interpretation.

Experimental results

Research questions

  • RQ1How can dropout in deep neural networks be formally interpreted as a Bayesian approximation?
  • RQ2Why does dropout effectively prevent overfitting, and can this be explained through Bayesian principles?
  • RQ3Can Monte Carlo dropout be used to estimate model uncertainty in a way that is both practical and theoretically grounded?
  • RQ4What are the implications of applying dropout before every weight layer, rather than only at the end of the network?
  • RQ5How can dropout be generalized to improve uncertainty estimation beyond standard implementations?

Key findings

  • Dropout applied before every weight layer in a deep neural network is mathematically equivalent to variational inference in a Bayesian neural network, approximating a deep Gaussian process.
  • The method provides a principled way to estimate predictive uncertainty through Monte Carlo dropout, enabling confidence estimation in predictions.
  • Applying dropout before all layers avoids parameter overfitting and supports full Bayesian treatment of all network weights.
  • Empirical results show that MC dropout with dropout before every layer outperforms standard dropout in practice, especially in complex architectures.
  • The framework allows for principled extensions, such as using non-diminishing variance or mixture priors, to improve uncertainty quantification.
  • The interpretation explains dropout’s success in reducing overfitting by integrating over model parameters, akin to Bayesian marginalization.

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.