LGCVJun 25, 2021

Re-parameterizing VAEs for stability

arXiv:2106.13739v110 citations
Originality Synthesis-oriented
AI Analysis

This addresses a critical issue for researchers and practitioners using deep or complex VAEs, though it is incremental as it builds on existing VAE frameworks.

The paper tackles the problem of training instability in Variational AutoEncoders (VAEs), which often leads to high gradients and NaN losses, by proposing a theoretical approach to re-parameterize Normal distributions, enabling secure training.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes