From Paraphrase Database to Compositional Paraphrase Model and Back

John Wieting, Mohit Bansal, Kevin Gimpel, Karen Livescu

Introduction

In Natural Language Processing, identifying semantic equivalence—paraphrasing—remains a core challenge. While the Paraphrase Database (PPDB) provides a massive repository of phrase pairs, it suffers from limited coverage, a cumbersome nonparametric structure, and reliance on noisy heuristic scores. This research introduces a method to transform PPDB into a flexible, parametric model. By fine-tuning word embeddings on paraphrase pairs, the authors develop PARAGRAM vectors, which achieve state-of-the-art results on semantic similarity tasks and demonstrate that compositional models can effectively generalize meaning beyond static databases.

Methodology

The authors propose a two-step framework to build a parametric paraphrase model:

  1. PARAGRAM Word Vectors: Existing skip-gram word vectors are "fine-tuned" using a margin-based ranking loss. By training on word pairs from PPDB, the model learns to maximize the cosine similarity of true paraphrases while minimizing the similarity of "negative examples" (words that are contextually associated but semantically distinct).
  2. Compositional Models: To represent phrases, the study compares two primary architectures:
  3. Addition: A simple summation of the PARAGRAM vectors of the constituent words.
  4. Recursive Neural Networks (RNN): A model that follows the grammatical structure (parse tree) of a phrase to compute a unified vector representation.
  5. Contrastive Training: The models are trained to ensure a phrase's vector is more similar to its paraphrase than to any other phrase within a training mini-batch.

Evaluation Datasets

The models were evaluated across several benchmarks:

  • PPDB (XL/XXL): The primary source of training data.
  • SimLex-999: A gold-standard dataset for evaluating semantic similarity (e.g., "buy" vs. "purchase") rather than mere association (e.g., "coffee" vs. "cup").
  • Annotated-PPDB: A new dataset of 1,260 phrase pairs manually scored by humans to evaluate short-phrase paraphrasing.
  • ML-Paraphrase: A re-annotation of the Mitchell and Lapata (2010) bigram similarity dataset, specifically focused on paraphrase relationships.

Key Insights

A critical finding is that association does not equal paraphrase. Standard embeddings often conflate antonyms like "hot" and "cold" due to their similar contexts. PARAGRAM vectors successfully learn that "hot" is semantically closer to "burning" than to its opposite.

Furthermore, the study highlights the importance of initialization. Training an RNN from scratch for phrase composition is notoriously difficult; however, initializing the network with pre-trained PARAGRAM vectors leads to a significant performance leap. This allows the model to "go back" and re-score the original PPDB, producing confidence scores that correlate much more closely with human judgment than the original heuristics.

Results

The PARAGRAM vectors established a new state-of-the-art on the SimLex-999 benchmark.

Performance of PARAGRAM vectors on the SimLex-999 word similarity task compared to baselines.

As shown in the results, PARAGRAM vectors achieved a Spearman correlation of 0.58, significantly outperforming previous best results (0.52) and even massive 1000-dimensional skip-gram models (0.38).

Beyond similarity tasks, the vectors proved effective in downstream applications. When used as initialization for a Convolutional Neural Network (CNN) in sentiment analysis, PARAGRAM vectors improved classification accuracy over standard Word2Vec embeddings.

Downstream sentiment analysis accuracy using different word vector initializations.

On the phrase-level Annotated-PPDB dataset, the RNN model reached a correlation of 0.40, a substantial improvement over the original PPDB heuristic scores of 0.25.

Conclusion and Future Work

The transition from a static database to a parametric model allows for better generalization and more accurate semantic scoring. While simple vector addition is effective for phrases with high lexical overlap, the RNN's structural composition is essential for phrases with no common words.

One limitation noted is the reliance on constituent parse trees, which can be computationally expensive and error-prone for short snippets. Future research may explore dependency syntax as a more robust alternative. Additionally, scaling these compositional models to full-sentence paraphrase recognition remains a significant frontier for the field.

Summary updated

BibTeX
@article{wieting2015from,
  author = {John Wieting and Mohit Bansal and Kevin Gimpel and Karen Livescu},
  title = {{From Paraphrase Database to Compositional Paraphrase Model and Back}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2015},
  url = {https://openreview.net/forum?id=nz2cxNwLzAQ},
}
Figure