arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.01227cs.CL
收藏

基于高斯过程先验的变分编解码器模型的多种文本生成

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

University of Virginia(弗吉尼亚大学);The Chinese University of Hong Kong(香港中文大学)

Wanyu Du, Jianqiao Zhao, Liwei Wang, Yangfeng Ji

摘要:

生成具有高多样性的高质量文本对于许多NLG应用是重要的,但是当前的方法大多集中于构建确定性模型以生成更高质量的文本,并且没有提供许多促进多样性的选项。在这项工作中,我们提出了一种新的潜在结构变量模型,以产生高质量的文本,丰富上下文表示学习的编码器-解码器模型。具体来说,我们引入一个随机函数来将确定性编码器隐藏状态映射到随机上下文变量。所提出的随机函数是从高斯过程中采样的,然后(1)提供随机上下文变量的无限数量的联合高斯分布(多样性促进)和(2)明确地建模上下文变量之间的依赖性(准确编码)。为了解决高斯过程的学习挑战,我们提出了一种有效的变分推理方法来近似随机上下文变量的后验分布。我们评估我们的方法在两个典型的文本生成任务:释义生成和文本风格转移。在基准数据集上的实验结果表明,与其他基线相比,该方法提高了生成质量和多样性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑