用于文本生成的注入语法的变分自动编码器
Syntax-Infused Variational Autoencoder for Text Generation
摘要:
我们提出了一个注入语法的变分自动编码器(SIVAE),它将句子与它们的语法树相结合,以提高生成的句子的语法。与现有的基于VAE的文本生成模型不同,SIVAE包含两个独立的潜在空间,用于句子和句法树。通过优化一个包含两个编码器和两个解码器的联合分布,相应地重新设计了证据下限目标。SIVAE与长短期记忆体系结构一起工作,同时生成句子和语法树。两个版本的SIVAE提出:一个通过条件先验网络捕获的潜在变量之间的依赖关系,和其他处理的潜在变量独立,这样可以进行句法控制的句子生成。实验结果表明,SIVAE在重建和有针对性的句法评价上都具有生成优势。最后,我们表明,所提出的模型可以用于无监督释义给定不同的句法树模板。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。