Introduction
Generating high-quality paraphrases typically requires large, human-annotated parallel datasets, which are expensive and domain-specific. Researchers from Salesforce Research presented a framework at EMNLP 2021 that leverages pretrained language models (PLMs) like T5 and BART to generate paraphrases in an unsupervised manner. Their approach combines task-adaptive pre-training with a novel decoding algorithm called Dynamic Blocking, achieving results that rival supervised methods.
The Challenge of Identity Mapping
While PLMs possess vast internal knowledge, they suffer from a "copying" problem when used for paraphrasing. Because they are often trained on denoising objectives (reconstructing original text), they tend to output the exact input string—the identity mapping—rather than a creative paraphrase. This work addresses how to force these models to explore alternative syntactic paths while maintaining semantic integrity.
Methodology
The proposed pipeline consists of three distinct stages designed to transform a general-purpose PLM into a robust paraphraser.
1. Task-Adaptation
The model undergoes task-adaptive training on non-parallel domain-specific data. Using a denoising objective involving word deletion and shuffling, the model learns the linguistic patterns of the target domain without seeing any ground-truth paraphrase pairs.
2. Dynamic Blocking (DB)
Dynamic Blocking is the core technical innovation. During autoregressive decoding, if the model generates a token present in the source sentence, DB prevents it from generating the subsequent token from the source sequence for one step. This "soft" constraint discourages word-for-word copying and forces the model to find new syntactic structures.
3. Self-Supervision
The task-adapted model, enhanced by Dynamic Blocking, is used to generate a large synthetic parallel dataset. A final model is then trained on these pseudo-pairs, allowing it to internalize the paraphrasing strategies discovered during the DB phase.
Evaluation and Metrics
The authors introduce BERT-iBLEU, a reference-independent metric that calculates the harmonic mean of semantic similarity (BERT-score) and surface-form dissimilarity (1 - self-BLEU). This metric aligns significantly better with human judgment (68.9% agreement) than traditional BLEU (45.3%).
Key Results
The framework was evaluated on the Quora Question Pairs (QQP) and ParaNMT benchmarks.
- Performance: The unsupervised model achieved state-of-the-art results among unsupervised methods and remained robust across different domains.
- Human Evaluation: In head-to-head tests on ParaNMT, the model's outputs were preferred over human-labeled ground truth 49.5% of the time (with 14.5% ties).
- Cross-Lingual Transfer: The BART-based model demonstrated zero-shot capabilities, successfully paraphrasing German text without any language-specific finetuning.
Limitations and Future Work
Despite its success, the model occasionally experiences semantic drift (e.g., swapping antonyms) or loses named entities. Future work may involve integrating Named Entity Recognition (NER) to protect specific tokens or developing context-aware models to ensure paraphrases fit broader discourse.
Summary updated