Implicit Deep Latent Variable Models for Text Generation

Le Fang, Chunyuan Li, Jianfeng Gao, Wen Dong, Changyou Chen
8/30/2019
cs.LGcs.CLstat.ML

Official code: fangleai/Implicit-LVM (55 stars, OpenEdge ABL, last commit 2022-03-11).

Abstract

Deep latent variable models (LVM) such as variational auto-encoder (VAE) have recently played an important role in text generation. One key factor is the exploitation of smooth latent structures to guide the generation.

Show full abstract

However, the representation power of VAEs is limited due to two reasons: (1) the Gaussian assumption is often made on the variational posteriors; and meanwhile (2) a notorious "posterior collapse" issue occurs. In this paper, we advocate sample-based representations of variational distributions for natural language, leading to implicit latent features, which can provide flexible representation power compared with Gaussian-based posteriors. We further develop an LVM to directly match the aggregated posterior to the prior. It can be viewed as a natural extension of VAEs with a regularization of maximizing mutual information, mitigating the "posterior collapse" issue. We demonstrate the effectiveness and versatility of our models in various text generation scenarios, including language modeling, unaligned style transfer, and dialog response generation. The source code to reproduce our experimental results is available on GitHub.

View on arXivView PDF

Code Implementations(1)

This code repository presents the pytorch implementation of the paper “Implicit Deep Latent Variable Models for Text Generation”(EMNLP 2019).

558OpenEdge ABL, C++May 3, 20194 years ago

Similar Papers

Cite this paper

@article{fang2019implicit,
  title  = {Implicit Deep Latent Variable Models for Text Generation},
  author = {Le Fang and Chunyuan Li and Jianfeng Gao and Wen Dong and Changyou Chen},
  year   = {2019},
  eprint = {1908.11527},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.11527}
}

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/1908.11527.svg)](https://codeofpaper.com/paper/1908.11527)

Discussion