Re-parameterizing VAEs for stability
Not on the map. Why?
Abstract (arXiv)
We propose a theoretical approach towards the training numerical stability of Variational AutoEncoders (VAE). Our work is motivated by recent studies empowering VAEs to reach state of the art generative results on complex image datasets. These very deep VAE architectures, as well as VAEs using more complex output distributions, highlight a tendency to haphazardly produce high training gradients as well as NaN losses. The empirical fixes proposed to train them despite their limitations are neither fully theoretically grounded nor generally sufficient in practice. Building on this, we localize the source of the problem at the interface between the model's neural networks and their output probabilistic distributions. We explain a common source of instability stemming from an incautious formulation of the encoded Normal distribution's variance, and apply the same approach on other, less obvious sources. We show that by implementing small changes to the way we parameterize the Normal distributions on which they rely, VAEs can securely be trained.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 11 of its 15 references that are in the map. First posted on arXiv 25 Jun 2021.
Builds on
11 of 15 references.
References · 11
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 636
- 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 635
- 2016Adversarial Feature Learningcited by 350
- 2016Ladder Variational Autoencoderscited by 315
- 2015A note on the evaluation of generative modelscited by 291
- 2020Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Imagescited by 261
- 2019Diagnosing and Enhancing VAE Modelscited by 192
- 2020Simple and Effective VAE Training with Calibrated Decoderscited by 57
- 2020Anomaly localization by modeling perceptual featurescited by 21
- 2019Balancing Reconstruction Quality and Regularisation in ELBO for VAEscited by 9
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 1; 2025: 1.
5 papers.
- 2022Fully probabilistic deep models for forward and inverse problems in parametric PDEscited by 19
- 2023Random Grid Neural Processes for Parametric Partial Differential Equationscited by 8
- 2024Video Is Worth a Thousand Images: Exploring the Latest Trends in Long Video Generationcited by 7
- 2022μSplit: efficient image decomposition for microscopy datacited by 5
- 2025Modality-Independent Explainable Detection of Inaccurate Organ Segmentations Using Denoising Autoencoderscited by 0
- 2025Modality-Independent Explainable Detection of Inaccurate Organ Segmentations Using Denoising Autoencoders16 Apr 2025
- 2024Video Is Worth a Thousand Images: Exploring the Latest Trends in Long Video Generation24 Dec 2024
- 2023Random Grid Neural Processes for Parametric Partial Differential Equations26 Jan 2023
- 2022μSplit: efficient image decomposition for microscopy data23 Nov 2022
- 2022Fully probabilistic deep models for forward and inverse problems in parametric PDEs9 Aug 2022