Reparameterization Gradient for Non-differentiable Models

06/01/2018
by   Wonyeol Lee, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/05/2018

Differentiable Antithetic Sampling for Variance Reduction in Stochastic Variational Inference

Stochastic optimization techniques are standard in variational inference...
research
07/19/2016

Stochastic Backpropagation through Mixture Density Distributions

The ability to backpropagate stochastic gradients through continuous lat...
research
06/07/2018

Direct Optimization through for Discrete Variational Auto-Encoder

Reparameterization of variational auto-encoders with continuous latent s...
research
06/02/2021

A Differentiable Point Process with Its Application to Spiking Neural Networks

This paper is concerned about a learning algorithm for a probabilistic m...
research
08/22/2022

Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inference

We present a static analysis for discovering differentiable or more gene...
research
11/22/2019

Differentiable Algorithm for Marginalising Changepoints

We present an algorithm for marginalising changepoints in time-series mo...
research
12/18/2012

Variational Optimization

We discuss a general technique that can be used to form a differentiable...

Please sign up or login with your details

Forgot password? Click here to reset