Knowledge Transfer in Incremental Learning for Multilingual Neural Machine Translation

Kaiyu Huang, Peng Li, Jin Ma, Ting Yao, Yang Liu

Introduction

Multilingual Neural Machine Translation (MNMT) models offer the promise of a single system capable of translating between dozens of languages. However, these models face a significant challenge when new languages need to be added after initial training. This "incremental learning" scenario typically forces a choice between three suboptimal paths: retraining the entire model from scratch (prohibitively expensive), fine-tuning on new data (leading to "catastrophic forgetting" of original languages), or using parameter-isolation methods like Adapters (which often struggle with linguistically distant languages due to random initialization).

Presented at ACL 2023, this paper introduces a Knowledge Transfer (KT) framework that sidesteps the stability-plasticity dilemma. By leveraging pluggable modules and external pre-trained knowledge, the authors demonstrate a way to expand MNMT models that preserves original performance while achieving state-of-the-art results on new language pairs.

Methodology: The Knowledge Transfer Framework

The core of the proposed approach is the use of "pluggable modules" that are injected into a frozen original MNMT model. This ensures that the model's existing capabilities are perfectly preserved.

Architecture and Knowledge Sourcing

The KT framework targets two critical components of the Transformer architecture: the Embedding layer and the Feed-Forward Network (FFN) layers.

Architecture of the Knowledge Transfer (KT) framework, illustrating the integration of pluggable FFN and embedding modules.

Instead of initializing these new modules randomly, the framework "borrows" weights from an external, pre-trained model (such as M2M-100) that already possesses knowledge of the target incremental languages. This initialization provides a warm start, which is particularly vital for languages with different scripts or limited data.

Adaptation Strategies

  1. Vocabulary Adaptation: The embedding space is expanded to accommodate tokens from new languages. By transferring embeddings for overlapping and new tokens from the external model, the "representation gap" between the original model and the new languages is bridged.
  2. FFN Adaptation: Drawing on research suggesting that FFN layers function as linguistic "key-value memories," the authors add parallel FFN modules. The final output is a fusion of the original frozen FFN and the new trainable FFN, allowing the model to integrate new linguistic facts without losing old ones.

Experimental Evaluation

The researchers evaluated the KT method by starting with an original model trained on WMT-7 (covering 12 directions including Japanese, Polish, Hausa, and Tamil). They then incrementally added German (de), Romanian (ro), Ukrainian (uk), and Bengali (bn). These target languages were specifically chosen to test the system's robustness across different scripts and language families.

Key Results and Insights

The KT method demonstrated significant improvements over existing baselines, particularly in challenging scenarios like English-to-Bengali (en→bn), where script differences often cause standard adapters to fail.

Comparison of translation performance (BLEU) across different incremental learning methods.

Performance and Stability

  • Superior Accuracy: As shown in the results, the KT method consistently outperforms standard Adapters and even matches or exceeds the performance of models trained from scratch on the incremental data. For instance, on en→bn, KT achieved 15.71 BLEU, compared to 9.46 for standard Adapters.
  • Zero Forgetting: Because the original model parameters remain frozen, there is absolutely no degradation in performance on the original 12 translation directions. This solves the catastrophic forgetting problem by design.
  • Zero-Shot Capabilities: The method also showed promise in zero-shot translation between "new" and "old" languages, suggesting that the pluggable modules successfully align with the original model's internal representation space.

Conclusion

The Knowledge Transfer framework provides a scalable and efficient solution for the lifelong learning of MNMT models. By combining parameter isolation with external knowledge initialization, it overcomes the limitations of random initialization in standard adapters. While the approach introduces some parameter overhead per new language, its ability to perfectly preserve original knowledge while rapidly adapting to new, even linguistically distant, languages makes it a powerful tool for real-world translation systems.

Summary updated

BibTeX
@inproceedings{huang2023knowledge,
  author = {Kaiyu Huang and Peng Li and Jin Ma and Ting Yao and Yang Liu},
  title = {{Knowledge Transfer in Incremental Learning for Multilingual Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.852},
}
Figure