Skip to main content
QUICK REVIEW

[Paper Review] Differentiable Antithetic Sampling for Variance Reduction in Stochastic Variational Inference

Mike Wu, Noah D. Goodman|arXiv (Cornell University)|Oct 5, 2018
Generative Adversarial Networks and Image SynthesisComputer Science6 citations
TL;DR

This paper proposes differentiable antithetic sampling to reduce variance in stochastic variational inference by generating negatively correlated samples that match desired population moments. By combining antithetic sampling with reparameterization, the method enables low-variance, differentiable gradient estimation, significantly improving training stability and performance in deep generative models like VAEs.

ABSTRACT

Stochastic optimization techniques are standard in variational inference algorithms. These methods estimate gradients by approximating expectations with independent Monte Carlo samples. In this paper, we explore a technique that uses correlated, but more representative , samples to reduce estimator variance. Specifically, we show how to generate antithetic samples that match sample moments with the true moments of an underlying importance distribution. Combining a differentiable antithetic sampler with modern stochastic variational inference, we showcase the effectiveness of this approach for learning a deep generative model.

Motivation & Objective

  • To reduce gradient variance in stochastic variational inference without increasing sample size.
  • To develop a differentiable sampling mechanism that maintains unbiased estimation while improving sample representativeness.
  • To enable the use of antithetic sampling in modern deep generative models with end-to-end backpropagation.

Proposed method

  • Proposes a differentiable antithetic sampler that generates k samples with exact sample mean η and sample variance δ² matching the population moments.
  • Uses a transformation based on Helmert's orthogonal matrix to map i.i.d. standard normal variables into antithetic samples with controlled moments.
  • Applies Marsaglia’s algorithm to generate antithetic variates efficiently, reducing random draws compared to prior methods.
  • Integrates the antithetic sampler with reparameterization, enabling gradient computation through the sampling process.
  • Derives conditions under which antithetic samples remain marginally distributed as the target distribution (e.g., Gaussian).
  • Employs a linear combination of antithetic pairs to form an unbiased estimator with reduced variance.

Experimental results

Research questions

  • RQ1Can antithetic sampling be made differentiable to support gradient-based optimization in variational inference?
  • RQ2Does antithetic sampling with controlled sample moments reduce variance in ELBO estimation compared to i.i.d. sampling?
  • RQ3How does the proposed method perform across different VAE architectures, likelihood families, and datasets?
  • RQ4Can the method be generalized beyond Gaussian distributions using deterministic transformations?
  • RQ5What is the impact of antithetic sampling on training stability and convergence speed in deep generative models?

Key findings

  • The proposed differentiable antithetic sampler produces samples that are marginally distributed as the target distribution (e.g., Gaussian) while matching desired sample moments.
  • The method reduces gradient variance in ELBO estimation, leading to more stable and faster convergence during training.
  • Training VAEs with antithetic samples improves performance across multiple objectives, posterior families, and datasets.
  • The algorithm requires only half the number of random draws compared to prior antithetic sampling methods, improving computational efficiency.
  • Empirical results show consistent improvements in test log-likelihood and reconstruction quality, especially with small batch sizes.
  • The approach is fully compatible with existing reparameterization techniques, enabling end-to-end differentiable training.

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.