Abstract
The Paraphrase Database (PPDB) is a vital resource for Natural Language Processing, yet its default rankings are context-independent. This study investigates the use of unsupervised distributional semantic models to rank paraphrases based on their "substitutability" within a specific sentence. By creating contextualized vectors, the proposed models—Bow.Vec, Filter.Vec, and Syn.Vec—significantly outperform standard context-unaware metrics like PPDB 2.0. Evaluation on the COINCO corpus demonstrates that these models are robust across varying PPDB sizes, maintaining high performance even as the number of candidates increases.
Introduction
The Paraphrase Database (PPDB) contains millions of automatically generated word and phrase pairings. However, it suffers from a significant "contextual blind spot." For instance, while "bank" can be paraphrased as "shore" or "financial institution," only the former is appropriate in the context of a "river bank." Existing PPDB rankings often rely on static features like word embedding similarity or formality, failing to account for the surrounding sentential context. This paper addresses the challenge of context-based paraphrase ranking: selecting the most appropriate substitute for a target word given its specific usage in a sentence.
Methodology
The authors propose using distributional semantic models to generate "contextualized" vectors. Unlike static vectors, these models adjust a word's representation based on its neighbors. Three variants are evaluated:
Bow.Vec(Bag-of-Words): Modifies the target vector using a window of ±5 surrounding words.Filter.Vec(Syntactically Filtered): Utilizes dependency-based co-occurrence (e.g., verb-object relations) without explicit role labeling.Syn.Vec(Syntactically Structured): Explicitly incorporates syntactic roles (e.g., "subject," "modifier") into the vector representation.
The ranking process involves calculating the cosine similarity between the contextualized vector of a target word $w$ in context $c$ and the out-of-context vectors of potential paraphrase candidates from PPDB. The candidates with the highest similarity are ranked at the top.
Experimental Setup
The models were evaluated using the COINCO corpus, a subset of the Manually Annotated Sub-Corpus (MASC), containing over 15,000 word instances with human-annotated valid substitutes. Testing spanned multiple PPDB package sizes, from Small (S) to Extra-Extra-Large (XXL), to assess performance across different levels of precision and coverage.
As shown in Figure 1, the complexity of the ranking task increases significantly with the package size. In the XXL package, the average number of paraphrase candidates per lemma reaches 185.09, presenting a substantial challenge for ranking algorithms.
Results and Analysis
Performance was measured using Generalized Average Precision (GAP), where a score of 1.0 represents a perfect ranking. The results indicate that contextualized vector models consistently outperform context-unaware baselines.
As illustrated in Figure 2, the vector models achieved GAP scores of approximately 0.91 on the "L" size PPDB package, markedly higher than the 0.83 achieved by the Ppdb2 baseline. Even in the challenging XXL package, where a random baseline scores only 0.27, the Filter.Vec model maintained a GAP of 0.57, demonstrating its ability to identify relevant substitutes among hundreds of candidates.
Key findings include:
- Substitutability vs. Similarity: Shifting focus to context-dependent substitutability is crucial for downstream tasks like machine translation or text simplification.
- Unsupervised Advantage: These models are language-independent and do not require hand-labeled training data, facilitating application across the 21 languages supported by PPDB.
- Syntactic Utility: While the Bag-of-Words model (
Bow.Vec) is effective, syntactically informed models (Syn.VecandFilter.Vec) provide superior rankings as the candidate pool grows.
Conclusion
This research demonstrates that unsupervised vector-space models can effectively bridge the contextual gap in paraphrase ranking. While syntactic models offer higher accuracy, they come with the computational cost of dependency parsing. Future work includes extending this approach to multi-word phrasal paraphrases, integrating context-aware rankings into MT evaluation metrics like METEOR, and conducting multilingual evaluations to confirm the method's language-independent efficacy.
Summary updated