English

Diverse Text Generation via Variational Encoder-Decoder Models with Gaussian Process Priors

Computation and Language 2022-04-05 v1

Abstract

Generating high quality texts with high diversity is important for many NLG applications, but current methods mostly focus on building deterministic models to generate higher quality texts and do not provide many options for promoting diversity. In this work, we present a novel latent structured variable model to generate high quality texts by enriching contextual representation learning of encoder-decoder models. Specifically, we introduce a stochastic function to map deterministic encoder hidden states into random context variables. The proposed stochastic function is sampled from a Gaussian process prior to (1) provide infinite number of joint Gaussian distributions of random context variables (diversity-promoting) and (2) explicitly model dependency between context variables (accurate-encoding). To address the learning challenge of Gaussian processes, we propose an efficient variational inference approach to approximate the posterior distribution of random context variables. We evaluate our method in two typical text generation tasks: paraphrase generation and text style transfer. Experimental results on benchmark datasets demonstrate that our method improves the generation quality and diversity compared with other baselines.

Keywords

Cite

@article{arxiv.2204.01227,
  title  = {Diverse Text Generation via Variational Encoder-Decoder Models with Gaussian Process Priors},
  author = {Wanyu Du and Jianqiao Zhao and Liwei Wang and Yangfeng Ji},
  journal= {arXiv preprint arXiv:2204.01227},
  year   = {2022}
}

Comments

Accepted by 6th Workshop on Structured Prediction for NLP at ACL2022

R2 v1 2026-06-24T10:36:24.550Z