The Effect of Domain and Diacritics in Yoruba-English Neural Machine Translation

David Ifeoluwa Adelani, Dana Ruiter, Jesujoba O. Alabi, Damilola Adebonojo, Adesina Ayeni, Mofe Adeyemi, Ayodele Awokoya, Cristina España-Bonet · DOI

TL;DR

This paper introduces MENYO-20k, a novel, multi-domain parallel corpus for Yoruba-English machine translation, addressing the lack of diverse, high-quality datasets for low-resource languages. They demonstrate that incorporating this data and carefully handling Yoruba's diacritics significantly improves translation quality, outperforming major commercial MT systems.

What Problem Does This Paper Address?

Neural Machine Translation (NMT) has made incredible strides, but its success is heavily reliant on large, high-quality parallel datasets. For low-resource languages like Yoruba, such datasets are scarce and often limited to specific domains (e.g., religious texts). This lack of diversity hinders the ability of NMT models to generalize to new domains like news, conversations, or technical texts. Furthermore, Yoruba's rich orthography, including diacritics, poses a unique challenge: ignoring them can lead to ambiguity and poor translation quality, especially when translating into Yoruba. This paper tackles these issues by creating a new benchmark dataset and investigating the impact of domain diversity and diacritics on translation performance.

Methods

The authors employ several NMT techniques:

  • Supervised NMT: They use the standard Transformer architecture, a workhorse in NMT, trained on their new dataset.
  • Semi-Supervised NMT (Iterative Back-Translation): This technique leverages monolingual data to generate synthetic parallel sentences, augmenting the training set and improving performance, especially for low-resource languages.
  • Fine-tuning Massively Multilingual Models (mT5): They explore adapting large, pre-trained multilingual models (like mT5) to the specific Yoruba-English task, a common approach for leveraging existing knowledge.
  • Automatic Diacritization: To address the issue of missing or incorrect diacritics in input text, they train a system to automatically restore them, improving translation quality.

Datasets

  • MENYO-20k: The primary contribution is this new, multi-domain parallel corpus for Yoruba-English, containing 20,100 sentences across 6 domains (News, TED Talks, Books, Proverbs, IT, and others). It's designed to be a clean, standardized benchmark.
  • JW300: A large, religion-focused parallel corpus used for training.
  • Bible: Another religion-focused parallel corpus, used for training.
  • Monolingual Corpora: Yoruba monolingual texts were used for back-translation.

Key Insights and Ideas

  • Domain Diversity is Crucial: Simply having a large amount of data isn't enough; data that covers various domains is essential for robust translation performance. The MENYO-20k corpus, despite its relatively small size, significantly boosts performance when added to existing corpora.
  • Diacritics Matter, Especially for Yoruba Output: While diacritics can help disambiguate Yoruba input, their presence is critical for generating accurate and fluent Yoruba output. Ignoring them leads to significant quality degradation.
  • Pre-trained Models Need Adaptation: While powerful, off-the-shelf multilingual models don't always perform optimally on low-resource languages without specific fine-tuning and careful data handling.
  • Clean Data Outperforms Noisy Data: The paper highlights that smaller, cleaner datasets (like MENYO-20k) can be more effective than massive, noisy datasets (like some components of Facebook's M2M-100) when properly utilized.

Key Results

  • The proposed MENYO-20k dataset, when used to train NMT models, outperforms Google's Multilingual NMT (GMNMT) by +18.8 BLEU points and Facebook's M2M-100 by a significant margin on the Yoruba-English task.
  • Models trained on MENYO-20k achieve BLEU scores of 12.3 for en-yo and 14.0 for yo-en after fine-tuning, setting a new benchmark.
  • Automatic diacritization significantly improves translation quality, increasing BLEU by +6.9 points for GMNMT and +3.5 for M2M-100 when translating into Yoruba.
  • Human evaluation shows that while GMNMT is strong in adequacy, models trained on cleaned corpora (like C4+Transfer) perform better in fluency and diacritics prediction accuracy.

Limitations and Future Work

  • Proverbs are Difficult: The proverb subset of the test set proved particularly challenging for all models, indicating a need for specialized approaches for idiomatic and culturally rich language.
  • Diacritics Impact Varies: While crucial for translating into Yoruba, the impact of diacritics on the source Yoruba text for en-yo translation is less pronounced when sufficient in-domain training data is available.
  • Future Work: The authors suggest further research into transfer learning, domain adaptation, and leveraging more monolingual data. They also emphasize the need for continued efforts in creating high-quality, diverse parallel corpora for low-resource languages.

Summary updated

BibTeX
@inproceedings{adelani2021effect,
  author = {David Ifeoluwa Adelani and Dana Ruiter and Jesujoba O. Alabi and Damilola Adebonojo and Adesina Ayeni and Mofe Adeyemi and Ayodele Awokoya and Cristina España-Bonet},
  title = {{The Effect of Domain and Diacritics in Yoruba-English Neural Machine Translation}},
  booktitle = {MTSummit},
  year = {2021},
}
Figure