Reliable Categorical Variational Inference with Mixture of Discrete Normalizing Flows

Tomasz Kuśmierczyk, Arto Klami
6/28/2020
cs.LGstat.ML
diffusion-flowbayesian

Official code: tkusmierczyk/mixture_of_discrete_normalizing_flows (4 stars, Jupyter Notebook, last commit 2020-10-23).

Abstract

Variational approximations are increasingly based on gradient-based optimization of expectations estimated by sampling. Handling discrete latent variables is then challenging because the sampling process is not differentiable.

Show full abstract

Continuous relaxations, such as the Gumbel-Softmax for categorical distribution, enable gradient-based optimization, but do not define a valid probability mass for discrete observations. In practice, selecting the amount of relaxation is difficult and one needs to optimize an objective that does not align with the desired one, causing problems especially with models having strong meaningful priors. We provide an alternative differentiable reparameterization for categorical distribution by composing it as a mixture of discrete normalizing flows. It defines a proper discrete distribution, allows directly optimizing the evidence lower bound, and is less sensitive to the hyperparameter controlling relaxation.

View on arXivView PDF

Code Implementations(1)

Reliable Categorical Variational Inference with Mixture of Discrete Normalizing Flows

40Jupyter Notebook, PythonOct 23, 20206 years ago

Similar Papers

Cite this paper

@article{kumierczyk2020reliable,
  title  = {Reliable Categorical Variational Inference with Mixture of Discrete Normalizing Flows},
  author = {Tomasz Kuśmierczyk and Arto Klami},
  year   = {2020},
  eprint = {2006.15568},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.15568}
}

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

Discussion