arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.10805cs.CL
收藏

稳定变分自编码器的球面潜空间

Spherical Latent Spaces for Stable Variational Autoencoders

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Jiacheng Xu, Greg Durrett

摘要:

用于文本处理的变分自编码器(VAE)的标志是它们将强大的编码器-解码器模型(例如LSTM)与简单的潜在分布(通常是多变量高斯分布)相结合。这些模型提出了一个困难的优化问题:有一个特别糟糕的局部最优值,其中变分后验总是等于先验,模型根本不使用潜变量,这是一种“崩溃”,这是由目标的KL发散项所鼓励的。在这项工作中,我们实验与另一种选择的潜在分布,即冯米塞斯-费舍尔(vMF)分布,它把质量的表面上的单位超球体。通过这种先验和后验的选择,KL散度项现在仅取决于vMF分布的方差,使我们能够将其视为固定的超参数。我们表明,这样做不仅避免了KL崩溃,而且在一系列建模条件下,包括循环语言建模和词袋文档建模,始终提供比高斯更好的似然性。对我们的vMF表示的属性的分析表明,它们在其潜在表示中学习到比高斯表示更丰富和更细微的结构。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑