Introduction
Multilingual Neural Machine Translation (MNMT) models offer significant efficiency by handling multiple language pairs within a single architecture. However, these models face a persistent challenge: the trade-off between interference and transfer. While shared parameters facilitate knowledge transfer to low-resource languages, they often cause interference for high-resource languages, washing out linguistic nuances. Traditional solutions involve adding language-specific modules (e.g., Adapters), which leads to "parameter explosion" as the model size scales with the number of languages. This research explores a parameter-efficient alternative: specializing the existing neurons within a standard Transformer model.
Methodology
The researchers propose a three-stage pipeline termed Importance-based Neuron Allocation to reduce inter-language interference without increasing the model's parameter count.
- Pre-training: A standard MNMT model is trained on all available language pairs to establish a baseline of shared knowledge.
- Importance Evaluation: The "importance" of each neuron is calculated for every language pair. Two metrics were evaluated: Taylor Expansion (approximating the loss change if a neuron were removed) and Absolute Value (measuring activation magnitude).
- Allocation & Fine-tuning:
- General Neurons: The top $\rho$% (typically 90%) of neurons with the highest average importance across all languages are designated as shared "general" neurons.
- Language-Specific Neurons: The remaining capacity is allocated to specific language pairs based on importance thresholds.
- Task-Specific Fine-tuning: During training for a specific pair (e.g., English-to-Spanish), only the general neurons and the specific neurons for that pair are updated; others are masked (zeroed out).
Experimental Setup and Datasets
The method was rigorously tested on two benchmarks:
- Many-to-Many (M2M): IWSLT-17 datasets covering English, Italian, Romanian, and Dutch (8 translation directions).
- One-to-Many (O2M): Europarl Corpus (V7), translating from English into 12 European languages, including Finnish, Polish, and Greek.
Key Insights: Neuron Distribution and Specialization
Analysis of the importance distributions provided several critical insights into how multilingual models store information:
- Linguistic Clustering: Linguistically similar languages (e.g., Spanish and Portuguese) naturally rely on overlapping sets of neurons, whereas unrelated languages (e.g., Finnish) utilize distinct neuron clusters.
- Functional Specialization: Attention modules were found to be largely "general" (shared), while Feed-Forward Networks (FFN), particularly in higher layers, are essential for capturing language-specific nuances.
- Layer-wise Importance: Neurons in the middle layers of the Transformer tend to be the most general, while the input-adjacent (bottom) and output-adjacent (top) layers exhibit higher specialization.
Results
The proposed method demonstrated superior performance and efficiency compared to existing baselines:
- Performance Gains: On the M2M task, the Taylor Expansion-based allocation achieved a +1.25 BLEU improvement over the standard multilingual baseline.
- Parameter Efficiency: The method outperformed modular approaches like Adapters and Task-Specific Attention, despite those methods requiring additional parameters.
- Structural Superiority: Even when the baseline model's capacity was increased to match the size of an Adapter-equipped model, the neuron allocation method still performed better (+0.65 BLEU), suggesting that the logic of allocation is more vital than raw parameter count.
Conclusion and Future Work
Importance-based Neuron Allocation effectively mitigates language interference by creating specialized sub-networks within a shared model. While the method requires hyperparameter tuning for the allocation thresholds ($\rho$ and $k$) and an additional fine-tuning stage, it offers a robust path toward high-performance MNMT without parameter bloat. Future research will investigate how this rigid allocation affects zero-shot translation and whether neurons can be dynamically allocated for previously unseen language pairs.
Summary updated