Learning Language-Specific Layers for Multilingual Machine Translation

Telmo Pessoa Pires,Robin M. Schmidt,Yi-Hsiu Liao,Stephan Peitz
2023-05-04
Abstract:Multilingual Machine Translation promises to improve translation quality between non-English languages. This is advantageous for several reasons, namely lower latency (no need to translate twice), and reduced error cascades (e.g., avoiding losing gender and formality information when translating through English). On the downside, adding more languages reduces model capacity per language, which is usually countered by increasing the overall model size, making training harder and inference slower. In this work, we introduce Language-Specific Transformer Layers (LSLs), which allow us to increase model capacity, while keeping the amount of computation and the number of parameters used in the forward pass constant. The key idea is to have some layers of the encoder be source or target language-specific, while keeping the remaining layers shared. We study the best way to place these layers using a neural architecture search inspired approach, and achieve an improvement of 1.3 chrF (1.5 spBLEU) points over not using LSLs on a separate decoder architecture, and 1.9 chrF (2.2 spBLEU) on a shared decoder one.
Computation and Language,Artificial Intelligence
What problem does this paper attempt to address?
The paper attempts to address several key issues in Multilingual Machine Translation (MNMT): 1. **Improving translation quality between non-English languages**: Most existing systems are English-centric, meaning that translations between two non-English languages often require English as an intermediary. This approach not only increases latency but also leads to information loss, such as gender and formality details that may not exist in English. 2. **Increasing model capacity**: As more languages are added, the model parameters allocated to each language decrease. This is usually addressed by increasing the overall model size, but doing so makes training more difficult, slows down inference, and increases storage requirements, making it challenging to deploy on portable devices. 3. **Combining shared knowledge with language-specific layers**: The paper proposes a method to increase the model capacity for each language pair without increasing inference costs, allowing the model to share knowledge across different languages. Specifically, the authors introduce Language-Specific Transformer Layers (LSLs), which can be specific to the source or target language, while other layers remain shared. This way, the model can enhance its handling of specific languages while keeping the computational load unchanged. Experimental results show that this approach significantly improves translation performance, especially for low-resource language pairs.