Zero-Shot Paraphrase Generation with Multilingual Language Models

Yinpeng Guo, Yi Liao, Xin Jiang, Qing Zhang, Yibo Zhang, Qun Liu

Abstract

Researchers from Huawei Noah’s Ark Lab have developed a method to generate high-quality paraphrases without dedicated paraphrase datasets. By repurposing a multilingual Transformer-based language model (TLM) trained on standard translation data, they achieve single-step paraphrase generation. This approach significantly reduces "semantic drift" and computational overhead compared to traditional round-trip translation methods. Key innovations include the use of language embeddings, multilingual regularization, and denoising auto-encoders to enhance diversity and relevance.

Introduction: The Challenge of Paraphrasing

Paraphrase generation—the task of rewriting a sentence while preserving its original meaning—is a cornerstone of natural language processing, supporting applications from chatbots to data augmentation. However, the scarcity of high-quality paraphrase corpora makes training supervised models difficult.

A common workaround is pivoting (round-trip translation), where a sentence is translated into a pivot language and then back to the source language. While functional, pivoting suffers from three major drawbacks:

  1. Semantic Drift: Errors accumulate across two translation steps, often distorting the original meaning.
  2. Inefficiency: The process requires two full inference passes through machine translation models.
  3. Optimization Difficulty: Tuning the end-to-end pipeline as a single system is complex.

The Proposed Zero-Shot Approach

The authors propose a single-step, zero-shot method using a decoder-only Transformer-based Language Model (TLM).

The "Zero-Shot" Trick

The model is trained on concatenated pairs of parallel sentences (e.g., [English Sentence] [Delimiter] [French Translation]). During inference, the model is "tricked": it is given an English source sentence but prompted with an English language identifier for the output. Since the model has learned that the text following the delimiter should be a semantically equivalent version of the input, it generates an English paraphrase.

Zero-shot paraphrase generation architecture. The model is prompted with the same language tag for both input and output to trigger paraphrasing.

Enhancing Robustness and Diversity

To ensure high-quality outputs, several techniques were integrated:

  • Language Embeddings: Specific embeddings are added to every token to prevent the model from switching languages unexpectedly.
  • Denoising Auto-Encoder (DAE): During training, the input is intentionally corrupted (e.g., word deletion or reordering). This forces the model to capture the "essence" of the sentence rather than relying on simple copying, thereby increasing paraphrase creativity.
  • Multilingual Pre-training: The model is pre-trained on massive monolingual corpora (like Wikipedia) to ensure linguistic fluency.

Experimental Setup

The model was trained on a combination of two large multilingual translation datasets:

  • MultiUN: Official United Nations documents in six languages.
  • OpenSubtitles: Conversational movie and TV subtitles.
  • Languages: The study focused on English, Spanish, Russian, and Chinese.
  • Pre-training: English Wikipedia (approx. 2.5 billion words) provided a foundation for fluency.

Evaluation and Performance

The proposed model was compared against a standard round-trip translation baseline using both automatic metrics and human evaluation.

Key Results

  • Human Evaluation: On a 1-5 scale, the multilingual model outperformed pivoting in both Relevance (3.43 vs. 2.72) and Fluency (3.75 vs. 3.61).
  • Efficiency: By requiring only a single decoding pass, the system is significantly faster and less resource-intensive than pivoting.
  • Multilingual Regularization: A key finding was that multilingual models (trained on four languages) outperformed bilingual ones. This suggests that multilingual training acts as a regularizer, forcing the model to learn language-agnostic semantic representations.

Diversity vs. Similarity Trade-off

The researchers analyzed the trade-off between semantic similarity (cosine similarity of embeddings) and lexical diversity (distinct-2 and inverse self-bleu).

Performance trade-offs across different model configurations. Multilingual models with pre-training and DAE show superior Pareto frontiers for diversity and similarity.

As shown in the figures, the "ours" models consistently achieve a better balance between keeping the meaning (high cosine similarity) and changing the wording (high distinct-2/inverse self-bleu) compared to the round-trip baseline.

Conclusion and Future Work

This research demonstrates that multilingual translation models can be effectively repurposed for zero-shot paraphrase generation. By eliminating the intermediate pivot language, the model avoids the "bottleneck" of a single translated sentence and explores a wider space of paraphrases. Future work aims to refine the balance between diversity and relevance and explore multi-modal data to further improve latent semantic representations.

Summary updated

BibTeX
@misc{guo2019zero,
  author = {Yinpeng Guo and Yi Liao and Xin Jiang and Qing Zhang and Yibo Zhang and Qun Liu},
  title = {{Zero-Shot Paraphrase Generation with Multilingual Language Models}},
  year = {2019},
  eprint = {1911.03597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.03597},
}
Figure