Effective Cross-lingual Transfer of Neural Machine Translation Models without Shared Vocabularies

Yunsu Kim, Yingbo Gao, Hermann Ney

Introduction

Neural Machine Translation (NMT) has achieved remarkable success in high-resource settings, such as German-to-English translation. However, its performance degrades significantly for low-resource languages like Basque or Azerbaijani, where parallel bilingual data is scarce. Traditional solutions to this problem include Multilingual NMT, which trains multiple languages simultaneously, and Transfer Learning, where a model pre-trained on a "parent" language pair is fine-tuned on a "child" language pair.

A significant limitation of these approaches is their reliance on a shared vocabulary. Typically, these models use the same subword units across all languages to facilitate parameter sharing. This requirement presents two major challenges: it works best only for linguistically related languages (cognates), and it lacks flexibility, as adding a new language often requires redefining the vocabulary and retraining the entire model from scratch. This paper proposes a method to effectively transfer NMT models to unrelated languages without requiring a shared vocabulary or retraining the parent model.

Methodology

The authors introduce three synergistic techniques to bridge the gap between a high-resource parent language (e.g., German) and a low-resource child language (e.g., Basque).

Overview of the transfer learning process from a parent model (German-English) to a child model (Basque-English).

1. Cross-lingual Word Embedding Mapping

Instead of forcing a shared vocabulary, the authors learn a linear transformation matrix ($W$) that maps the monolingual embeddings of the child language into the pre-trained embedding space of the parent language. This allows the child model to leverage the semantic structure already established in the parent encoder, effectively "reusing" the conceptual space.

2. Artificial Noise Injection

To prevent the parent model from over-fitting to the specific syntax and word order of the parent language, the authors inject random noise (shuffling, deleting, or inserting words) into the source sentences during initial training. This forces the encoder to become more "language-agnostic," making it more robust and adaptable when it eventually encounters the differing syntactic structures of a child language.

3. Anchor-based Synthetic Data

To smooth the transition during fine-tuning, the authors create a synthetic "bridge" dataset. They take the parent's high-quality parallel data and replace tokens that do not exist in the child vocabulary with a <unk> token, while preserving "anchors" like digits, punctuation, and shared named entities. This helps the model adapt to the child language's input distribution without an abrupt change in the expected input format.

Experimental Setup

The methods were evaluated using a German→English parent task (10.1 million sentence pairs) and five low-resource child tasks:

  • Basque (eu): 5.6k sentences (Language Isolate)
  • Slovenian (sl): 17.1k sentences (Slavic)
  • Belarusian (be): 4.5k sentences (Slavic)
  • Azerbaijani (az): 5.9k sentences (Turkic)
  • Turkish (tr): 10k sentences (Turkic)

Key Results

The proposed methods yielded substantial improvements across all tested languages, significantly outperforming standard industry baselines.

BLEU score improvements across various low-resource language pairs using the proposed transfer methods.

As shown in the results table, the full system achieved gains of up to +5.1 BLEU (for Turkish) compared to standard transfer learning. Notably, the method outperformed Multilingual Joint Training (the common standard) by a wide margin in every task. For instance, in Basque, the proposed method reached 9.7 BLEU, nearly doubling the 5.1 BLEU achieved by multilingual training. Ablation studies confirmed that while cross-lingual mapping was the most impactful individual component, the combination of all three techniques was necessary for peak performance.

Conclusion and Future Work

This research demonstrates that vocabulary sharing is not a prerequisite for effective cross-lingual transfer. By aligning embedding spaces and using structural regularization through noise, NMT models can be adapted to entirely unrelated languages with minimal data.

One limitation of the current study is its focus on fixed target languages (English). Future work will explore the challenges of transferring models when the target language also changes, as well as investigating more advanced unsupervised algorithms for learning cross-lingual embedding mappings.

Summary updated

BibTeX
@inproceedings{kim2019effective,
  author = {Yunsu Kim and Yingbo Gao and Hermann Ney},
  title = {{Effective Cross-lingual Transfer of Neural Machine Translation Models without Shared Vocabularies}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1120},
}
Figure