Skip to main content
QUICK REVIEW

[Paper Review] GumBolt: Extending Gumbel trick to Boltzmann priors

Amir H. Khoshaman, M. H. S. Amin|arXiv (Cornell University)|May 18, 2018
Generative Adversarial Networks and Image SynthesisComputer Science43 references4 citations
TL;DR

GumBolt extends the Gumbel reparameterization trick to Boltzmann machine (BM) priors in variational autoencoders (VAEs), enabling differentiable training of discrete Markov random fields without marginalization. It achieves state-of-the-art performance on permutation-invariant MNIST and OMNIGLOT datasets, with further gains via importance-weighted estimation, outperforming prior models that required complex marginalization schemes.

ABSTRACT

Boltzmann machines (BMs) are appealing candidates for powerful priors in variational autoencoders (VAEs), as they are capable of capturing nontrivial and multi-modal distributions over discrete variables. However, non-differentiability of the discrete units prohibits using the reparameterization trick, essential for low-noise back propagation. The Gumbel trick resolves this problem in a consistent way by relaxing the variables and distributions, but it is incompatible with BM priors. Here, we propose the GumBolt, a model that extends the Gumbel trick to BM priors in VAEs. GumBolt is significantly simpler than the recently proposed methods with BM prior and outperforms them by a considerable margin. It achieves state-of-the-art performance on permutation invariant MNIST and OMNIGLOT datasets in the scope of models with only discrete latent variables. Moreover, the performance can be further improved by allowing multi-sampled (importance-weighted) estimation of log-likelihood in training, which was not possible with previous models.

Motivation & Objective

  • To address the incompatibility of the Gumbel trick with Boltzmann machine (BM) priors in variational autoencoders (VAEs), which are otherwise ideal for modeling multi-modal, structured discrete distributions.
  • To eliminate the need for marginalization of discrete variables in BM-based VAEs, which complicates training and prevents importance-weighted estimation.
  • To enable differentiable, reparameterization-based training of BM priors using continuous relaxation of discrete variables, not distributions.
  • To achieve state-of-the-art performance among models with only discrete latent variables on benchmark datasets like MNIST and OMNIGLOT.

Proposed method

  • Proposes a continuous relaxation of discrete BM variables using the Gumbel-Softmax trick, enabling gradient-based optimization.
  • Introduces a differentiable proxy for the discrete BM prior that maintains the full joint distribution structure without marginalization.
  • Employs a relaxed objective function that allows for importance-weighted estimation of the log-likelihood during training.
  • Uses a temperature-softening strategy to approximate the discrete BM distribution while preserving its multi-modal and structured properties.
  • Applies the reparameterization trick directly to the relaxed discrete variables, avoiding REINFORCE-style gradients.
  • Enables end-to-end training via backpropagation by making the entire objective differentiable through the BM prior.

Experimental results

Research questions

  • RQ1Can the Gumbel reparameterization trick be extended to general Markov random fields (MRFs), particularly Boltzmann machines, despite their complex dependencies?
  • RQ2Does relaxing the discrete variables (not the distributions) in BMs enable effective and stable training in VAEs without marginalization?
  • RQ3Can GumBolt support importance-weighted estimation of the log-likelihood, which is not feasible in prior BM-based VAEs?
  • RQ4How does the performance of GumBolt compare to dVAE and dVAE++ in terms of log-likelihood and training stability?
  • RQ5To what extent does the structured, multi-modal nature of the BM prior contribute to performance gains over simpler priors?

Key findings

  • GumBolt achieves state-of-the-art test-set log-likelihood of 99.94 on permutation-invariant MNIST and 112.21 on OMNIGLOT, outperforming dVAE and dVAE++.
  • The model significantly outperforms dVAE and dVAE++ even without importance-weighted estimation, with a 10.07 nats improvement on MNIST over dVAE++.
  • Importance-weighted estimation (k=20) further improves performance, with the differentiable GumBolt objective closely tracking the non-differentiable discrete objective during training.
  • Removing coupling weights (GumBolt-nW) degrades performance substantially, confirming that the structured prior is essential to the gains.
  • Increasing model depth and width does not compensate for the loss of BM prior structure, indicating that the prior's probabilistic expressivity is not replaceable by a more complex decoder.
  • The absence of REINFORCE gradients and the use of reparameterization lead to more stable and efficient training, as evidenced by consistent improvement across all objectives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.