Introduction
Neural Machine Translation (NMT) typically requires vast amounts of parallel data to achieve high performance. For the North Germanic language group—specifically Icelandic (is), Norwegian-Bokmål (nb), and Swedish (sv)—such data is often scarce. The EdinSaar team (University of Edinburgh and Saarland University) participated in the WMT 2021 North-Germanic low-resource translation task, exploring how to leverage linguistic similarities and massive pre-trained models to overcome these data limitations.
Methodology
The researchers investigated two primary architectural approaches:
- Baseline (Marian): A standard Transformer-base model trained from scratch using all available parallel data. This model utilized a shared vocabulary and language-specific tags (e.g.,
<2is>) to guide the multilingual output. - Primary System (mT5 Adaptation): The team fine-tuned mT5-base, a massively multilingual pre-trained Text-to-Text Transfer Transformer with 580 million parameters. Despite its size, it proved highly effective even when trained on sampled subsets of the available data.
- Contrastive System: This approach enhanced the baseline Marian model through several techniques:
- Back-translation: Generating synthetic parallel data by translating monolingual Wikipedia content.
- Fine-tuning: Narrowing the model's focus to specific target language pairs.
- Ensembling: Combining the final four checkpoints to improve robustness and smooth out errors.
To optimize data selection, LASER embeddings were used to identify "in-domain" monolingual text from Wikipedia by calculating cosine similarity with the task's validation data.
Datasets and Preprocessing
The study utilized parallel data from the OPUS repository (including the Bible, Europarl, TED2020, and WikiMatrix) and the ELRC. Monolingual data was sourced from Wikipedia for the target languages.
Data quality was a priority. The team applied rule-based heuristics (Bifixer/Bicleaner) and FastText for language identification to prune noisy web-crawled content. This filtering process reduced the parallel data to approximately 77% of its original size, ensuring a higher-quality training set.
Key Results
The evaluation demonstrated a clear advantage for pre-trained models. The mT5-based primary system achieved the highest BLEU scores, significantly outperforming the scratch-trained baseline.
- mT5 Performance: The primary system reached an average BLEU of 33.5 on internal tests and 29.3 on the shared validation set, representing a jump of over 10 BLEU points compared to the basic Marian model.
- Contrastive System: While slightly lower in BLEU than mT5, the ensembled Marian system performed exceptionally well in official shared task rankings.
- Impact of Fine-tuning: Incorporating back-translated data and fine-tuning the Marian model yielded an average improvement of 7.7 BLEU points.
Insights and Discussion
Several key findings emerged from the experiments:
- Pre-training Dominance: The success of mT5 suggests that for low-resource tasks, the general linguistic knowledge captured during massive pre-training is more critical than the volume of task-specific parallel data.
- The Swedish Wikipedia "Bot" Issue: The team discovered that a significant portion of Swedish Wikipedia was bot-generated, consisting mostly of short stubs. To avoid training on low-quality synthetic text, they used Swedish parallel data as a proxy for monolingual data during back-translation.
- Zero-Shot Capabilities: The multilingual nature of the models allowed for "zero-shot" translation between pairs like Icelandic and Norwegian, even without direct parallel training data for that specific pair.
Conclusion
While the EdinSaar systems showed strong performance, challenges remain in generalizing to the most resource-constrained languages, particularly Icelandic. Future work will focus on more sophisticated data sampling strategies and the use of other massive multilingual models like M2M-100 to further bridge the gap in low-resource NMT.
Summary updated