BLOGLLM Logo
Go Pro
Guest
Not signed in
All BlogsCoursesPracticeInterview prepSeriesTagsBookmarksPricing
Log in
All BlogsCoursesPracticeTagsBookmarksPricing
BlogsCourses
Practice
My PrepProblemsStudy PlansResearch PapersRoadmapInterviewContestsLeaderboardGames
Articles
Practice / Research papers
Generative models · 2013

Auto-Encoding Variational Bayes

Diederik P. Kingma, Max Welling

ICLR 2014 · arXiv 1312.6114 · Read the paper ↗

The variational autoencoder: learn a latent space you can sample from, trained with the reparameterization trick.

4 steps · 0 solved

Start: Reparameterization trick →
  1. 1Reparameterization trickSample a latent so gradients can flow.Sample a VAE latent with the reparameterization trickEasy
  2. 2KL between GaussiansThe closed-form regulariser.VAE loss: KL divergence between the encoder's Gaussian and the priorEasy
  3. 3ELBO lossReconstruction plus KL to a standard normal.Compute the VAE loss: reconstruction BCE plus KL to a standard normalMediumPro
  4. 4Backward passGradients through the sample and the KL term.Backpropagate through the VAE reparameterization and KL termHardPro

More generative models papers

  • Generative Adversarial Networks 2014
  • Denoising Diffusion Probabilistic Models 2020
Goal
Build the VAE objective
0 / 4 solved
Start: Reparameterization trick →
How it works

Solve the steps in order. Each one is a small function with tests that run in your browser. Later steps reuse ideas from earlier ones.

© BlogLLM, Bengaluru, IndiaAboutTermsPrivacyRefundsDMCAContactRSS