Reparameterization Gradient for Non-differentiable Models

By Wonyeol Lee, Hangyeol Yu, Hongseok Yang. 2018

38 citations recorded by the source corpus.

We present a new algorithm for stochastic variational inference that targets at models with non-differentiable densities. One of the key challenges in stochastic variational inference is to come up with a low-variance estimator of the gradient of a variational objective. We tackle the challenge by generalizing the reparameterization trick, one of the most effective techniques for addressing the variance issue for differentiable models, so that the trick works for non-differentiable models as well. Our algorithm splits the space of latent variables into regions where the density of the variables is differentiable, and their boundaries where the density may fail to be differentiable. For each differentiable region, the algorithm applies the standard reparameterization trick and estimates the gradient restricted to the region. For each potentially non-differentiable boundary, it uses a form of manifold sampling and computes the direction for variational parameters that, if followed, would increase the boundary's contribution to the variational objective. The sum of all the estimates becomes the gradient estimate of our algorithm. Our estimator enjoys the reduced variance of the reparameterization gradient while remaining unbiased even for non-differentiable models. The experiments with our preliminary implementation confirm the benefit of reduced variance and unbiasedness.

Subfields: Artificial Intelligence, Statistical and Nonlinear Physics

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Chris J. Maddison
  3. Daniel Tarlow
  4. Max Welling
  5. Andriy Mnih
  6. Ruslan Salakhutdinov
  7. Sergey Levine
  8. Miltiadis Allamanis

In Statistical and Nonlinear Physics

  1. Andriy Mnih
  2. Chris J. Maddison
  3. Shakir Mohamed
  4. Mihaela Rosca
  5. Daniel Tarlow
  6. Scott Anthony Sisson
  7. Andreas Krause
  8. Michael Figurnov

Citations in the corpus