Abstract
Multilingual Neural Machine Translation (MNMT) models often suffer from parameter interference, where diverse languages compete for the same model capacity. We present a gradient-based gradual pruning approach that extracts language-specific sub-networks from a shared backbone. By utilizing gradient-based importance scores and a gradual sparsity schedule, our method achieves significant performance gains—up to +2.06 BLEU on IWSLT benchmarks—without adding parameters or increasing inference latency. Analysis of the resulting sub-networks reveals that they capture meaningful linguistic relationships, with attention layers proving particularly critical for language-specific specialization.
Introduction
Multilingual Neural Machine Translation (MNMT) aims to consolidate multiple language pairs into a single Transformer model. While this architecture facilitates knowledge transfer to low-resource languages, it frequently leads to performance degradation in high-resource languages compared to dedicated bilingual models. This phenomenon, known as parameter interference, occurs because a single set of weights must accommodate the distinct syntactic and semantic requirements of many languages simultaneously.
Existing solutions, such as language-specific Adapters or separate decoders, mitigate interference but introduce significant parameter overhead and slow down inference. This paper proposes a zero-overhead alternative: Gradient-based Gradual Pruning.
Methodology: Carving Language-Specific Sub-networks
The proposed approach identifies and preserves the most critical weights for each language pair through a three-phase pipeline:
- Pre-training: A standard multilingual Transformer is trained on the full corpus of all language pairs.
- Sub-network Extraction: For each language pair, the model identifies a specific "mask" of important weights.
- Gradient-based Importance: Instead of traditional magnitude pruning, which removes small weights, this method uses gradient-based scores (inspired by movement pruning) to identify weights that most effectively reduce loss during training.
- Gradual Pruning Schedule: Weights are removed following a cubic function over time. This "soft landing" allows the remaining network to adapt and compensate for the loss of pruned parameters.
- Joint Fine-tuning: The model is fine-tuned using these language-specific masks. During inference, only the sub-network corresponding to the target language pair is activated.
Performance and Sparsity
The effectiveness of the gradual approach is most evident when comparing it to one-shot pruning methods. As shown in Figure 1, the "GradientGradual" method consistently outperforms both magnitude-based and one-shot alternatives across a wide range of pruning ratios, maintaining high BLEU scores even at 80% sparsity.
On the IWSLT 2014 benchmark, this method achieved an average gain of +2.06 BLEU over the baseline, significantly exceeding the performance of previous state-of-the-art pruning methods like LaSS (+0.50 BLEU).
Key Insights: Attention and Linguistics
Ablation studies revealed that pruning the Attention layers provides substantially higher gains (+1.22 BLEU) than pruning Feed-Forward layers (+0.49 BLEU). This suggests that the attention mechanism is the primary site of language-specific specialization within the Transformer.
Furthermore, the researchers discovered that the learned sub-networks are not arbitrary; they reflect underlying linguistic structures. By analyzing the similarity between pruning masks, they reconstructed a "phylogenetic tree" (Figure 2).
The masks for closely related languages, such as Spanish (Es) and Italian (It), show high similarity, while distant languages like Farsi (Fa) and English are placed on separate branches. This confirms that the pruning process effectively captures genuine linguistic commonalities and differences.
Conclusion
Gradient-based gradual pruning offers a powerful, parameter-efficient way to optimize multilingual translation. By reducing interference through language-specific sub-networks, the model achieves state-of-the-art performance with zero inference overhead. Future work will explore extending this method to many-to-many translation scenarios and automating the selection of pruning ratios based on language complexity.
Summary updated