Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Riemannian Normalizing Flow on Variational Wasserstein Autoencoder for Text Modeling

Prince Zizhuang Wang, William Yang Wang


Abstract
Recurrent Variational Autoencoder has been widely used for language modeling and text generation tasks. These models often face a difficult optimization problem, also known as KL vanishing, where the posterior easily collapses to the prior and model will ignore latent codes in generative tasks. To address this problem, we introduce an improved Variational Wasserstein Autoencoder (WAE) with Riemannian Normalizing Flow (RNF) for text modeling. The RNF transforms a latent variable into a space that respects the geometric characteristics of input space, which makes posterior impossible to collapse to the non-informative prior. The Wasserstein objective minimizes the distance between marginal distribution and the prior directly and therefore does not force the posterior to match the prior. Empirical experiments show that our model avoids KL vanishing over a range of datasets and has better performance in tasks such as language modeling, likelihood approximation, and text generation. Through a series of experiments and analysis over latent space, we show that our model learns latent distributions that respect latent space geometry and is able to generate sentences that are more diverse.
Anthology ID:
N19-1025
Volume:
Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)
Month:
June
Year:
2019
Address:
Minneapolis, Minnesota
Editors:
Jill Burstein, Christy Doran, Thamar Solorio
Venue:
NAACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
284–294
Language:
URL:
https://aclanthology.org/N19-1025
DOI:
10.18653/v1/N19-1025
Bibkey:
Cite (ACL):
Prince Zizhuang Wang and William Yang Wang. 2019. Riemannian Normalizing Flow on Variational Wasserstein Autoencoder for Text Modeling. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 284–294, Minneapolis, Minnesota. Association for Computational Linguistics.
Cite (Informal):
Riemannian Normalizing Flow on Variational Wasserstein Autoencoder for Text Modeling (Wang & Wang, NAACL 2019)
Copy Citation:
PDF:
https://aclanthology.org/N19-1025.pdf
Software:
 N19-1025.Software.tar
Presentation:
 N19-1025.Presentation.pptx
Code
 kingofspace0wzz/wae-rnf-lm