Neural Syntactic Preordering for Controlled Paraphrase Generation

Tanya Goyal, Greg Durrett
5/5/2020
114 citations
cs.CL

Official code: tagoyal/sow-reap-paraphrasing (75 stars, Python, last commit 2024-07-25).

Abstract

Paraphrasing natural language sentences is a multifaceted process: it might involve replacing individual words or short phrases, local rearrangement of content, or high-level restructuring like topicalization or passivization. Past approaches struggle to cover this space of paraphrase possibilities in an interpretable manner.

Show full abstract

Our work, inspired by pre-ordering literature in machine translation, uses syntactic transformations to softly "reorder'' the source sentence and guide our neural paraphrasing model. First, given an input sentence, we derive a set of feasible syntactic rearrangements using an encoder-decoder model. This model operates over a partially lexical, partially syntactic view of the sentence and can reorder big chunks. Next, we use each proposed rearrangement to produce a sequence of position embeddings, which encourages our final encoder-decoder paraphrase model to attend to the source words in a particular order. Our evaluation, both automatic and human, shows that the proposed system retains the quality of the baseline approaches while giving a substantial increase in the diversity of the generated paraphrases

View on arXivView PDF

Code Implementations(1)

Contains data/code for the paper "Neural Syntactic Preordering for Controlled Paraphrase Generation" (ACL 2020).

758Python, ShellApr 28, 20202 years ago

Similar Papers

Cite this paper

@article{goyal2020neural,
  title  = {Neural Syntactic Preordering for Controlled Paraphrase Generation},
  author = {Tanya Goyal and Greg Durrett},
  year   = {2020},
  eprint = {2005.02013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.02013}
}

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/2005.02013.svg)](https://codeofpaper.com/paper/2005.02013)

Discussion