Introduction
Multilingual Neural Machine Translation (MNMT) aims to develop a single system capable of translating between multiple language pairs. This approach offers significant advantages, such as reduced maintenance overhead and the potential for "transfer learning," where knowledge from high-resource languages improves the translation of low-resource ones. However, MNMT faces a fundamental trade-off between model capacity and parameter efficiency.
The Capacity-Sharing Trade-off
Traditionally, MNMT systems have occupied two ends of a spectrum:
- No Sharing: Training independent models for each language pair. While this avoids interference, it is memory-intensive and fails to exploit cross-lingual commonalities.
- Full Sharing: Utilizing a single set of parameters for all languages. While highly efficient, this often leads to a "capacity bottleneck." When target languages are linguistically distant (e.g., German and Japanese), they compete for the same limited parameter space, frequently resulting in degraded performance compared to specialized bilingual models.
Granular Parameter Sharing in Transformers
This research investigates a "happy medium": partial parameter sharing within the Transformer architecture, the current gold standard for translation. The authors systematically evaluate which components of the Transformer decoder should be shared to maximize transfer while minimizing interference.
The study explores several configurations within the decoder:
- Shared Attention Weights: Sharing the parameters that govern how the model "attends" to different parts of the source and target sequences.
- Shared Feed-Forward Networks (FFN): Sharing the dense layers responsible for processing information after the attention mechanism.
- The Key/Query Strategy: A more granular approach sharing only the Key ($W_K$) and Query ($W_Q$) matrices of the attention layers, while maintaining separate Value ($W_V$) and FFN weights.
Experimental Setup and Datasets
The researchers utilized the TED talks dataset, focusing on six language pairs categorized by linguistic proximity to test how methods performed on "cousin" languages versus unrelated ones:
- Related (Romance): English to Romanian (RO) and French (FR).
- Related (Germanic): English to German (DE) and Dutch (NL).
- Distant/Unrelated: English to German (DE) paired with either Turkish (TR) or Japanese (JA).
Key Insights and Results
1. The Similarity Threshold
Full parameter sharing is most effective when languages are closely related. For Romance and Germanic groups, a unified model often outperformed separate ones. However, for distant languages, full sharing incurred a performance penalty.
2. Attention is Universal, FFN is Specific
A critical finding is that attention mechanisms (specifically Key and Query matrices) capture structural, cross-lingual properties. In contrast, Feed-Forward Networks (FFNs) appear to handle language-specific lexical and morphological mappings. By keeping FFNs separate for unrelated languages, the model avoids the capacity bottleneck, using shared attention for general translation logic and private FFNs for language-specific nuances.
3. Performance Gains
For unrelated languages (EN $\rightarrow$ DE+TR), the proposed partial sharing method improved BLEU scores by 1.4 points for German and 1.1 points for Turkish over bilingual baselines. Crucially, it reversed the performance drop seen in fully shared models for these distant pairs. Additionally, partial sharing was found to particularly benefit the translation of low-frequency words.
Conclusion and Limitations
Partial parameter sharing offers a robust solution for multilingual translation, particularly when dealing with diverse language groups. The authors acknowledge that while these results are promising for one-to-many translation, future work is needed to scale these patterns to many-to-many scenarios and to investigate the impact of separate embedding layers, which were kept shared in this study to manage parameter counts.
Summary updated