CLAug 31, 2018

Spherical Latent Spaces for Stable Variational Autoencoders

arXiv:1808.10805v21191 citations
Originality Incremental advance
AI Analysis

This addresses a stability issue in VAEs for text processing, offering a more robust alternative to Gaussian latent spaces, though it is incremental as it modifies an existing method.

The paper tackled the problem of variational autoencoders (VAEs) collapsing by not using latent variables, due to optimization issues with Gaussian distributions, and found that using von Mises-Fisher distributions on hyperspheres consistently improved likelihoods in tasks like language and document modeling.

A hallmark of variational autoencoders (VAEs) for text processing is their combination of powerful encoder-decoder models, such as LSTMs, with simple latent distributions, typically multivariate Gaussians. These models pose a difficult optimization problem: there is an especially bad local optimum where the variational posterior always equals the prior and the model does not use the latent variable at all, a kind of "collapse" which is encouraged by the KL divergence term of the objective. In this work, we experiment with another choice of latent distribution, namely the von Mises-Fisher (vMF) distribution, which places mass on the surface of the unit hypersphere. With this choice of prior and posterior, the KL divergence term now only depends on the variance of the vMF distribution, giving us the ability to treat it as a fixed hyperparameter. We show that doing so not only averts the KL collapse, but consistently gives better likelihoods than Gaussians across a range of modeling conditions, including recurrent language modeling and bag-of-words document modeling. An analysis of the properties of our vMF representations shows that they learn richer and more nuanced structures in their latent representations than their Gaussian counterparts.

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