Skip to main content
QUICK REVIEW

[Paper Review] Dictionary-Guided Editing Networks for Paraphrase Generation

Shaohan Huang, Yu Wu|arXiv (Cornell University)|Jun 21, 2018
Topic ModelingComputer Science2 references8 citations
TL;DR

This paper proposes dictionary-guided editing networks that generate paraphrases by selectively replacing words or phrases in the original sentence using a pre-built paraphrase dictionary (PPDB), guided by soft attention mechanisms within a sequence-to-sequence framework. The model outperforms existing sequence-to-sequence baselines on MSCOCO and Quora datasets, achieving state-of-the-art results in BLEU and METEOR scores.

ABSTRACT

An intuitive way for a human to write paraphrase sentences is to replace words or phrases in the original sentence with their corresponding synonyms and make necessary changes to ensure the new sentences are fluent and grammatically correct. We propose a novel approach to modeling the process with dictionary-guided editing networks which effectively conduct rewriting on the source sentence to generate paraphrase sentences. It jointly learns the selection of the appropriate word level and phrase level paraphrase pairs in the context of the original sentence from an off-the-shelf dictionary as well as the generation of fluent natural language sentences. Specifically, the system retrieves a set of word level and phrase level araphrased pairs derived from the Paraphrase Database (PPDB) for the original sentence, which is used to guide the decision of which the words might be deleted or inserted with the soft attention mechanism under the sequence-to-sequence framework. We conduct experiments on two benchmark datasets for paraphrase generation, namely the MSCOCO and Quora dataset. The evaluation results demonstrate that our dictionary-guided editing networks outperforms the baseline methods.

Motivation & Objective

  • To develop a neural paraphrase generation model that mimics human editing behavior by rewriting source sentences using synonym and phrase replacements.
  • To jointly learn the selection of contextually relevant word and phrase paraphrase pairs from an off-the-shelf dictionary (PPDB) and the generation of fluent, grammatically correct paraphrases.
  • To improve upon existing sequence-to-sequence models that generate paraphrases from scratch by incorporating explicit editing signals from a lexical resource.
  • To demonstrate that dictionary-guided editing leads to higher-quality paraphrases with better fluency and semantic preservation.

Proposed method

  • The model retrieves word and phrase paraphrase pairs from the Paraphrase Database (PPDB) for each input sentence.
  • It uses a soft attention mechanism to dynamically attend to relevant paraphrase pairs in the dictionary during decoding, guiding word deletion and insertion decisions.
  • The sequence-to-sequence framework is enhanced with an editing attention mechanism that aligns decoder outputs with specific paraphrase pairs from the dictionary.
  • The system jointly optimizes for both paraphrase pair selection and fluent sentence generation using a differentiable attention mechanism.
  • The attention mechanism computes separate scores for deletion and insertion operations, using column-wise normalization to balance the influence of each dictionary pair.
  • The model is trained end-to-end on the MSCOCO and Quora datasets using cross-entropy loss for sequence generation.

Experimental results

Research questions

  • RQ1Can a neural model effectively learn to generate paraphrases by editing the original sentence using a pre-existing paraphrase dictionary?
  • RQ2How well can a dictionary-guided attention mechanism select contextually relevant word and phrase replacements during decoding?
  • RQ3Does incorporating explicit editing signals from a lexical resource improve the fluency and semantic accuracy of generated paraphrases compared to end-to-end generation?
  • RQ4To what extent does the model outperform standard sequence-to-sequence baselines on benchmark paraphrase generation datasets?

Key findings

  • On the MSCOCO dataset, the proposed method achieved a BLEU score of 42.6 and a METEOR score of 31.3, outperforming all baseline methods including VAE-SVG-eq and Residual LSTM.
  • On the Quora dataset, the model achieved a BLEU score of 28.4 and a METEOR score of 30.6 with beam size 10, significantly outperforming the next best baseline, VAE-SVG-eq, which scored 37.1 BLEU and 32.0 METEOR with beam size 10.
  • The visualization of attention mechanisms confirmed that the model learns to align generated words with relevant paraphrase pairs, such as aligning 'television' with the dictionary pair (a tv, a television).
  • The model successfully generated fluent paraphrases by replacing specific words or phrases—e.g., 'make money' with 'earn money'—while maintaining grammatical correctness and semantic equivalence.
  • The ablation study showed that the integration of dictionary-guided attention significantly improves paraphrase quality compared to standard sequence-to-sequence models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.