Cross-Lingual Pre-Training Based Transfer for Zero-Shot Neural Machine Translation

Baijun Ji, Zhirui Zhang, Xiangyu Duan, Min Zhang, Boxing Chen, Weihua Luo

Abstract

Zero-shot Neural Machine Translation (NMT) aims to translate between language pairs without parallel data. A significant challenge is the "language space mismatch," where representations of different source languages do not align in the model's feature space. This paper proposes a cross-lingual pre-training strategy using a novel Bridge Language Modeling (BRLM) technique to create a universal encoder. By aligning representations across languages and employing a specific freezing strategy during transfer learning, the proposed method significantly improves zero-shot translation quality, outperforming traditional pivoting and multilingual NMT baselines.

Introduction: The Language Space Mismatch

Translating between language pairs with zero parallel data (zero-shot translation) is a major hurdle in NMT. Traditionally, researchers use pivoting: translating from a source language (e.g., Arabic) to a pivot (e.g., English), and then to the target (e.g., Spanish). However, this process is computationally expensive due to double decoding and prone to error propagation.

An alternative is transfer learning, where a "parent" model trained on a high-resource pair (English→Spanish) is adapted for a "child" pair (Arabic→Spanish). The primary obstacle here is the domain shift or language space mismatch. Even if sentences in different languages share the same meaning, the parent model's encoder, tuned for English, produces internal mathematical representations that do not align with Arabic inputs. Without explicit alignment, the child model fails because it cannot map the new source language into the existing translation pipeline.

Comparison of language space mismatch (left) vs. aligned universal feature space (right).

Proposed Methodology

To address this mismatch, the authors propose a three-step approach to ensure all source languages share a "universal" feature space.

1. Cross-Lingual Pre-training

A universal encoder is trained using three objectives:

  • Masked Language Modeling (MLM): Standard BERT-style prediction of missing words in monolingual text.
  • Translation Language Modeling (TLM): Prediction of missing words in concatenated parallel sentence pairs to provide cross-lingual context.
  • Bridge Language Modeling (BRLM): The core contribution of this work. BRLM explicitly encourages the model to align word representations across languages.
  • Hard Alignment (BRLM-HA): Uses external word alignments to force the model to use a pivot word's context to predict the source word.
  • Soft Alignment (BRLM-SA): Employs an integrated attention layer to learn these alignments automatically during training.

2. Parent Model Training and Freezing

An NMT model is built using the pre-trained universal encoder and trained on a high-resource pivot→target pair. To prevent "catastrophic forgetting"—where the model optimizes so heavily for the parent language that it destroys the universal mapping—the authors freeze several layers of the encoder. This ensures the universal language space remains intact for zero-shot inference.

3. Zero-Shot Inference

The resulting model is used to translate directly from the unseen source language to the target language without further fine-tuning on the child pair.

Experimental Results

The approach was evaluated on the Europarl and MultiUN datasets.

  • Performance Gains: On Europarl, the MLM+BRLM-SA method outperformed pivot-based baselines by 0.9 to 4.8 BLEU points.
  • Comparison with Multilingual NMT: The proposed method consistently beat standard Multilingual NMT (MNMT) models, which often struggle in true zero-shot scenarios.
  • Synergy with Back-Translation: When combined with back-translation, the model achieved a new state-of-the-art on the MultiUN dataset, surpassing previous benchmarks by an average of 4.6 BLEU points.

Conclusion

The introduction of Bridge Language Modeling and a strategic freezing mechanism effectively mitigates the language space mismatch in zero-shot NMT. By creating a truly universal feature space, the model can leverage knowledge from high-resource pairs to translate unseen languages with high accuracy, providing a more efficient and effective alternative to traditional pivoting methods.

Summary updated

BibTeX
@inproceedings{ji2020cross,
  author = {Baijun Ji and Zhirui Zhang and Xiangyu Duan and Min Zhang and Boxing Chen and Weihua Luo},
  title = {{Cross-Lingual Pre-Training Based Transfer for Zero-Shot Neural Machine Translation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5341},
}
Figure