A Few Thousand Translations Go a Long Way! Leveraging Pre-trained Models for African News Translation

David Ifeoluwa Adelani, Jesujoba O. Alabi, Angela Fan, Julia Kreutzer, Xiaoyu Shen, Machel Reid, Dana Ruiter, Dietrich Klakow, Peter Nabende, Ernie Chang, Tajuddeen Gwadabe, Freshia Sackey, Bonaventure F. P. Dossou, Chris Emezue, Colin Leong, Michael Beukman, Shamsuddeen Hassan Muhammad, Guyo Dub Jarso, Oreen Yousuf, Andre Niyongabo Rubungo, Gilles Hacheme, Eric Peter Wairagala, Muhammad Umair Nasir, Benjamin Ajibade, Tunde Ajayi, Yvonne Wambui Gitau, Jade Z. Abbott, Mohamed Ahmed, Millicent Ochieng, Aremu Anuoluwapo, Perez Ogayo, Jonathan Mukiibi, Fatoumata Ouoba Kabore, Godson Kalipe, Derguene Mbaye, Allahsera Auguste Tapo, Victoire Memdjokam Koagne, Edwin Munkoh-Buabeng, Valencia Wagner, Idris Abdulmumin, Ayodele Awokoya, Happy Buzaaba, Blessing Sibanda, Andiswa Bukula, Sam Manthalu · DOI

TL;DR

This paper tackles the challenge of translating low-resource African languages, which are often excluded from large pre-trained models. By creating a new news corpus and experimenting with fine-tuning strategies, they demonstrate that even a few thousand high-quality translations are remarkably effective for adapting these models to new languages and domains.

What Problem Does This Paper Address?

Modern large-scale pre-trained language models (PLMs) have achieved impressive multilingual translation capabilities, often covering hundreds of languages. However, these models are typically trained on web-crawled data, which inherently underrepresents many low-resource languages. This exclusion means that languages with fewer online resources are left out, creating a significant gap in translation technology accessibility. Furthermore, users are often limited to the languages the original PLM was trained on. This paper addresses two key questions: 1) How can we adapt these powerful PLMs to translate languages that were not included in their initial training? and 2) How can we ensure these adapted models perform well on new, specific domains like news translation?

Methods

The authors investigate several strategies for adapting pre-trained multilingual models (like MT5, mBART50, and M2M-100) to low-resource African languages. Their primary approach involves fine-tuning these models. They explore two main transfer learning techniques:

  • Continual Pre-training: This involves further pre-training the PLM on monolingual data from the target African languages before fine-tuning on parallel translation data. This helps the model adapt its internal representations to the specific linguistic characteristics of these languages.
  • Many-to-Many Multilingual Translation: This involves fine-tuning a pre-trained model (specifically M2M-100) on parallel data for multiple language pairs simultaneously, aiming to create a more generalized translation capability.

They also investigate domain adaptation by comparing different fine-tuning strategies using both religious (REL) and news (NEWS) domain data.

Datasets

The paper introduces the MAFAND-MT corpus, a new benchmark for African news translation. This corpus covers 16 African languages, with eight languages not previously included in existing evaluation datasets. The corpus was created through a participatory approach involving native speakers.

Existing datasets used include:

  • Religious corpora: Primarily from the Bible (e.g., JW300, Bible.is) and other religious texts.
  • News corpora: Existing news datasets for some African languages were also utilized.
  • FLORES-101: Used for evaluating generalization to other domains.

Key Insights and Ideas

  • "A few thousand translations go a long way": The core finding is that fine-tuning large pre-trained models on even a small, high-quality dataset (around 2k-7k sentences) is remarkably effective for adapting them to new languages and domains. This significantly lowers the barrier to entry for low-resource language translation.
  • Local knowledge is powerful: The success of fine-tuning highlights the importance of "local knowledge" (i.e., data curated by native speakers) in zero-resource scenarios.
  • Domain adaptation is crucial: Models trained solely on religious texts perform poorly on news translation, demonstrating a significant domain shift. However, fine-tuning on even a small news corpus dramatically improves performance.
  • Pre-training matters, but fine-tuning is key: While models pre-trained on translation tasks (like M2M-100) tend to perform better, the ability to fine-tune them with targeted data is what unlocks their potential for low-resource languages and specific domains.
  • Continual pre-training offers a boost: Further pre-training on monolingual African language data can improve performance, especially for languages that were not well-represented in the original PLM's training data.

Key Results

  • Fine-tuning outperforms zero-shot: Zero-shot translation performance on the news domain was generally very poor (< 5 BLEU) for most languages, except for Swahili and isiZulu. Fine-tuning with a few thousand sentences dramatically improved BLEU scores, often exceeding 10-20 BLEU.
  • M2M-100 leads the pack: The M2M-100 model, pre-trained on a translation task, showed the best performance after fine-tuning.
  • ByT5 shows promise: ByT5 outperformed MT5 in low-resource translation tasks, suggesting its token-free approach might be advantageous.
  • Domain adaptation strategies: The most effective strategy for domain adaptation was REL+NEWS→NEWS, where models were first trained on combined religious and news data, followed by additional fine-tuning on news data. This approach yielded significant improvements, especially for the xx-en/fr direction.
  • Small in-domain sets are sufficient: For many language pairs, fine-tuning with just 2.5k sentence pairs of in-domain (NEWS) data was enough to outperform bilingual Transformer baselines trained on larger out-of-domain (REL) data.

Limitations and Future Work

  • Translation Quality: Despite improvements, BLEU scores remain low for some languages, particularly when translating into them. Human evaluation is still needed to fully assess the absolute quality of translations.
  • Language Bias: The relative quality of translations is still affected by factors like resource availability, morphology, and standardization. Overcoming these biases requires further effort.
  • Domain Limitations: The study focused on news and religious domains. Future work should explore adaptation to multiple narrow domains and develop methods for distilling knowledge from them.
  • Language Coverage: Africa has thousands of languages not covered in this study. The authors hope their work inspires native speakers to collect data and contribute to developing language technologies for these languages.
  • Potential for Misuse: The methodology of rapid fine-tuning could potentially be misused to tune models towards harmful content.
  • Future Work: The authors plan to expand their corpus to include more languages (Amharic, Chichewa, Kinyarwanda, Shona, isiXhosa) and to develop more effective fine-tuning objectives. They also suggest exploring changes to vocabulary and MT-focused training objectives for further improvements.

Summary updated

BibTeX
@inproceedings{adelani2022few,
  author = {David Ifeoluwa Adelani and Jesujoba O. Alabi and Angela Fan and Julia Kreutzer and Xiaoyu Shen and Machel Reid and Dana Ruiter and Dietrich Klakow and Peter Nabende and Ernie Chang and Tajuddeen Gwadabe and Freshia Sackey and Bonaventure F. P. Dossou and Chris Emezue and Colin Leong and Michael Beukman and Shamsuddeen Hassan Muhammad and Guyo Dub Jarso and Oreen Yousuf and Andre Niyongabo Rubungo and Gilles Hacheme and Eric Peter Wairagala and Muhammad Umair Nasir and Benjamin Ajibade and Tunde Ajayi and Yvonne Wambui Gitau and Jade Z. Abbott and Mohamed Ahmed and Millicent Ochieng and Aremu Anuoluwapo and Perez Ogayo and Jonathan Mukiibi and Fatoumata Ouoba Kabore and Godson Kalipe and Derguene Mbaye and Allahsera Auguste Tapo and Victoire Memdjokam Koagne and Edwin Munkoh-Buabeng and Valencia Wagner and Idris Abdulmumin and Ayodele Awokoya and Happy Buzaaba and Blessing Sibanda and Andiswa Bukula and Sam Manthalu},
  title = {{A Few Thousand Translations Go a Long Way! Leveraging Pre-trained Models for African News Translation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.223},
}
Figure