Dispersed Exponential Family Mixture VAEs for Interpretable Text Generation

Wenxian Shi, Hao Zhou, Ning Miao, Lei Li
6/16/2019
cs.LGcs.CLstat.ML

Official code: wenxianxian/demvae (28 stars, OpenEdge ABL, Apache-2.0, last commit 2020-07-17).

Abstract

Deep generative models are commonly used for generating images and text. Interpretability of these models is one important pursuit, other than the generation quality.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

wenxianxian/demvaeOfficial100%
Apache-2.0

Dispersed Exponential Family Mixture VAE

282OpenEdge ABL, PythonJul 17, 20206 years agoApache-2.0

Similar Papers

Cite this paper

@article{shi2019dispersed,
  title  = {Dispersed Exponential Family Mixture VAEs for Interpretable Text Generation},
  author = {Wenxian Shi and Hao Zhou and Ning Miao and Lei Li},
  year   = {2019},
  eprint = {1906.06719},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.06719}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.06719.svg)](https://codeofpaper.com/paper/1906.06719)

Discussion