Tutorial: Deriving the Standard Variational Autoencoder (VAE) Loss Function
Not on the map. Why?
Abstract (arXiv)
In Bayesian machine learning, the posterior distribution is typically computationally intractable, hence variational inference is often required. In this approach, an evidence lower bound on the log likelihood of data is maximized during training. Variational Autoencoders (VAE) are one important example where variational inference is utilized. In this tutorial, we derive the variational lower bound loss function of the standard variational autoencoder. We do so in the instance of a gaussian latent prior and gaussian approximate posterior, under which assumptions the Kullback-Leibler term in the variational lower bound has a closed form solution. We derive essentially everything we use along the way; everything from Bayes' theorem to the Kullback-Leibler divergence.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 5; 2023: 4; 2024: 7; 2025: 2; 2026: 5.
26 papers.
Sort:
By area:
- 2022Hybrid Predictive Coding: Inferring, Fast and Slowcited by 25
- 2021Factor Analysis, Probabilistic Principal Component Analysis, Variational Inference, and Variational Autoencoder: Tutorial and Surveycited by 21
- 2023Generalizing Across Domains in Diabetic Retinopathy via Variational Autoencoderscited by 8
- 2021Disentangling Generative Factors of Physical Fields Using Variational Autoencoderscited by 5
- 2024Paired Wasserstein Autoencoders for Conditional Samplingcited by 5
- 2022Variational Inference for Quantifying Inter-observer Variability in Segmentation of Anatomical Structurescited by 4
- 2024Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problemscited by 4
- 2022Unsupervised Clustering of Roman Potsherds via Variational Autoencoderscited by 3
- 2022Tackling Multimodal Device Distributions in Inverse Photonic Design using Invertible Neural Networkscited by 3
- 2023Data-driven Nonlinear Parametric Model Order Reduction Framework using Deep Hierarchical Variational Autoencodercited by 3
- 2024Balanced Neural ODEs: nonlinear model order reduction and Koopman operator approximationscited by 3
- 2023Uncertainty-aware transfer across tasks using hybrid model-based successor feature reinforcement learningcited by 1
14 more
- 2024Energy-Based Prior Latent Space Diffusion model for Reconstruction of Lumbar Vertebrae from Thick Slice MRIcited by 1
- 2021Maximum Entropy Auto-Encodingcited by 0
- 2022Variational Autoencoder Assisted Neural Network Likelihood RSRP Prediction Modelcited by 0
- 2023Variational Self-Supervised Contrastive Learning Using Beta Divergencecited by 0
- 2024Projected Belief Networks With Discriminative Alignment for Acoustic Event Classification: Rivaling State of the Art CNNscited by 0
- 2024CF-OPT: Counterfactual Explanations for Structured Predictioncited by 0
- 2024Deep evolving semi-supervised anomaly detectioncited by 0
- 2025Active Learning-Guided Seq2Seq Variational Autoencoder for Multi-target Inhibitor Generationcited by 0
- 2025Using KL-Divergence to Focus Frequency Information in Low-Light Image Enhancementcited by 0
- 2026Variational Contrastive Learning for Skeleton-based Action Recognitioncited by 0
- 2026Cryo-SWAN: the Multi-Scale Wavelet-decomposition-inspired Autoencoder Network for molecular density representation of molecular volumescited by 0
- 2026VAMP-Diff: VampPrior Latent Diffusion for Photoplethysmography Modelingcited by 0
- 2026Reconstructing and forecasting disease trajectories of patients with Alzheimer's disease using routine data in resource-constrained settingscited by 0
- 2026AI-Generated Image Recognition via Fusion of CNNs and Vision Transformerscited by 0
- 2026AI-Generated Image Recognition via Fusion of CNNs and Vision Transformers26 Jun 2026
- 2026Reconstructing and forecasting disease trajectories of patients with Alzheimer's disease using routine data in resource-constrained settings5 Jun 2026
- 2026VAMP-Diff: VampPrior Latent Diffusion for Photoplethysmography Modeling17 May 2026
- 2026Cryo-SWAN: the Multi-Scale Wavelet-decomposition-inspired Autoencoder Network for molecular density representation of molecular volumes18 Feb 2026
- 2026Variational Contrastive Learning for Skeleton-based Action Recognition12 Jan 2026
- 2025Using KL-Divergence to Focus Frequency Information in Low-Light Image Enhancement16 Sep 2025
- 2025Active Learning-Guided Seq2Seq Variational Autoencoder for Multi-target Inhibitor Generation18 Jun 2025
- 2024Paired Wasserstein Autoencoders for Conditional Sampling10 Dec 2024
- 2024Deep evolving semi-supervised anomaly detection1 Dec 2024
- 2024Energy-Based Prior Latent Space Diffusion model for Reconstruction of Lumbar Vertebrae from Thick Slice MRI30 Nov 2024
- 2024Balanced Neural ODEs: nonlinear model order reduction and Koopman operator approximations14 Oct 2024
- 2024CF-OPT: Counterfactual Explanations for Structured Prediction28 May 2024
14 more
- 2024Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems17 May 2024
- 2024Projected Belief Networks With Discriminative Alignment for Acoustic Event Classification: Rivaling State of the Art CNNs20 Jan 2024
- 2023Uncertainty-aware transfer across tasks using hybrid model-based successor feature reinforcement learning16 Oct 2023
- 2023Generalizing Across Domains in Diabetic Retinopathy via Variational Autoencoders20 Sep 2023
- 2023Variational Self-Supervised Contrastive Learning Using Beta Divergence5 Sep 2023
- 2023Data-driven Nonlinear Parametric Model Order Reduction Framework using Deep Hierarchical Variational Autoencoder10 Jul 2023
- 2022Tackling Multimodal Device Distributions in Inverse Photonic Design using Invertible Neural Networks29 Aug 2022
- 2022Variational Autoencoder Assisted Neural Network Likelihood RSRP Prediction Model27 Jun 2022
- 2022Hybrid Predictive Coding: Inferring, Fast and Slow5 Apr 2022
- 2022Unsupervised Clustering of Roman Potsherds via Variational Autoencoders14 Mar 2022
- 2022Variational Inference for Quantifying Inter-observer Variability in Segmentation of Anatomical Structures18 Jan 2022
- 2021Disentangling Generative Factors of Physical Fields Using Variational Autoencoders15 Sep 2021
- 2021Maximum Entropy Auto-Encoding13 Apr 2021
- 2021Factor Analysis, Probabilistic Principal Component Analysis, Variational Inference, and Variational Autoencoder: Tutorial and Survey4 Jan 2021
- 2024Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problemscited by 4
- 2024Energy-Based Prior Latent Space Diffusion model for Reconstruction of Lumbar Vertebrae from Thick Slice MRIcited by 1
- 2026VAMP-Diff: VampPrior Latent Diffusion for Photoplethysmography Modelingcited by 0
- 2026VAMP-Diff: VampPrior Latent Diffusion for Photoplethysmography Modeling17 May 2026
- 2024Energy-Based Prior Latent Space Diffusion model for Reconstruction of Lumbar Vertebrae from Thick Slice MRI30 Nov 2024
- 2024Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems17 May 2024
- 2022Hybrid Predictive Coding: Inferring, Fast and Slowcited by 25
- 2021Factor Analysis, Probabilistic Principal Component Analysis, Variational Inference, and Variational Autoencoder: Tutorial and Surveycited by 21
- 2023Generalizing Across Domains in Diabetic Retinopathy via Variational Autoencoderscited by 8
- 2021Disentangling Generative Factors of Physical Fields Using Variational Autoencoderscited by 5
- 2024Paired Wasserstein Autoencoders for Conditional Samplingcited by 5
- 2022Variational Inference for Quantifying Inter-observer Variability in Segmentation of Anatomical Structurescited by 4
- 2022Unsupervised Clustering of Roman Potsherds via Variational Autoencoderscited by 3
- 2022Tackling Multimodal Device Distributions in Inverse Photonic Design using Invertible Neural Networkscited by 3
- 2023Data-driven Nonlinear Parametric Model Order Reduction Framework using Deep Hierarchical Variational Autoencodercited by 3
- 2024Balanced Neural ODEs: nonlinear model order reduction and Koopman operator approximationscited by 3
- 2023Uncertainty-aware transfer across tasks using hybrid model-based successor feature reinforcement learningcited by 1
- 2021Maximum Entropy Auto-Encodingcited by 0
12 most cited of 23 All 23 (JSON)
- 2026AI-Generated Image Recognition via Fusion of CNNs and Vision Transformers26 Jun 2026
- 2026Reconstructing and forecasting disease trajectories of patients with Alzheimer's disease using routine data in resource-constrained settings5 Jun 2026
- 2026Cryo-SWAN: the Multi-Scale Wavelet-decomposition-inspired Autoencoder Network for molecular density representation of molecular volumes18 Feb 2026
- 2026Variational Contrastive Learning for Skeleton-based Action Recognition12 Jan 2026
- 2025Using KL-Divergence to Focus Frequency Information in Low-Light Image Enhancement16 Sep 2025
- 2025Active Learning-Guided Seq2Seq Variational Autoencoder for Multi-target Inhibitor Generation18 Jun 2025
- 2024Paired Wasserstein Autoencoders for Conditional Sampling10 Dec 2024
- 2024Deep evolving semi-supervised anomaly detection1 Dec 2024
- 2024Balanced Neural ODEs: nonlinear model order reduction and Koopman operator approximations14 Oct 2024
- 2024CF-OPT: Counterfactual Explanations for Structured Prediction28 May 2024
- 2024Projected Belief Networks With Discriminative Alignment for Acoustic Event Classification: Rivaling State of the Art CNNs20 Jan 2024
- 2023Uncertainty-aware transfer across tasks using hybrid model-based successor feature reinforcement learning16 Oct 2023
12 newest of 23 All 23 (JSON)