Black Box Variational Inference

Rajesh Ranganath, Sean Gerrish, David M. Blei
12/31/2013
1,561 citations
stat.MLcs.LGstat.CO
bayesian

No official code found. Best implementation: keyonvafa/logistic-reg-bbvi-blog (18 stars, Python, last commit 2017-04-01). 3 more below.

Abstract

Variational inference has become a widely used method to approximate posteriors in complex latent variables models. However, deriving a variational inference algorithm generally requires significant model-specific analysis, and these efforts can hinder and deter us from quickly developing and exploring a variety of models for a problem at hand.

Show full abstract

In this paper, we present a "black box" variational inference algorithm, one that can be quickly applied to many models with little additional derivation. Our method is based on a stochastic optimization of the variational objective where the noisy gradient is computed from Monte Carlo samples from the variational distribution. We develop a number of methods to reduce the variance of the gradient, always maintaining the criterion that we want to avoid difficult model-based derivations. We evaluate our method against the corresponding black box sampling based methods. We find that our method reaches better predictive likelihoods much faster than sampling methods. Finally, we demonstrate that Black Box Variational Inference lets us easily explore a wide space of models by quickly constructing and evaluating several models of longitudinal healthcare data.

View on arXivView PDF

Code Implementations(4)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
keyonvafa/logistic-reg-bbvi-blogCommunity18Python–2017-04-01
daeilkim/bbviCommunity14Python–2015-05-22
jamesvuc/BBVICommunity11–––
robintyh1/Variational-DQNCommunity9–––

Black Box Variational Inference for Bayesian logistic regression

188PythonApr 1, 20179 years ago
daeilkim/bbviCommunity25%

Black Box Variational Inference

146PythonMay 22, 201511 years ago
jamesvuc/BBVICommunity25%

A collection of Black Box Variational Inference algorithms implemented in an object-oriented Python framework using Autograd.

114

Variational DQN encourages efficient exploration and allows for parameter update using black box variational inference

92

Similar Papers

Cite this paper

@article{ranganath2013black,
  title  = {Black Box Variational Inference},
  author = {Rajesh Ranganath and Sean Gerrish and David M. Blei},
  year   = {2013},
  eprint = {1401.0118},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1401.0118}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1401.0118.svg)](https://codeofpaper.com/paper/1401.0118)

Discussion