Skip to main content
QUICK REVIEW

[Paper Review] DisARM: An Antithetic Gradient Estimator for Binary Latent Variables

Zhe Dong, Andriy Mnih|arXiv (Cornell University)|Jun 18, 2020
Generative Adversarial Networks and Image SynthesisComputer Science25 references9 citations
TL;DR

DisARM is a novel, low-variance, unbiased gradient estimator for binary latent variables that improves upon the ARM estimator by analytically integrating out the auxiliary continuous variables used in augmentation, thereby eliminating unnecessary variance. It achieves superior performance over ARM and competitive results with RELAX, while maintaining the same computational cost and being applicable to models without continuous relaxations.

ABSTRACT

Training models with discrete latent variables is challenging due to the difficulty of estimating the gradients accurately. Much of the recent progress has been achieved by taking advantage of continuous relaxations of the system, which are not always available or even possible. The Augment-REINFORCE-Merge (ARM) estimator provides an alternative that, instead of relaxation, uses continuous augmentation. Applying antithetic sampling over the augmenting variables yields a relatively low-variance and unbiased estimator applicable to any model with binary latent variables. However, while antithetic sampling reduces variance, the augmentation process increases variance. We show that ARM can be improved by analytically integrating out the randomness introduced by the augmentation process, guaranteeing substantial variance reduction. Our estimator, DisARM, is simple to implement and has the same computational cost as ARM. We evaluate DisARM on several generative modeling benchmarks and show that it consistently outperforms ARM and a strong independent sample baseline in terms of both variance and log-likelihood. Furthermore, we propose a local version of DisARM designed for optimizing the multi-sample variational bound, and show that it outperforms VIMCO, the current state-of-the-art method.

Motivation & Objective

  • To address the challenge of high-variance gradient estimation in models with binary latent variables, especially when continuous relaxations are infeasible or unavailable.
  • To improve upon the ARM estimator, which uses antithetic sampling over auxiliary continuous variables but introduces unnecessary variance through augmentation.
  • To develop a method that retains the benefits of antithetic sampling while eliminating the variance introduced by the augmentation step.
  • To extend the improved estimator to multi-sample variational bounds, outperforming state-of-the-art methods like VIMCO.
  • To provide a general, simple, and computationally efficient alternative to relaxation-based estimators for discrete latent variable models.

Proposed method

  • DisARM derives from the ARM estimator by analytically integrating out the auxiliary continuous variables used in the augmentation step, reducing variance without introducing bias.
  • The method applies variance reduction via conditioning, leveraging the fact that the original Bernoulli variables are deterministic functions of the auxiliary continuous variables.
  • It uses antithetic sampling on the underlying continuous variables to induce negative correlation between samples, reducing estimator variance.
  • The estimator is derived using the law of total variance and the property that the conditional expectation of the REINFORCE gradient given the original Bernoulli variables is the same as the original gradient.
  • A local variant of DisARM is proposed for optimizing the multi-sample variational bound, enabling efficient gradient estimation with reduced variance.
  • The method is implemented with the same computational cost as ARM, making it practical for real-world applications.

Experimental results

Research questions

  • RQ1Can we reduce the variance of the ARM estimator by eliminating the randomness introduced by the augmentation step?
  • RQ2Is it possible to analytically integrate out the auxiliary continuous variables in ARM while preserving unbiasedness and improving variance?
  • RQ3How does DisARM compare to RELAX and VIMCO in terms of variance, log-likelihood, and training speed on generative modeling benchmarks?
  • RQ4Can DisARM be effectively extended to the multi-sample variational bound, outperforming current state-of-the-art methods like VIMCO?
  • RQ5Does DisARM maintain strong performance in settings where continuous relaxations are not applicable or too costly?

Key findings

  • DisARM consistently outperforms ARM and REINFORCE-LOO in terms of both variance and log-likelihood across multiple generative modeling benchmarks, including MNIST, Fashion-MNIST, and Omniglot.
  • On deeper models with 3–4 stochastic hidden layers, the performance gap between DisARM and RELAX diminishes, while DisARM training is approximately twice as fast as RELAX in wall-clock time.
  • In multi-sample variational inference, DisARM with K pairs of antithetic samples outperforms VIMCO with 2K independent samples, both in training objective and gradient variance.
  • When compared under equal computational cost, DisARM with K pairs achieves lower gradient variance than two independent VIMCO estimators with K samples, confirming its efficiency.
  • The local variant of DisARM for the multi-sample bound outperforms VIMCO, demonstrating its effectiveness in complex variational objectives.
  • DisARM is universally applicable to any model with binary latent variables and does not require a continuous relaxation, making it more broadly applicable than RELAX or REBAR.

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.