Towards Continual Learning for Multilingual Machine Translation via Vocabulary Substitution

Xavier Garcia, Noah Constant, Ankur P. Parikh, Orhan Firat

Abstract

Xavier Garcia, Noah Constant, Ankur Parikh, Orhan Firat. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.

Introduction

Multilingual Machine Translation (MMT) aims to develop a single universal model capable of translating between numerous language pairs. However, standard MMT models are typically static, trained on a fixed set of languages. Adding a new language post-training presents two significant challenges: the "Vocabulary Problem," where new scripts lead to unknown tokens, and "Catastrophic Forgetting," where fine-tuning on new data degrades performance on original languages. This paper introduces a "vocabulary substitution" method to address these issues, enabling rapid learning of new languages while preserving existing knowledge.

Methodology

The proposed adaptation scheme consists of three primary steps:

  1. Vocabulary Substitution: Instead of maintaining the original fixed vocabulary, a new vocabulary ($V_{N+1}$) is constructed using data from both the original $N$ languages and the target new language.
  2. Embedding Reuse: The authors observed a significant overlap (over 90%) between the original and updated BPE vocabularies. The new model is "warm-started" by copying embeddings for tokens present in both vocabularies. New tokens are initialized normally, ensuring the model retains its core linguistic knowledge.
  3. Balanced Fine-Tuning: To mitigate forgetting, the model undergoes a brief fine-tuning phase (3-6% of original training time). A temperature-based sampling strategy upsamples the new language while maintaining sufficient exposure to original data.

For scenarios limited to monolingual data, the authors utilize the Masked Sequence to Sequence (MASS) objective combined with back-translation.

Key Insights

  • BPE Stability: BPE vocabularies are remarkably robust in multilingual settings. Adding a single language to a 20+ language model does not fundamentally alter the most frequent subwords.
  • Script Agnostic Adaptation: Models can adapt quickly even to languages with entirely different scripts (e.g., Bengali). The substitution process primarily affects rare subwords, leaving structural tokens intact.
  • Efficiency: Competitive performance is achieved in 15k–30k gradient steps, a fraction of the 500k steps required for scratch training.

Experimental Results

The adapted models demonstrate performance comparable to "Oracle" models trained from scratch on all languages. For instance, on Kazakh-to-English, the adapted model achieved 20.2 BLEU versus the Oracle's 20.5.

Preserving Original Performance

A critical finding is the near-total avoidance of catastrophic forgetting. As shown in the degradation analysis, BLEU scores for the original 24 languages remain stable after adaptation, with only minor fluctuations.

BLEU degradation across the original 24 languages after adding new language pairs.

Monolingual Adaptation

The method also succeeds using only monolingual text and back-translation, outperforming strong baselines like mBART. However, using monolingual data alone or in combination with parallel data for multiple new languages simultaneously can lead to slightly higher degradation in the original languages compared to single-language parallel adaptation.

BLEU degradation when adapting with monolingual data and back-translation.

Conclusion and Future Work

Vocabulary substitution provides an efficient path for continual learning in MMT. Future research should investigate the limits of sequential adaptation—specifically how many times the vocabulary can be swapped before cumulative changes degrade performance—and explore scaling to massively multilingual models with 100+ languages.

Summary updated

BibTeX
@inproceedings{garcia2021towards,
  author = {Xavier Garcia and Noah Constant and Ankur P. Parikh and Orhan Firat},
  title = {{Towards Continual Learning for Multilingual Machine Translation via Vocabulary Substitution}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=WZOFwJi35hO},
}
Figure