Explicit Cross-lingual Pre-training for Unsupervised Machine Translation

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

Introduction

Unsupervised Machine Translation (UMT) represents a significant challenge in natural language processing: learning to translate between languages without any parallel corpora. Current state-of-the-art UMT systems typically rely on cross-lingual pre-training (such as BERT or XLM) to initialize their models. However, these methods often depend on implicit signals, such as shared Byte Piece Encoding (BPE) tokens, to bridge the gap between languages. This reliance is problematic for language pairs with different scripts or complex morphological structures.

This paper introduces CMLM (Cross-lingual Masked Language Model), a novel pre-training objective designed to provide explicit cross-lingual anchors. By leveraging unsupervised n-gram translation tables, CMLM forces the model to learn direct mappings between concepts across languages during the pre-training phase.

Methodology

The authors propose a pipeline to inject explicit cross-lingual knowledge into a Transformer-based architecture through four key stages:

  1. N-gram Translation Table Inferring: Using monolingual data, the system generates unsupervised word embeddings and calculates similarity scores to build a translation table for short sequences (n-grams).
  2. CMLM Pre-training: Unlike standard Masked Language Modeling (MLM) which predicts a masked token from its context, CMLM masks an n-gram in one language and requires the model to predict its translation candidates in another language.
  3. Handling Length Mismatches: To account for the fact that translations often differ in length, the authors integrate IBM Model 2—a classical statistical alignment technique—into the neural loss function to align tokens during training.
  4. Iterative Refinement: The model uses generated "pseudo-parallel" data to update the n-gram translation tables, creating a self-improving loop.
The CMLM pre-training architecture using n-gram translation tables to provide explicit cross-lingual signals.

Experimental Setup and Results

The researchers evaluated CMLM on three diverse language pairs: English-French (en-fr), English-German (en-de), and English-Romanian (en-ro), using monolingual data from NewsCrawl and Wikipedia. Performance was measured using standard WMT newstest benchmarks.

Key Findings

  • Explicit Signals Outperform Implicit Ones: Forcing the model to predict translations (explicit) is significantly more effective than relying on shared subwords (implicit).
  • Initialization is Critical: The quality of the initial translation "guess" is the most decisive factor in the final performance of an unsupervised model.
  • State-of-the-Art Performance: CMLM established new records for unsupervised translation, outperforming the previous leading model (XLM) by an average of 1.7 BLEU points across all tested language pairs. In specific directions like English-to-French and Romanian-to-English, gains exceeded 2.0 BLEU points.
Unsupervised machine translation performance (BLEU) of CMLM compared to various baselines across multiple language pairs.

Beyond translation, the pre-trained encoder achieved record-breaking results on the XNLI zero-shot benchmark, demonstrating a robust, language-agnostic understanding of semantic content.

Limitations and Future Work

While CMLM shows clear advantages, the authors identified a "decoder gap," where pre-training the decoder had a smaller impact than pre-training the encoder. This is likely because the cross-attention mechanism between the encoder and decoder is not initialized during pre-training. Additionally, the iterative process of updating n-gram tables introduces higher computational complexity than one-pass methods. Future research will explore applying CMLM to more distant language pairs and other cross-lingual tasks like Named Entity Recognition (NER).

Summary updated

BibTeX
@inproceedings{ren2019explicit,
  author = {Shuo Ren and Yu Wu and Shujie Liu and Ming Zhou and Shuai Ma},
  title = {{Explicit Cross-lingual Pre-training for Unsupervised Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1071},
}
Figure