How to train your VAE

Mariano Rivera
9/22/2023
cs.LGcs.AIcs.CV

Official code: marianorivera/How2TrainUrVAE (33 stars, MIT, last commit 2024-06-24).

Abstract

Variational Autoencoders (VAEs) have become a cornerstone in generative modeling and representation learning within machine learning. This paper explores a nuanced aspect of VAEs, focusing on interpreting the Kullback-Leibler (KL) Divergence, a critical component within the Evidence Lower Bound (ELBO) that governs the trade-off between reconstruction accuracy and regularization. Meanwhile, the KL Divergence enforces alignment between latent variable distributions and a prior imposing a structure on the overall latent space but leaves individual variable distributions unconstrained. The proposed method redefines the ELBO with a mixture of Gaussians for the posterior probability, introduces a regularization term to prevent variance collapse, and employs a PatchGAN discriminator to enhance texture realism. Implementation details involve ResNetV2 architectures for both the Encoder and Decoder. The experiments demonstrate the ability to generate realistic faces, offering a promising solution for enhancing VAE-based generative models.

View on arXivView PDF

Code Implementations(1)

MIT

How To Train Your VAE CODE

331Python, Jupyter NotebookJun 19, 20242 years agoMIT

Similar Papers

Cite this paper

@article{rivera2023train,
  title  = {How to train your VAE},
  author = {Mariano Rivera},
  year   = {2023},
  eprint = {2309.13160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13160v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.13160.svg)](https://codeofpaper.com/paper/2309.13160)

Discussion