Sampling in Combinatorial Spaces with SurVAE Flow Augmented MCMC

Priyank Jaini, Didrik Nielsen, Max Welling
2/4/2021
cs.LG

Official code: priyankjaini/discFlowMH (11 stars, Python, MIT, last commit 2021-03-01).

Abstract

Hybrid Monte Carlo is a powerful Markov Chain Monte Carlo method for sampling from complex continuous distributions. However, a major limitation of HMC is its inability to be applied to discrete domains due to the lack of gradient signal.

Show full abstract

In this work, we introduce a new approach based on augmenting Monte Carlo methods with SurVAE Flows to sample from discrete distributions using a combination of neural transport methods like normalizing flows and variational dequantization, and the Metropolis-Hastings rule. Our method first learns a continuous embedding of the discrete space using a surjective map and subsequently learns a bijective transformation from the continuous space to an approximately Gaussian distributed latent variable. Sampling proceeds by simulating MCMC chains in the latent space and mapping these samples to the target discrete space via the learned transformations. We demonstrate the efficacy of our algorithm on a range of examples from statistics, computational physics and machine learning, and observe improvements compared to alternative algorithms.

View on arXivView PDF

Code Implementations(1)

MIT

Pytorch code for Sampling in Combinatorial Spaces with SurVAE Flow Augmented MCMC

111Python, ShellFeb 23, 20215 years agoMIT

Similar Papers

Cite this paper

@article{jaini2021sampling,
  title  = {Sampling in Combinatorial Spaces with SurVAE Flow Augmented MCMC},
  author = {Priyank Jaini and Didrik Nielsen and Max Welling},
  year   = {2021},
  eprint = {2102.02374},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.02374}
}

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

Discussion