Abstract
Paraphrase generation is often limited by the scarcity of high-quality, domain-specific annotated datasets. This paper presents ConRPG (Contextual Regularized Paraphrase Generation), an unsupervised framework grounded in the principle that sentences sharing identical contexts are likely semantically equivalent. By leveraging a large-scale Contextual Language Model (Context-LM) to generate and filter candidates from unlabeled text, ConRPG achieves state-of-the-art results in unsupervised settings and demonstrates strong performance in supervised and cross-domain tasks.
Introduction
Paraphrase generation—the task of rewriting a sentence while preserving its meaning—is a core challenge in natural language processing. However, the field faces a "supervision bottleneck": high-quality, human-annotated paraphrase datasets like Quora Question Pairs are expensive to construct and often restricted to narrow domains.
Existing unsupervised methods attempt to circumvent this but often fall into a catch-22. Models rewarded for proximity to the source sentence produce redundant, nearly identical outputs, while those rewarded for diversity frequently suffer from semantic drift. ConRPG addresses this by using surrounding context as an automated proxy for semantic identicalness, allowing for high-quality paraphrase generation without ground-truth labels.
Methodology
ConRPG employs a four-step pipeline to transform massive unlabeled corpora into a high-quality paraphrase generation system:
- Context-LM Pretraining: A Transformer-based language model is trained on a 10-billion-token subset of CommonCrawl to predict missing sentences based on their left and right contexts.
- Candidate Generation: For a given context, the Context-LM uses diverse decoding to produce multiple candidate sentences that fit the same "hole" in the text.
- Paraphrase Filtering: To ensure semantic integrity, candidates are filtered using a multi-part scoring function comprising a Context-LM Score (fit), a Diversity Score (syntactic variation), and a Mutual Generation Score (a back-translation check based on the ease of reconstruction).
- Final Model Training: The resulting high-confidence pairs are used to train a standard Seq2Seq Transformer model.
Experimental Setup
The framework was evaluated across four diverse datasets: Quora Question Pairs (140K pairs), Wikianswers (2.3M pairs), MSCOCO (image captions), and Twitter (shared URLs). The Context-LM was pretrained on a massive subset of CommonCrawl to ensure broad linguistic coverage.
Key Results and Insights
ConRPG demonstrated state-of-the-art performance across both unsupervised and supervised benchmarks.
- Unsupervised Superiority: On the Quora dataset, ConRPG achieved an iBLEU of 12.68, surpassing previous unsupervised leaders like UPSA (12.03).
- Supervised Gains: When used as a pre-training step for supervised models, ConRPG reached 19.96 iBLEU on Quora, outperforming the strong DNPG baseline by approximately 2 points.
- Domain Adaptation: The model showed significant "zero-shot" capabilities. When trained on Wikianswers and tested on Quora, it outperformed competitors, suggesting that context-based regularizers learn more generalizable semantic patterns than traditional methods.
Human evaluations further corroborated these metrics, with ConRPG receiving higher scores for semantics, diversity, and fluency compared to back-translation and corruption-based baselines.
Limitations and Future Work
While effective, the ConRPG pipeline is computationally intensive due to its multi-stage nature. Additionally, the model's reliance on a fixed context window may occasionally miss subtle nuances in very long-range dependencies. Future research will focus on streamlining the architecture into an end-to-end system and expanding the context window to capture more complex semantic relationships.
Summary updated