Direct Optimization through $\arg \max$ for Discrete Variational Auto-Encoder

Guy Lorberbom, Andreea Gane, Tommi Jaakkola, Tamir Hazan
6/7/2018
cs.LGstat.ML

Official code: GuyLor/Direct-VAE (15 stars, Python, last commit 2020-09-15).

Abstract

Reparameterization of variational auto-encoders with continuous random variables is an effective method for reducing the variance of their gradient estimates. In the discrete case, one can perform reparametrization using the Gumbel-Max trick, but the resulting objective relies on an $\arg \max$ operation and is non-differentiable.

Show full abstract

In contrast to previous works which resort to softmax-based relaxations, we propose to optimize it directly by applying the direct loss minimization approach. Our proposal extends naturally to structured discrete latent variable models when evaluating the $\arg \max$ operation is tractable. We demonstrate empirically the effectiveness of the direct loss minimization technique in variational autoencoders with both unstructured and structured discrete latent variables.

View on arXivView PDF

Code Implementations(1)

GuyLor/Direct-VAEOfficial100%

Implementation of the paper "Direct Optimization through argmax for discrete Variational Auto-Encoder"

151PythonOct 9, 20186 years ago

Similar Papers

Cite this paper

@article{lorberbom2018direct,
  title  = {Direct Optimization through $\arg \max$ for Discrete Variational Auto-Encoder},
  author = {Guy Lorberbom and Andreea Gane and Tommi Jaakkola and Tamir Hazan},
  year   = {2018},
  eprint = {1806.02867},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.02867}
}

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

Discussion