Reparametrization Trick
- cant do backprop over sampling process
VAE example with Gaussian
- Encoder gives us parameters for a distribution, Gaussian in this case, mean
and standard deviation - Decoder then wants to sample from this distribution
- Cannot do backpropagation on sampling process
inject Gaussian noise (sampled from standard gaussian), multiply by and add , which is equivalent to sampling from the distribution defined by these parameters - This lets us do backpropagation over the parameters we are training, while ignoring the smapled noise
Standard VAE
VAE with reparametrization trick
! 500