Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation

Ruizhe Li, Xiao Li, Guanyi Chen, Chenghua Lin
11/2/2020
cs.CLcs.LG

Official code: ruizheliUOA/TWR-VAE (5 stars, OpenEdge ABL, MIT, last commit 2020-11-04).

Abstract

The Variational Autoencoder (VAE) is a popular and powerful model applied to text modelling to generate diverse sentences. However, an issue known as posterior collapse (or KL loss vanishing) happens when the VAE is used in text modelling, where the approximate posterior collapses to the prior, and the model will totally ignore the latent variables and be degraded to a plain language model during text generation.

Show full abstract

Such an issue is particularly prevalent when RNN-based VAE models are employed for text modelling. In this paper, we propose a simple, generic architecture called Timestep-Wise Regularisation VAE (TWR-VAE), which can effectively avoid posterior collapse and can be applied to any RNN-based VAE models. The effectiveness and versatility of our model are demonstrated in different tasks, including language modelling and dialogue response generation.

View on arXivView PDF

Code Implementations(1)

MIT

Improving Variational Autoencoder for Text Modelling withTimestep-Wise Regularisation

54OpenEdge ABL, PythonOct 29, 20206 years agoMIT

Similar Papers

Cite this paper

@article{li2020improving,
  title  = {Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation},
  author = {Ruizhe Li and Xiao Li and Guanyi Chen and Chenghua Lin},
  year   = {2020},
  eprint = {2011.01136},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.01136}
}

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

Discussion