mlsanityData to 7 Oct 2026

An Introduction to Discrete Variational Autoencoders

arXiv 2505.10344 ↗First posted 15 May 2025cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Variational Autoencoders (VAEs) are well-established as a principled approach to probabilistic unsupervised learning with neural networks. Typically, an encoder network defines the parameters of a Gaussian distributed latent space from which we can sample and pass realizations to a decoder network. This model is trained to reconstruct its inputs and is optimized through the evidence lower bound. In recent years, discrete latent spaces have grown in popularity, suggesting that they may be a natural choice for many data modalities (e.g. text). In this tutorial, we provide a rigorous, yet practical, introduction to discrete variational autoencoders -- specifically, VAEs in which the latent space is made up of latent variables that follow a categorical distribution. We assume only a basic mathematical background with which we carefully derive each step from first principles. From there, we develop a concrete training recipe and provide an example implementation, hosted at https://github.com/alanjeffares/discreteVAE.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 19 references that are in the map. First posted on arXiv 15 May 2025.

Builds on

15 of 19 references.

References · 15

  1. 2017Neural Discrete Representation Learningcited by 4,650
  2. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  4. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  5. 2019An Introduction to Variational Autoencoderscited by 997
  6. 2024Scaling and evaluating sparse autoencoderscited by 530
  7. 2016Tutorial on Variational Autoencoderscited by 404
  8. 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 381
  9. 2016Discrete Variational Autoencoderscited by 124
  10. 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 104
  11. 2019The continuous Bernoulli: fixing a pervasive error in variational autoencoderscited by 40
  12. 2018DVAE++: Discrete Variational Autoencoders with Overlapping Transformationscited by 31
3 more
  1. 2023Bridging Discrete and Backpropagation: Straight-Through and Beyondcited by 31
  2. 2021Factor Analysis, Probabilistic Principal Component Analysis, Variational Inference, and Variational Autoencoder: Tutorial and Surveycited by 21
  3. 2024GRIN: GRadient-INformed MoEcited by 16

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.