arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.05534cs.LGstat.ML
收藏

变分自编码器的滞后推理网络和后验崩溃

Lagging Inference Networks and Posterior Collapse in Variational Autoencoders

Carnegie Mellon University(卡内基梅隆大学);University of California San Diego(加利福尼亚大学圣地亚哥分校)

Junxian He, Daniel Spokoyny, Graham Neubig, Taylor Berg-Kirkpatrick

摘要:

变分自编码器(VAE)是深度潜变量模型和伴随的变分学习技术的流行组合。通过使用神经推理网络来近似模型对潜在变量的后验,VAE有效地参数化了可以通过梯度方法直接优化的边缘数据可能性的下限。然而,在实践中,VAE训练通常会导致退化的局部最优,称为“后验崩溃”,其中模型学会忽略潜在变量,近似后验模拟先验。在本文中,我们从训练动力学的角度研究后塌陷。我们发现,在训练的初始阶段,推理网络无法近似模型的真实后验,这是一个移动的目标。结果,模型被鼓励忽略潜在的编码,并发生后验崩溃。基于这一观察,我们提出了一个非常简单的修改VAE训练,以减少推理滞后:根据模型的当前互信息之间的潜在变量和观察,我们积极优化推理网络之前执行每个模型更新。尽管既没有引入新的模型组件,也没有显着的复杂性,基本VAE,我们的方法是能够避免崩溃的问题,困扰了大量的以前的工作。从经验上讲,我们的方法在文本和图像基准上的表现优于强自回归基线,并且与更复杂的技术相比具有竞争力,可以避免崩溃,同时速度更快。

英文摘要:

The variational autoencoder (VAE) is a popular combination of deep latent variable model and accompanying variational learning technique. By using a neural inference network to approximate the model's posterior on latent variables, VAEs efficiently parameterize a lower bound on marginal data likelihood that can be optimized directly via gradient methods. In practice, however, VAE training often results in a degenerate local optimum known as "posterior collapse" where the model learns to ignore the latent variable and the approximate posterior mimics the prior. In this paper, we investigate posterior collapse from the perspective of training dynamics. We find that during the initial stages of training the inference network fails to approximate the model's true posterior, which is a moving target. As a result, the model is encouraged to ignore the latent encoding and posterior collapse occurs. Based on this observation, we propose an extremely simple modification to VAE training to reduce inference lag: depending on the model's current mutual information between latent variable and observation, we aggressively optimize the inference network before performing each model update. Despite introducing neither new model components nor significant complexity over basic VAE, our approach is able to avoid the problem of collapse that has plagued a large amount of previous work. Empirically, our approach outperforms strong autoregressive baselines on text and image benchmarks in terms of held-out likelihood, and is competitive with more complex techniques for avoiding collapse while being substantially faster.

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

↑