arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.03765cs.LGcs.CVstat.ML
收藏

在VAE的ELBO中平衡重建质量和规范化

Balancing Reconstruction Quality and Regularisation in ELBO for VAEs

University of Oxford(牛津大学);Imperial College London(伦敦帝国学院)

Shuyu Lin, Stephen Roberts, Niki Trigoni, Ronald Clark

摘要:

在重建质量和变分自编码器(VAE)模型用于学习的证据下限(ELBO)损失中的先验正则化之间存在折衷。很少有令人满意的方法来处理先验和重建目标之间的平衡,大多数方法都是通过几何学来处理这个问题的。在本文中,我们证明了高斯似然p(x)中的噪声方差(通常设置为固定值)|z)可以自然地用于提供这种平衡。通过学习这个噪声方差,以最大限度地提高ELBO损失,我们自动获得重建误差和先验约束之间的最佳权衡后验。这个方差可以直观地解释为当前模型对观测数据集的最佳解释所必需的噪声水平。此外,通过允许方差推断更灵活,它可以方便地用作重构或生成的样本的不确定性估计器。我们证明了优化噪声方差是VAE学习的关键组成部分,并展示了MNIST,Fashion MNIST和CelebA数据集的性能。我们发现我们的方法可以显着提高生成的样本的质量,同时保持一个光滑的潜在空间流形来表示数据。该方法还提供了在最终生成模型的不确定性的指示。

英文摘要:

A trade-off exists between reconstruction quality and the prior regularisation in the Evidence Lower Bound (ELBO) loss that Variational Autoencoder (VAE) models use for learning. There are few satisfactory approaches to deal with a balance between the prior and reconstruction objective, with most methods dealing with this problem through heuristics. In this paper, we show that the noise variance (often set as a fixed value) in the Gaussian likelihood p(x|z) for real-valued data can naturally act to provide such a balance. By learning this noise variance so as to maximise the ELBO loss, we automatically obtain an optimal trade-off between the reconstruction error and the prior constraint on the posteriors. This variance can be interpreted intuitively as the necessary noise level for the current model to be the best explanation of the observed dataset. Further, by allowing the variance inference to be more flexible it can conveniently be used as an uncertainty estimator for reconstructed or generated samples. We demonstrate that optimising the noise variance is a crucial component of VAE learning, and showcase the performance on MNIST, Fashion MNIST and CelebA datasets. We find our approach can significantly improve the quality of generated samples whilst maintaining a smooth latent-space manifold to represent the data. The method also offers an indication of uncertainty in the final generative model.

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

↑