Extending Multilingual Machine Translation through Imitation Learning

Wen Lai, Viktor Hangya, Yingli Shen, Alexander Fraser

TL;DR

Imit-MNMT is a novel framework that extends existing Multilingual Machine Translation (MNMT) models to new languages using only a parallel corpus with English. By framing language extension as an imitation learning problem, it significantly boosts translation performance for the new language while completely avoiding the common pitfall of "catastrophic forgetting" on previously supported languages.

What Problem Does This Paper Address?

While modern multilingual translation models can support upwards of 100 to 200 languages, they still leave behind the vast majority of the world's ~7,000 languages. When researchers try to add a new language to an existing model, they face two major hurdles:

  1. Data Scarcity: Parallel data between the new language and non-English languages is rarely available. Usually, only a bilingual corpus paired with English exists.
  2. Catastrophic Forgetting: Fine-tuning a model on a new language typically degrades its performance on the languages it already knows, unless you retrain it from scratch using the original (often proprietary or massive) training dataset.

Existing workarounds either require adding new parameters for every single language (which doesn't scale) or focus narrowly on translating between the new language and a single target language, ignoring the rest of the network.

Methods

The authors introduce Imit-MNMT, which treats language extension as an imitation learning game. Instead of directly updating the original model, they freeze it and treat it as an "Expert" ($\pi^E$). A separate copy is trained as the "Learner" ($\pi^L$), which must learn to translate the new language while mimicking the expert's behavior on old languages.

The framework consists of three main components:

  1. Online Dataset Construction: Using the available parallel data between the new language ($\ell_{new}$) and English ($\ell_{eng}$), the frozen expert model uses beam search to generate pseudo-parallel data across $k$ randomly sampled languages already supported by the model.
  2. Data Distribution Imitation (DDI): Not all expert translations are created equal. The authors dynamically weight the training data based on the expert model's baseline BLEU scores. Languages where the expert performs exceptionally well get higher weights, ensuring the learner mimics high-quality data distributions.
  3. Translation Behavior Imitation (TBI): The learner is optimized using a combined loss function. An Observation Loss ($\mathcal{L}_{obs}$) ensures the learner retains the expert's knowledge on existing language pairs, while an Imitation Loss ($\mathcal{L}_{imit}$) forces the learner to match the expert's translation behavior for the new language pairs.
Figure 1: Imit-MNMT consists three parts. In each time step t, the expert emit three actions corresponds to parallel data between (ℓnew, ℓeng), (ℓeng, ℓk) and (ℓnew, ℓk). Then, the data distribution for ℓnew in the learner model is imitated by using a language weighting strategy. Finally, the translation behavior is imitated by two types of loss function (Lobs and Limit), where Lobs is designed for mitigating catastrophic forgetting.

Datasets

  • Training Data: Parallel corpora between the target new languages and English were extracted from the publicly available NLLB corpus (mined by AllenAI).
  • Target New Languages: The authors selected four languages representing distinct scripts to test generalization: Dari (Arabic script), Tatar (Cyrillic script), Magahi (Devanagari script), and Mizo (Latin script). They also evaluated four smaller comparison corpora (Dyula, Balinese, Bemba, Banjar).
  • Evaluation Benchmark: Performance was measured using the FLORES-200 benchmark, categorized into Low, Mid, and High-resource language buckets.

Key Insights and Ideas

  • Decoupling the Expert and Learner is Crucial: Attempting to update the expert model directly "on-the-fly" introduces translation noise that corrupts the model's internal representations. Keeping the expert frozen acts as a steady anchor.
  • Dynamic Weighting Matters: Weighting pseudo-parallel data based on the expert's native proficiency prevents low-quality synthetic translations from degrading the learner's training process.
  • Script-Based Transfer: The authors observed that adding a new language can actually improve the translation performance of existing languages that share its script, indicating a subword-level cross-lingual transfer.

Key Results

Imit-MNMT significantly outperformed standard fine-tuning and parameter-expansion baselines (like Adapters and Knowledge Distillation) across the board.

Extending to New Languages

When translating from new languages to original languages, Imit-MNMT achieved massive BLEU score improvements. For instance, on high-resource destination languages, it scored 12.26 BLEU for Dari compared to the baseline m2m_100 score of 3.94.

Average BLEU scores for translations from new languages to original languages.

The reverse direction (original languages to new languages) also saw substantial gains, effectively solving the "off-target" translation problem where models accidentally output the wrong language.

Average BLEU scores for translations from original languages to new languages.

Preventing Catastrophic Forgetting

While standard fine-tuning caused baseline performance on original language pairs to plummet (e.g., dropping from 15.74 to 4.60 BLEU in high-resource settings), Imit-MNMT preserved the original capabilities of the model, showing negligible differences ($\Delta$) from the original m2m_100 model.

BLEU scores showing how Imit-MNMT preserves performance on original language pairs compared to catastrophic forgetting in baselines.

Limitations and Future Work

The authors note two primary limitations:

  1. Model Scope: The evaluation was strictly conducted using the m2m_100 (1.2B parameter) architecture. Testing on larger causal LLMs (like LLaMA or mT5) remains future work.
  2. English-Centric Pivot: The framework relies entirely on the assumption that the new language has a parallel corpus with English. Exploring scenarios where the pivot language is a regional lingua franca instead of English could expand the utility of this method.

Summary updated

BibTeX
@misc{lai2023extending,
  author = {Wen Lai and Viktor Hangya and Yingli Shen and Alexander Fraser},
  title = {{Extending Multilingual Machine Translation through Imitation Learning}},
  year = {2023},
  eprint = {2311.08538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.08538},
}
Figure