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

基于序贯成对鉴别器的语义句子嵌入学习

Learning Semantic Sentence Embeddings using Sequential Pair-wise Discriminator

Indian Institute of Technology, Kanpur(坎普尔印度理工学院)

Badri N. Patro, Vinod K. Kurmi, Sandeep Kumar, Vinay P. Namboodiri

摘要:

在本文中,我们提出了一种方法来获得双级嵌入。虽然安全字级嵌入的问题是非常好的研究,我们提出了一种新的方法来获得嵌入级嵌入。这是通过解决释义生成任务的上下文中的简单方法获得的。如果我们使用顺序编码器-解码器模型来生成释义,我们希望生成的释义在语义上接近原始句子。确保这一点的一种方法是通过添加约束,使真正的释义嵌入接近,而不相关的释义候选句子嵌入远离。这是通过使用顺序的成对递归来确保的,该递归与用合适的损失函数训练的编码器共享权重。我们的损失函数惩罚释义句子嵌入距离过大。这种损失与顺序编码器-解码器网络结合使用。我们还通过评估情感分析任务的嵌入来验证我们的方法。所提出的方法实现了语义嵌入,并且在标准数据集上的释义生成和情感分析任务方面优于最先进的方法。这些结果也显示出统计学显著性。

英文摘要:

In this paper, we propose a method for obtaining sentence-level embeddings. While the problem of securing word-level embeddings is very well studied, we propose a novel method for obtaining sentence-level embeddings. This is obtained by a simple method in the context of solving the paraphrase generation task. If we use a sequential encoder-decoder model for generating paraphrase, we would like the generated paraphrase to be semantically close to the original sentence. One way to ensure this is by adding constraints for true paraphrase embeddings to be close and unrelated paraphrase candidate sentence embeddings to be far. This is ensured by using a sequential pair-wise discriminator that shares weights with the encoder that is trained with a suitable loss function. Our loss function penalizes paraphrase sentence embedding distances from being too large. This loss is used in combination with a sequential encoder-decoder network. We also validated our method by evaluating the obtained embeddings for a sentiment analysis task. The proposed method results in semantic embeddings and outperforms the state-of-the-art on the paraphrase generation and sentiment analysis task on standard datasets. These results are also shown to be statistically significant.

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

↑