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

用于可解释文本生成的离散指数族混合VAE

Dispersed Exponential Family Mixture VAEs for Interpretable Text Generation

ByteDance AI lab(字节跳动人工智能实验室)

Wenxian Shi, Hao Zhou, Ning Miao, Lei Li

摘要:

深度生成模型通常用于生成图像和文本。这些模型的可解释性是一个重要的追求,而不是生成质量。以高斯分布为先验的变分自动编码器(VAE)已成功地应用于文本生成,但其潜在变量的含义难以解释。为了增强可控制性和可解释性,可以用混合高斯分布(GM-VAE)代替高斯先验,其混合分量可以与数据的隐藏语义方面相关。在本文中,我们推广的做法,并介绍了DEM-VAE,一类模型的文本生成VAE具有混合分布的指数族。不幸的是,标准的变分训练算法由于模式崩溃问题而失败。我们从理论上找出了问题的根源,并提出了一个有效的算法来训练DEM-VAE。我们的方法通过额外的分散项来惩罚训练,以诱导结构良好的潜在空间。实验结果表明,我们的方法确实获得了一个有意义的空间,它优于强基线的文本生成基准。该代码可在https://github.com/wenxianxian/demvae上获得。

英文摘要:

Deep generative models are commonly used for generating images and text. Interpretability of these models is one important pursuit, other than the generation quality. Variational auto-encoder (VAE) with Gaussian distribution as prior has been successfully applied in text generation, but it is hard to interpret the meaning of the latent variable. To enhance the controllability and interpretability, one can replace the Gaussian prior with a mixture of Gaussian distributions (GM-VAE), whose mixture components could be related to hidden semantic aspects of data. In this paper, we generalize the practice and introduce DEM-VAE, a class of models for text generation using VAEs with a mixture distribution of exponential family. Unfortunately, a standard variational training algorithm fails due to the mode-collapse problem. We theoretically identify the root cause of the problem and propose an effective algorithm to train DEM-VAE. Our method penalizes the training with an extra dispersion term to induce a well-structured latent space. Experimental results show that our approach does obtain a meaningful space, and it outperforms strong baselines in text generation benchmarks. The code is available at https://github.com/wenxianxian/demvae.

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

↑