Reparameterization trick

Reparameterization trick enables differentiable sampling for VAE training

Image: Marco Leiter, CC BY-SA 4.0, via Wikimedia Commons

Reparameterization trick

Reparameterization trick enables differentiable sampling for VAE training

The reparameterization trick allows for gradients to be computed through random variables, which is crucial for optimizing models with stochastic elements. It was developed in the 1980s and later applied to variational autoencoders in 2013.

Example

In a VAE, the trick enables the computation of gradients for the latent variable sampling process, allowing for efficient training of the model.

This technique is essential for training VAEs as it enables the use of stochastic gradient descent and reduces the variance of estimators.

Related concepts

One email a day: 5 concepts + the 5 stories that matter →

Swipe through 100 ML concepts daily

Open TickerNews