A Retrieve-and-Rewrite Initialization Method for Unsupervised Machine Translation

Shuo Ren, Yu Wu, Shujie Liu, Ming Zhou, Shuai Ma

Abstract

Unsupervised Machine Translation (UMT) aims to translate between languages using only monolingual corpora. Traditional methods often struggle with a "cold start" phase that relies on word-level mappings, leading to structural errors and noise amplification. This paper introduces a Retrieve-and-Rewrite (RR) initialization method that identifies semantically similar sentences in monolingual data and employs a specialized model to refine them into high-quality pseudo-parallel pairs. Experimental results show that RR significantly outperforms existing non-pre-trained baselines, narrowing the gap with large-scale pre-trained models.

Addressing the "Cold Start" in Unsupervised Translation

Unsupervised Machine Translation (UMT) is often considered the "holy grail" of translation research: teaching a system to translate between languages using only independent monolingual texts (e.g., English news and Chinese news) without any direct translation examples.

Standard UMT approaches typically begin with a "cold start" initialization phase based on mapping individual words or n-grams across languages. However, this approach suffers from two major flaws:

  1. Structural Loss: It fails to capture complex sentence structures and hierarchical relationships.
  2. Noise Propagation: Initial translation tables are often error-prone. These errors are amplified during the subsequent iterative "back-translation" training phase, potentially trapping the model in a mediocre search space.

The Retrieve-and-Rewrite (RR) Framework

To overcome these limitations, the authors propose a three-step pipeline designed to create a more robust starting point for UMT.

Overview of the Retrieve-and-Rewrite (RR) pipeline for unsupervised machine translation.

1. Similar Sentence Retrieval

Using unsupervised cross-lingual sentence embeddings, the system scans two monolingual corpora to find pairs that are semantically similar but not identical. This provides a foundation of "near-parallel" data.

2. Target Sentence Rewriting

The core innovation lies in the rewriting model. Since retrieved sentences are rarely perfect translations, a modified Transformer model is used to "fix" the target sentence. The process involves:

  • Alignment: Using GIZA++ to identify unaligned words in the target sentence.
  • Deletion and Filling: Unaligned target words are deleted, and the rewriting model fills these gaps using "missing information" extracted from the source sentence.
  • Memory Encoder: The model uses a specialized encoder that focuses on the semantic content of unaligned source words rather than their order, providing greater flexibility during rewriting.

3. Initialization and Training

The rewritten pairs serve as high-quality pseudo-parallel data. Interestingly, the authors found that training a Neural Machine Translation (NMT) model directly on these pairs was ineffective (BLEU < 10). Instead, they use the data to train a Phrase-Based Statistical Machine Translation (PBSMT) model first. PBSMT is more robust to noise and acts as a "bridge," generating cleaner data to "warm up" the final NMT model before standard iterative back-translation begins.

Experimental Results

The RR method was evaluated on English-French (en-fr), English-German (en-de), and English-Chinese (en-zh) benchmarks. Notably, this study provides the first reported unsupervised results for the WMT17 en-zh benchmark.

Comparison of BLEU scores between the RR method and previous state-of-the-art unsupervised translation models.

The RR method achieved an average improvement of 4.63 BLEU scores over the best non-pre-trained baselines. On the English-French task, the model reached 34.0 BLEU, making it competitive with massive pre-trained models like XLM, despite using significantly fewer computational resources. Ablation studies confirmed that the "Rewriting" step alone contributed approximately 4 BLEU points over simple retrieval, highlighting the necessity of editing near-parallel data.

Limitations and Future Work

While highly effective, the RR method has some trade-offs:

  • Computational Cost: Searching through millions of sentences for retrieval is more intensive than simple n-gram mapping.
  • Synthetic Data Dependency: The rewriting model relies on synthetic noise for training, and its performance is tied to how well this noise mimics real-world retrieval gaps.
  • Embedding Quality: The pipeline's success is contingent on the quality of the initial unsupervised cross-lingual word embeddings, which may vary for low-resource language pairs.

Summary updated

BibTeX
@inproceedings{ren2020retrieve,
  author = {Shuo Ren and Yu Wu and Shujie Liu and Ming Zhou and Shuai Ma},
  title = {{A Retrieve-and-Rewrite Initialization Method for Unsupervised Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.320},
}
Figure