[Paper Review] Adaptive Sparse Transformer for Multilingual Translation
This paper proposes an adaptive, sparse Transformer architecture for multilingual translation that learns language-specific sub-networks to reduce interference while enabling knowledge transfer. By applying fine-grained sparsity across attention heads, feed-forward blocks, and layers—adaptively selected per input language—it achieves +2.1, +1.3, and +6.2 BLEU gains on one-to-many, many-to-one, and zero-shot translation tasks over standard Transformer, without increasing inference cost.
Multilingual machine translation has attracted much attention recently due to its support of knowledge transfer among languages and the low cost of training and deployment compared with numerous bilingual models. A known challenge of multilingual models is the negative language interference. In order to enhance the translation quality, deeper and wider architectures are applied to multilingual modeling for larger model capacity, which suffers from the increased inference cost at the same time. It has been pointed out in recent studies that parameters shared among languages are the cause of interference while they may also enable positive transfer. Based on these insights, we propose an adaptive and sparse architecture for multilingual modeling, and train the model to learn shared and language-specific parameters to improve the positive transfer and mitigate the interference. The sparse architecture only activates a sub-network which preserves inference efficiency, and the adaptive design selects different sub-networks based on the input languages. Our model outperforms strong baselines across multiple benchmarks. On the large-scale OPUS dataset with $100$ languages, we achieve $+2.1$, $+1.3$ and $+6.2$ BLEU improvements in one-to-many, many-to-one and zero-shot tasks respectively compared to standard Transformer without increasing the inference cost.
Motivation & Objective
- To address language interference in multilingual neural machine translation, which degrades performance despite knowledge transfer benefits.
- To reduce inference cost in deep, wide multilingual models that suffer from high computational overhead due to parameter sharing.
- To enable fine-grained parameter sharing by learning which components (e.g., attention heads, FFN blocks) should be shared or exclusive per language.
- To compare the effectiveness of different sparsity types—attention, FFN, and layer sparsity—across varying language scales.
- To maintain inference efficiency while improving translation quality through adaptive, language-conditioned sparsity.
Proposed method
- Introduces a latent variable model that learns to activate language-specific sub-networks based on input language, enabling adaptive sparsity.
- Applies sparsity at multiple scales: attention heads, feed-forward network (FFN) blocks, and Transformer layers, with each language selecting its own subset.
- Uses a top-k loss to encourage sparse routing and a disparity loss to prevent over-regularization, ensuring balanced component usage.
- Divides FFN weight matrices into blocks, allowing partial sharing among languages, and assigns exclusive attention heads to specific languages to preserve language specificity.
- Employs a mixture-of-experts-like routing mechanism for FFN and attention modules, where only activated sub-components contribute to inference.
- Supports end-to-end training with differentiable routing, enabling joint optimization of sparsity patterns and model parameters.
Experimental results
Research questions
- RQ1Which type of sparsity—attention, FFN, or layer-level—yields the best translation performance in multilingual settings?
- RQ2How does the combination of multiple sparsity types affect performance on large-scale multilingual translation tasks?
- RQ3To what extent does language proximity and resource size influence the learned parameter sharing patterns?
- RQ4Can adaptive, fine-grained sparsity improve translation quality without increasing inference cost?
- RQ5How does the model’s sparsity pattern reflect linguistic relationships and resource disparities among languages?
Key findings
- On the OPUS-100 dataset with 100 languages, the model achieves +2.1, +1.3, and +6.2 BLEU improvements in one-to-many, many-to-one, and zero-shot translation, respectively, over standard Transformer.
- The model maintains inference efficiency by activating only a sub-network per input language, with no increase in computational cost despite performance gains.
- For medium-scale translation (24 languages), FFN sparsity yields the best gains in one-to-many translation, while attention sparsity performs best in many-to-one translation.
- On large-scale OPUS-100, combining all types of sparsity (attention, FFN, and layer) produces the optimal performance across all tasks.
- Sparsity patterns learned by the model correlate with language families and resource sizes, with high-resource languages showing less sharing with low-resource ones.
- The model’s performance is robust to sparsity level: even without sparsity loss, a small drop in BLEU (0.1) is observed, indicating the top-k loss effectively maintains sparsity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.