Skip to main content
QUICK REVIEW

[Paper Review] Variational Dropout via Empirical Bayes

В. А. Харитонов, Dmitry Molchanov|arXiv (Cornell University)|Nov 1, 2018
Adversarial Robustness in Machine LearningComputer Science8 references7 citations
TL;DR

This paper proposes a variational inference approach to Automatic Relevance Determination (ARD) in deep neural networks using empirical Bayes, offering a principled alternative to variational dropout. By modeling weight priors as Gaussian distributions with learnable precision parameters, the method achieves comparable sparsity and accuracy to sparse variational dropout without relying on improper priors, while hierarchical Gamma hyperpriors further enhance sparsity-accuracy trade-offs.

ABSTRACT

We study the Automatic Relevance Determination procedure applied to deep neural networks. We show that ARD applied to Bayesian DNNs with Gaussian approximate posterior distributions leads to a variational bound similar to that of variational dropout, and in the case of a fixed dropout rate, objectives are exactly the same. Experimental results show that the two approaches yield comparable results in practice even when the dropout rates are trained. This leads to an alternative Bayesian interpretation of dropout and mitigates some of the theoretical issues that arise with the use of improper priors in the variational dropout model. Additionally, we explore the use of the hierarchical priors in ARD and show that it helps achieve higher sparsity for the same accuracy.

Motivation & Objective

  • To address theoretical issues in variational dropout caused by improper priors and singular posteriors.
  • To provide a Bayesian interpretation of dropout using variational inference with proper priors.
  • To enable trainable, layer-specific dropout rates through ARD with factorized Gaussian posteriors.
  • To explore hierarchical priors over hyperparameters to improve sparsity-accuracy trade-offs.
  • To empirically validate that ARD-based dropout matches or exceeds performance of sparse variational dropout.

Proposed method

  • Uses empirical Bayes to learn hyperparameters τ in a Gaussian prior p(w|τ) = ∏N(wi|0, τi⁻¹), enabling automatic relevance determination.
  • Applies doubly stochastic variational inference (DSVI) with a factorized Gaussian variational posterior q(w|μ,σ) = ∏N(wi|μi,σi²) to approximate the true posterior.
  • Derives an evidence lower bound (ELBO) that matches the variational dropout objective when dropout rates are fixed, and generalizes it to trainable rates via τi* = (μi² + σi²)⁻¹.
  • Introduces a Gamma hyperprior p(τi|a,b) = Gamma(τi|a,b) and uses MAP-II estimation to learn a and b, enabling controlled sparsity.
  • Shows that the marginal prior p(wi) becomes a generalized Student-t distribution, with the log-uniform prior in sparse variational dropout as a limiting case when a,b→0.
  • Employs local reparameterization gradients to efficiently optimize the ELBO with respect to μ and σ.

Experimental results

Research questions

  • RQ1Can ARD with proper priors provide a theoretically sound alternative to variational dropout that avoids improper posteriors?
  • RQ2How do the ELBO objectives of ARD and sparse variational dropout compare when dropout rates are trainable?
  • RQ3Can hierarchical priors over ARD hyperparameters improve the accuracy-compression trade-off in neural network pruning?
  • RQ4Does the proposed ARD-based dropout method achieve comparable or better sparsity and accuracy than sparse variational dropout?
  • RQ5What is the relationship between the marginal prior under the hierarchical ARD model and the log-uniform prior used in sparse variational dropout?

Key findings

  • The ARD-based objective with trainable dropout rates (Equation 3) is empirically equivalent to the sparse variational dropout objective (Equation 4), with both achieving similar sparsity and accuracy.
  • On MNIST (LeNet-5), ARD Dropout achieved 0.76% error (±0.09) and 132 compressed weights, comparable to Sparse VD’s 0.81% error (±0.04) and 136 compressed weights.
  • On CIFAR-10 (VGG-like), ARD Dropout achieved 7.75% error (±0.28) and 34 compressed weights, compared to Sparse VD’s 8.08% error (±0.27) and 38 compressed weights.
  • Using a Gamma hyperprior with a=0.505, b=10⁻⁸ on CIFAR-10 yielded 7.46% error and 52 compressed weights, demonstrating higher sparsity at similar accuracy.
  • The method avoids improper priors and singular posteriors, resolving theoretical issues identified in prior work on variational dropout.
  • The marginal prior under the hierarchical ARD model converges to the log-uniform prior used in sparse variational dropout in the limit a,b→0, establishing a principled connection between the two approaches.

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.