Syntax-Infused Variational Autoencoder for Text Generation

06/05/2019
by   Xinyuan Zhang, et al.
0

We present a syntax-infused variational autoencoder (SIVAE), that integrates sentences with their syntactic trees to improve the grammar of generated sentences. Distinct from existing VAE-based text generative models, SIVAE contains two separate latent spaces, for sentences and syntactic trees. The evidence lower bound objective is redesigned correspondingly, by optimizing a joint distribution that accommodates two encoders and two decoders. SIVAE works with long short-term memory architectures to simultaneously generate sentences and syntactic trees. Two versions of SIVAE are proposed: one captures the dependencies between the latent variables through a conditional prior network, and the other treats the latent variables independently such that syntactically-controlled sentence generation can be performed. Experimental results demonstrate the generative superiority of SIVAE on both reconstruction and targeted syntactic evaluations. Finally, we show that the proposed models can be used for unsupervised paraphrasing given different syntactic tree templates.

READ FULL TEXT
research
08/27/2019

Text Modeling with Syntax-Aware Variational Autoencoders

Syntactic information contains structures and rules about how text sente...
research
07/06/2019

Generating Sentences from Disentangled Syntactic and Semantic Spaces

Variational auto-encoders (VAEs) are widely used in natural language gen...
research
12/24/2020

Disentangling semantics in language through VAEs and a certain architectural choice

We present an unsupervised method to obtain disentangled representations...
research
09/20/2018

On Folding and Twisting (and whatknot): towards a characterization of workspaces in syntax

Syntactic theory has traditionally adopted a constructivist approach, in...
research
02/24/2018

Syntax-Directed Variational Autoencoder for Structured Data

Deep generative models have been enjoying success in modeling continuous...
research
09/20/2018

On Folding and Twisting (and whatknot): towards a topological view of syntax

Syntactic theory has traditionally adopted a constructivist approach, in...
research
06/15/2023

Tree Variational Autoencoders

We propose a new generative hierarchical clustering model that learns a ...

Please sign up or login with your details

Forgot password? Click here to reset