Abstract
Researchers from IIT Delhi demonstrate that pre-trained multilingual models like mBART can significantly boost translation quality for related language pairs, even when one of the languages was entirely absent during the model's initial training. Their approach secured top-four rankings across all tested directions at the WMT20 Similar Language Translation task, including a first-place finish for Spanish to Portuguese.
Introduction
Neural Machine Translation (NMT) is notoriously data-hungry, typically requiring millions of parallel sentence pairs to achieve high quality. This creates a massive barrier for "low-resource" languages where such data doesn't exist. However, many languages are "related"—they share similar grammars, vocabularies, or alphabets (like Hindi and Marathi, or Spanish and Portuguese). This study explores whether transfer learning can bridge the data gap by leveraging a model pre-trained on massive general text from many languages to specific pairs of related languages where translation data is scarce.
Methods
The team compared three primary approaches:
- Statistical Machine Translation (SMT): Utilizing the Moses toolkit, which often serves as a strong baseline in low-data scenarios.
- Standard NMT (Transformer): A baseline Transformer-large model trained from scratch.
- mBART (Multilingual BART): A sequence-to-sequence denoising auto-encoder pre-trained on 25 languages.
A key technical challenge was that mBART was not pre-trained on Marathi or Portuguese. To address this, the authors used a "related language" substitution for the decoder's language-specific tokens:
- Marathi was represented using the Nepali token.
- Portuguese was represented using the Italian token (avoiding Spanish as it was the source/target counterpart).
Datasets
The study utilized data from the WMT 2020 Similar Language Translation Shared Task:
- Hindi (hi) $\leftrightarrow$ Marathi (mr): A low-resource pair with approximately 43,000 training sentence pairs.
- Spanish (es) $\leftrightarrow$ Portuguese (pt): A medium-resource pair with approximately 3.4 million training sentence pairs. Additionally, 5 million monolingual sentences for Hindi and Marathi were used to develop SMT language models.
Key Insights
The experiments yielded several critical insights into the efficacy of transfer learning for similar languages:
- Zero-Shot Transfer via Proximity: mBART's multilingual embeddings proved robust enough to handle "unseen" languages. Since Marathi shares a subword vocabulary with Hindi and Nepali, the model leveraged existing knowledge to learn Marathi translation rapidly.
- NMT Overtakes SMT in Low-Resource Settings: Traditionally, SMT is preferred for low-resource settings. However, this work shows that a pre-trained mBART model can significantly outperform SMT even with only 43k sentence pairs.
- Vocabulary Sharing: The percentage of "unknown" tokens for Marathi and Portuguese using mBART’s shared vocabulary was negligible (less than 0.003%), indicating that related languages can effectively utilize existing subword structures.
Results
The mBART fine-tuning approach consistently outperformed other methods and served as the basis for the final submissions.
The results demonstrate that fine-tuning a pre-trained model provides a substantial performance boost over training a standard Transformer from scratch, particularly in data-constrained environments.
Limitations and Future Work
The authors identify several avenues for future research:
- Linguistic Priors: Incorporating explicit linguistic information, such as dependency parses or part-of-speech tags, could improve grammatical conformity.
- Language Selection: Future work could involve explicitly extending the pre-training phase to include missing related languages instead of relying on proxies.
- Domain Mismatch: Addressing the relative weakness of NMT compared to SMT in handling domain shifts remains a priority for transfer learning research.
Summary updated