Learning Language Specific Sub-network for Multilingual Machine Translation

Zehui Lin, Liwei Wu, Mingxuan Wang, Lei Li

Abstract

Multilingual Neural Machine Translation (MNMT) aims to consolidate multiple language pairs into a single model. However, this often leads to "parameter interference," where performance on high-resource languages degrades compared to specialized bilingual models. We introduce Language Specific Sub-network (LaSS), a training framework that identifies and optimizes unique sub-networks for each language pair within a shared Transformer architecture. LaSS effectively mitigates interference, resulting in significant gains for high-resource languages and a remarkable average improvement of 8.3 BLEU points in zero-shot translation scenarios, all without increasing the total parameter count.

Introduction: The Challenge of Parameter Interference

The primary goal of MNMT is to leverage transfer learning to benefit low-resource languages while maintaining deployment efficiency. Despite these advantages, a persistent bottleneck is the performance gap in high-resource pairs (e.g., English-to-German) when compared to dedicated bilingual models. This is largely attributed to parameter interference: a fixed-capacity model must learn "average" representations to accommodate diverse languages, often failing to capture specific linguistic nuances. While increasing model size can alleviate this, it introduces higher computational costs and risks of overfitting.

Methodology: Discovering Language-Specific "Winning Tickets"

LaSS addresses interference by finding specialized sub-networks—essentially "winning tickets"—for each language pair within the global model parameters. The approach follows a three-stage pipeline:

  1. Initial Joint Training: A standard multilingual Transformer is trained on the full dataset.
  2. Language-Specific Masking: The model is briefly fine-tuned for each language pair. Weights with the lowest magnitudes are pruned to create a binary mask, defining the most critical sub-network for that specific pair.
  3. Structure-aware Joint Training: The model undergoes a final joint training phase. For each training batch, only the weights within the corresponding language-specific sub-network are updated.
Comparison between a standard full network and the proposed LaSS architecture.

This method requires zero additional parameters during training or inference. At runtime, the model simply activates the relevant sub-network for the target language pair.

Experimental Setup

The effectiveness of LaSS was evaluated on three major benchmarks:

  • IWSLT 2014: 8 English-centric pairs with moderate data sizes (89k–169k sentences).
  • WMT: A large-scale, imbalanced dataset with 18 pairs, ranging from 11k (Gujarati) to 37M (French) sentences.
  • OPUS-100: Used to assess zero-shot translation across 30 language pairs.

Key Insights and Results

Performance Gains and Zero-Shot Breakthroughs

LaSS consistently outperformed standard multilingual baselines across all 36 tested language pairs. On the WMT dataset, it achieved gains of up to 1.2 BLEU. The most striking results appeared in zero-shot translation, where LaSS improved performance by an average of 8.3 BLEU. Notably, French-to-Chinese translation saw a massive 26.5 BLEU point increase.

Performance comparison of LaSS vs. baseline and bilingual models across different language pairs.

Analysis of Sub-networks

  • Specificity Distribution: Mask analysis revealed a "U-shaped" specificity pattern: bottom layers (near embeddings) and top layers (near outputs) are highly language-specific, while middle layers remain more universal.
  • Linguistic Correlation: Sub-networks for linguistically similar languages (e.g., Italian and Spanish) exhibit higher overlap than those for unrelated languages, suggesting the model captures inherent linguistic relationships.
  • Mitigating Off-Target Translation: LaSS acts as a strong signal for the model, significantly reducing "off-target" errors in zero-shot tasks by anchoring the generation process to language-specific parameters.

Conclusion

LaSS provides a parameter-efficient solution to the interference problem in MNMT. By isolating language-specific sub-networks, it enables high-resource performance parity with bilingual models and dramatically enhances zero-shot capabilities. Future work will focus on automating pruning rate selection and scaling the approach to massively multilingual models handling hundreds of languages.

Summary updated

BibTeX
@inproceedings{lin2021learning,
  author = {Zehui Lin and Liwei Wu and Mingxuan Wang and Lei Li},
  title = {{Learning Language Specific Sub-network for Multilingual Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=t6hqT9X4d8},
}
Figure