Negative Lexically Constrained Decoding for Paraphrase Generation

Tomoyuki KajiwaraACL 2019

Introduction

Paraphrase models often suffer from a "copying habit." In tasks like text simplification or formality transfer, models frequently discover that the safest way to preserve meaning is to simply replicate the input words. This results in conservative paraphrasing where complex or informal terms remain unchanged. This paper introduces a novel decoding strategy that identifies problematic source-style words and uses negative lexical constraints to forbid their appearance in the output, forcing the model to find more appropriate synonyms.

Methodology

The proposed approach is a two-stage decoding strategy that can be applied to any pre-trained sequence-to-sequence model without retraining.

  1. Identification via PMI: The authors use Point-wise Mutual Information (PMI) to identify words strongly associated with the source style (e.g., informal words in a formality transfer task). Words exceeding a threshold $\theta$ are flagged for replacement.
  2. Negative Lexically Constrained Decoding: The standard Beam Search algorithm is modified using Dynamic Beam Allocation. Any hypothesis containing a "forbidden" word is discarded, pushing the model to explore alternative phrasings it learned during training but might otherwise ignore in favor of identity mapping.

Key Insights: The Role of the PMI Threshold

A critical finding is the sensitivity of the model to the PMI threshold $\theta$. As shown in Figure 1, there is a "Goldilocks zone" for this parameter. If $\theta$ is too low, too many words are forbidden, harming fluency; if it is too high, the model reverts to its conservative copying behavior.

BLEU scores on the development set across different PMI thresholds (theta).

Results and Discussion

The proposed PMI-based constraints consistently outperformed base models across all metrics and datasets, including Newsela (simplification) and GYAFC (formality transfer).

Performance comparison of RNN and SAN architectures using base, PMI-constrained, and Oracle decoding strategies.

As detailed in the results table above, the method significantly increased "Add" and "Del" rates, indicating more active editing. For example, on the Newsela task, the SARI score for the Transformer-based (SAN) model improved from 17.8 to 23.3. This demonstrates that by blocking the "easy" path of copying, the model is forced to explore the latent space it learned during training.

Limitations and the "Oracle" Gap

While PMI is effective, it is a simple heuristic. The authors conducted an "Oracle" experiment where the words to be changed were manually identified. The substantial performance gap between the PMI-based approach and the Oracle suggests that the primary bottleneck is the accuracy of identifying target words rather than the decoding algorithm itself. Future work may involve more sophisticated stylistic identification methods, possibly using larger non-parallel corpora to better define stylistic boundaries.

Summary updated

BibTeX
@inproceedings{kajiwara2019negative,
  author = {Tomoyuki Kajiwara},
  title = {{Negative Lexically Constrained Decoding for Paraphrase Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1607},
}
Figure