On the Encoder-Decoder Incompatibility in Variational Text Modeling and Beyond

Chen Wu, Prince Zizhuang Wang, William Yang Wang
4/20/2020
cs.CLcs.LGstat.ML

Official code: ChenWu98/Coupled-VAE (5 stars, Python, last commit 2021-11-26).

Abstract

Variational autoencoders (VAEs) combine latent variables with amortized variational inference, whose optimization usually converges into a trivial local optimum termed posterior collapse, especially in text modeling. By tracking the optimization dynamics, we observe the encoder-decoder incompatibility that leads to poor parameterizations of the data manifold.

Show full abstract

We argue that the trivial local optimum may be avoided by improving the encoder and decoder parameterizations since the posterior network is part of a transition map between them. To this end, we propose Coupled-VAE, which couples a VAE model with a deterministic autoencoder with the same structure and improves the encoder and decoder parameterizations via encoder weight sharing and decoder signal matching. We apply the proposed Coupled-VAE approach to various VAE models with different regularization, posterior family, decoder structure, and optimization strategy. Experiments on benchmark datasets (i.e., PTB, Yelp, and Yahoo) show consistently improved results in terms of probability estimation and richness of the latent space. We also generalize our method to conditional language modeling and propose Coupled-CVAE, which largely improves the diversity of dialogue generation on the Switchboard dataset.

View on arXivView PDF

Code Implementations(1)

Code for the ACL 2020 paper ``On the Encoder-Decoder Incompatibility in Variational Text Modeling and Beyond``

50Python, PerlJun 23, 20205 years ago
machine-learningnatural-language-processingvariational-autoencoders

Similar Papers

Cite this paper

@article{wu2020encoderdecoder,
  title  = {On the Encoder-Decoder Incompatibility in Variational Text Modeling and Beyond},
  author = {Chen Wu and Prince Zizhuang Wang and William Yang Wang},
  year   = {2020},
  eprint = {2004.09189},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.09189}
}

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

Discussion