A Contrastive Divergence for Combining Variational Inference and MCMC

Francisco J. R. Ruiz, Michalis K. Titsias
5/10/2019
stat.MLcs.LG

Official code: franrruiz/vcd_divergence (30 stars, MIT, last commit 2019-05-30).

Abstract

We develop a method to combine Markov chain Monte Carlo (MCMC) and variational inference (VI), leveraging the advantages of both inference approaches. Specifically, we improve the variational distribution by running a few MCMC steps. To make inference tractable, we introduce the variational contrastive divergence (VCD), a new divergence that replaces the standard Kullback-Leibler (KL) divergence used in VI. The VCD captures a notion of discrepancy between the initial variational distribution and its improved version (obtained after running the MCMC steps), and it converges asymptotically to the symmetrized KL divergence between the variational distribution and the posterior of interest. The VCD objective can be optimized efficiently with respect to the variational parameters via stochastic optimization. We show experimentally that optimizing the VCD leads to better predictive performance on two latent variable models: logistic matrix factorization and variational autoencoders (VAEs).

View on arXivView PDF

Code Implementations(1)

MIT

Code to minimize the Variational Contrastive Divergence (VCD)

308MATLABMay 1, 20197 years agoMIT

Similar Papers

Cite this paper

@article{ruiz2019contrastive,
  title  = {A Contrastive Divergence for Combining Variational Inference and MCMC},
  author = {Francisco J. R. Ruiz and Michalis K. Titsias},
  year   = {2019},
  eprint = {1905.04062},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.04062}
}

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/1905.04062.svg)](https://codeofpaper.com/paper/1905.04062)

Discussion