Revisiting Paraphrase Question Generator using Pairwise Discriminator

Badri N. Patro, Dev Chauhan, Vinod K. Kurmi, Vinay P. Namboodiri
12/31/2019
cs.CLcs.LG

Official code: dev-chauhan/PQG-pytorch (47 stars, Python, MIT, last commit 2021-05-28).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Paraphrase Generation model using pair-wise discriminator loss

4711Python, ShellJul 29, 20195 years agoMIT
anacondadeep-learningnatural-language-generationnatural-language-processingparaphrase-generation+4 more

Similar Papers

Cite this paper

@article{patro2019revisiting,
  title  = {Revisiting Paraphrase Question Generator using Pairwise Discriminator},
  author = {Badri N. Patro and Dev Chauhan and Vinod K. Kurmi and Vinay P. Namboodiri},
  year   = {2019},
  eprint = {1912.13149},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.13149}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.13149.svg)](https://codeofpaper.com/paper/1912.13149)

Discussion