arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.13827cs.CLcs.LG
收藏

基于多类Wasserstein GAN的多种释义生成

Towards Diverse Paraphrase Generation Using Multi-Class Wasserstein GAN

Tsinghua University(清华大学);Department of Electronic Engineering, Tsinghua University(清华大学电子工程系);Xiamen University(厦门大学);Department of Communication Engineering, Xiamen University(厦门大学通信工程系);Key Laboratory of Digital Fujian on IoT Communication, Architecture and Security Technology, Xiamen University(厦门大学福建省数字物联网通信、架构与安全技术重点实验室)

Zhecheng An, Sicong Liu

摘要:

释义生成是自然语言处理中一项重要而又具有挑战性的任务。在这项工作中,我们提出了一个深度生成模型来生成具有多样性的释义。我们的模型是基于一个编码器-解码器架构。一个额外的代码转换器被用来将一个句子转换成它的释义潜码。转码器以一个显式的模式嵌入变量为条件,通过对模式嵌入变量进行采样,可以生成不同的释义。我们使用Wasserstein GAN来对齐真实和生成的释义样本的分布。我们对Wasserstein GAN提出了一个多类扩展,它允许我们的生成模型从正样本和负样本中学习。在Wasserstein距离中,所生成的释义分布被强制向正实分布靠拢,并被推离负分布。我们在两个数据集中测试了我们的模型,包括自动度量和人工评估。结果表明,我们的模型可以生成流畅和可靠的释义样本,优于最先进的结果,同时也提供了合理的可变性和多样性。

英文摘要:

Paraphrase generation is an important and challenging natural language processing (NLP) task. In this work, we propose a deep generative model to generate paraphrase with diversity. Our model is based on an encoder-decoder architecture. An additional transcoder is used to convert a sentence into its paraphrasing latent code. The transcoder takes an explicit pattern embedding variable as condition, so diverse paraphrase can be generated by sampling on the pattern embedding variable. We use a Wasserstein GAN to align the distributions of the real and generated paraphrase samples. We propose a multi-class extension to the Wasserstein GAN, which allows our generative model to learn from both positive and negative samples. The generated paraphrase distribution is forced to get closer to the positive real distribution, and be pushed away from the negative distribution in Wasserstein distance. We test our model in two datasets with both automatic metrics and human evaluation. Results show that our model can generate fluent and reliable paraphrase samples that outperform the state-of-art results, while also provides reasonable variability and diversity.

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

↑