Skip to main content
QUICK REVIEW

[Paper Review] Variational Bayesian dropout: pitfalls and fixes

Jiri Hron, Alexander Matthews|arXiv (Cornell University)|Jul 5, 2018
Gaussian Processes and Bayesian InferenceComputer Science3 references23 citations
TL;DR

This paper identifies critical theoretical flaws in variational Bayesian dropout, particularly the use of improper priors and singular variational approximations that invalidate standard Bayesian inference. To resolve these issues, the authors introduce the Quasi-KL (QKL) divergence—a novel variational objective that enables consistent approximation of high-dimensional distributions, even when the true and approximate posteriors have mismatched supports, and demonstrates its equivalence to PCA in a degenerate Gaussian approximation task.

ABSTRACT

Dropout, a stochastic regularisation technique for training of neural networks, has recently been reinterpreted as a specific type of approximate inference algorithm for Bayesian neural networks. The main contribution of the reinterpretation is in providing a theoretical framework useful for analysing and extending the algorithm. We show that the proposed framework suffers from several issues; from undefined or pathological behaviour of the true posterior related to use of improper priors, to an ill-defined variational objective due to singularity of the approximating distribution relative to the true posterior. Our analysis of the improper log uniform prior used in variational Gaussian dropout suggests the pathologies are generally irredeemable, and that the algorithm still works only because the variational formulation annuls some of the pathologies. To address the singularity issue, we proffer Quasi-KL (QKL) divergence, a new approximate inference objective for approximation of high-dimensional distributions. We show that motivations for variational Bernoulli dropout based on discretisation and noise have QKL as a limit. Properties of QKL are studied both theoretically and on a simple practical example which shows that the QKL-optimal approximation of a full rank Gaussian with a degenerate one naturally leads to the Principal Component Analysis solution.

Motivation & Objective

  • To diagnose theoretical inconsistencies in variational Bayesian dropout, particularly those arising from improper priors and singular variational approximations.
  • To explain why the algorithm still performs well empirically despite these theoretical flaws.
  • To develop a new variational inference objective that resolves the singularity issue between true and approximate posteriors.
  • To establish a principled alternative to standard KL divergence in cases where the posterior and approximate posterior have non-overlapping supports.
  • To demonstrate the practical utility of the new objective through theoretical analysis and a concrete example involving Gaussian approximation.

Proposed method

  • Proposes the Quasi-KL (QKL) divergence as a limiting form of variational inference that remains well-defined even when the standard KL divergence is undefined due to singularities.
  • Derives QKL as a generalization of existing approaches, showing that remedies proposed in prior work (e.g., Gal & Ghahramani, 2016) are special cases of QKL.
  • Uses measure-theoretic tools, including the dominated convergence theorem and restriction of measures to subspaces, to prove convergence of discrete approximations to continuous expectations.
  • Applies QKL to the problem of approximating a full-rank Gaussian with a degenerate one, showing that the optimal solution corresponds to Principal Component Analysis (PCA).
  • Derives analytical gradients for the QKL objective in the context of Gaussian approximations, enabling optimization via standard variational inference techniques.
  • Demonstrates that the optimal solution for the QKL objective converges to PCA in the limit, providing a principled link between variational inference and dimensionality reduction.

Experimental results

Research questions

  • RQ1Why does variational Bayesian dropout still yield good empirical results despite the use of improper priors and singular variational approximations?
  • RQ2What are the theoretical limitations of using the standard KL divergence in variational inference when the approximate posterior has a lower-dimensional support than the true posterior?
  • RQ3Can a new variational objective be constructed that remains well-defined and consistent even in the presence of such singularities?
  • RQ4How does the proposed Quasi-KL (QKL) divergence relate to existing inference objectives and what are its theoretical properties?
  • RQ5Does the QKL objective recover known statistical methods, such as PCA, in specific limiting cases?

Key findings

  • The standard variational Bayesian dropout framework is theoretically unsound due to improper priors and singular variational approximations, invalidating standard Bayesian interpretations.
  • The log-uniform prior used in variational Gaussian dropout leads to an improper posterior, rendering sparsity induction non-Bayesian in nature.
  • The standard KL divergence becomes undefined when the approximate posterior has a lower-dimensional support than the true posterior, a common issue in high-dimensional settings.
  • The Quasi-KL (QKL) divergence is introduced as a well-defined limiting objective that resolves the singularity problem and generalizes existing approaches.
  • In the case of approximating a full-rank Gaussian with a degenerate one, the QKL-optimal solution converges to the Principal Component Analysis (PCA) solution, demonstrating a principled connection between variational inference and classical dimensionality reduction.
  • The optimal solution for the QKL objective converges to PCA in the Frobenius/Euclidean norm as the number of data points increases, confirming its consistency and theoretical grounding.

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.