Source-linked AI summary
MMTAfrica: Multilingual Machine Translation for African Languages
Chris C. Emezue, Bonaventure F. P. Dossou
TL;DR
African languages are under-represented in multilingual machine translation, and cross-lingual transfer to them remains understudied. MMTAfrica addresses this gap with a many-to-many system for six African and two non-African languages, using BT&REC to leverage monolingual data. It improves over the M2M MMT benchmark on FLORES across nearly all reported language pairs, with gains from +0.58 to +19.46 spBLEU.
Problem
African languages are under-represented in multilingual machine translation, and transfer from high-resource languages is not guaranteed or well studied.
Source: §1 · p. 1Method
MMTAfrica is a many-to-many multilingual translation system for six African and two non-African languages that uses BT&REC to exploit monolingual data.
Source: §1 · pp. 1–2Results
+0.58 to +19.46 spBLEU gains are reported over the M2M MMT benchmark on the FLORES Test Set, except for the swa→eng anomaly.
Source: §6.2 · p. 7Takeaways & Limitations
MMTAfrica and its analyses provide insights into multilingual machine translation for African languages and support future research.
Source: §7 · p. 8The authors leave investigating transfer from Yorùbá to Fon for future work.
Source: §6.2 · p. 8
Abstract
from arXiv · showhide
In this paper, we focus on the task of multilingual machine translation for African languages and describe our contribution in the 2021 WMT Shared Task: Large-Scale Multilingual Machine Translation. We introduce MMTAfrica, the first many-to-many multilingual translation system for six African languages: Fon (fon), Igbo (ibo), Kinyarwanda (kin), Swahili/Kiswahili (swa), Xhosa (xho), and Yoruba (yor) and two non-African languages: English (eng) and French (fra). For multilingual translation concerning African languages, we introduce a novel backtranslation and reconstruction objective, BT\&REC, inspired by the random online back translation and T5 modeling framework respectively, to effectively leverage monolingual data. Additionally, we report improvements from MMTAfrica over the FLORES 101 benchmarks (spBLEU gains ranging from $+0.58$ in Swahili to French to $+19.46$ in French to Xhosa). We release our dataset and code source at https://github.com/edaiofficial/mmtafrica.
1 Introduction
MMTAfrica addresses the under-representation of African languages in multilingual machine translation by studying six African and two non-African languages. It introduces BT&REC, evaluates MMTAfrica against FLORES benchmarks, and releases a representative test set.
1 Introduction
- MMTAfrica focuses on multilingual translation among six African languages plus English and French to address African-language under-representation.The selected African languages span widely and least spoken languages in Africa.Source: §1 · p. 1
- BT&REC combines a reconstruction objective with backtranslation to exploit African-language monolingual data in multilingual translation.Source: §1 · p. 2
- MMTAfrica reports significant spBLEU gains over the M2M MMT benchmark on the FLORES Test Set.Source: §1 · p. 2
- The work creates the MMTAfrica Test Set to provide a representative evaluation resource and reports benchmark results with it.Source: §1 · p. 2
2 Related Work
Multilingual NMT offers scalability, transfer, low-resource improvements, and zero-shot translation, but African-language coverage remains limited by vocabulary costs and weak zero-shot behavior. Prior work motivates using backtranslation and monolingual data to improve multilingual systems.
2.1 Multilingual Machine Translation (MMT)
- Multilingual NMT uses one model across directions, enabling scalability, transfer among related languages, low-resource improvements, and zero-shot translation.Source: §2.1 · p. 2
- Increasing a multilingual decoder vocabulary is computationally costly because training and inference time scale linearly with its output-layer size.Source: §2.1 · p. 2
- Massively multilingual NMT can show poor zero-shot performance, spurious correlations, and off-target translation into the wrong language.Source: §2.1 · p. 2
- Prior research motivates backtranslation and monolingual-data self-supervision for improving low-resource and zero-shot multilingual translation.Source: §2.1 · p. 2
3 Data Methodology
The data methodology assembles diverse parallel and monolingual corpora for six African and two non-African languages, while creating FLORES-based and domain-balanced evaluation sets. The collected data remain uneven across directions and concentrated in limited domains.
3 Data Methodology
- The study gathers parallel data from JW300, Tatoeba, KDE4, MultiParaCrawl, and African-language resources, using language-specific preprocessing and sequence-length limits.The corpus contains 5,424,578 training samples and 4,000 development samples across directions.Source: §3 · p. 3
- Monolingual African-language data are collected from diverse sources to address severe imbalance and limited-domain coverage in parallel corpora.The parallel data are especially uneven for Fon-related directions and mostly cover biblical or internet domains.Source: §3 · p. 3
3.1 Data Set Types in our Work
- The FLORES Test Set contains 1,012 parallel sentences and is used for most directions except those involving Fon and Kinyarwanda.Source: §3.1 · p. 3
- The MMTAfrica Test Set samples equal numbers of sentences from each parallel-data domain to broaden evaluation coverage.It is small but includes samples from many domains and existing test sets.Source: §3.1 · p. 3
- Table 2 documents parallel-sample counts by direction and highlights the largest and smallest datasets, including greater resources for Swahili–English than Fon–French.Source: Table 2 · p. 4
4 Model and Training Setup
The paper fine-tunes mT5 for many-to-many translation across African and non-African languages, using language tags and excluding English–French directions to prioritize African-language translation. It supplements parallel data with backtranslation and reconstruction objectives that exploit monolingual data.
4 Model and Training Setup
- The model represents translation as text-to-text generation by prepending a target-language tag to each source sentence.For source sentence x_i in language X, the input is <Ytag> x_i and the target is its translation y_i.Source: §4 · p. 4
4.1 Model Setup
- mT5-base provides the multilingual encoder-decoder foundation, but computational constraints limit the model to 580M parameters.The authors use the multilingual T5 architecture and fine-tune its base variant rather than larger versions.Source: §4.1 · p. 4
4.2 Training Setup
- The final multilingual setup covers all directions among eight languages except English–French, preserving focus on African-language translation.The language set is English, French, Igbo, Fon, Swahili, Kinyarwanda, Xhosa, and Yoruba; English–French is omitted because its high-resource data could overshadow other directions.Source: §4.2 · p. 5
4.2.1 Our Contributions
- Backtranslation samples fresh monolingual sentences for each language and generates candidate translations with random sampling to broaden training exposure.The method varies sampled monolingual sentences across backtranslation rounds and uses two generated predictions before randomly selecting one.Source: §4.2.1 · p. 5
- Reconstruction corrupts monolingual sentences through random swaps and deletion, then trains the model to recover the original sentence under its language tag.The corruption uses two swaps and deletion probability 0.2, integrating a denoising objective into fine-tuning.Source: §4.2.1 · p. 5
5 Experiments
The experiments compare baseline fine-tuning, backtranslation, and joint BT&REC training before applying BT&REC to the eight-language MMTAfrica system. The final setup required computational adjustments, including parallelization, reduced backtranslation counts, gradient accumulation, and multi-GPU training.
5.0.1 Baseline
- The baseline compares three fine-tuning settings—BASE, BT, and BT&REC—to assess how backtranslation and reconstruction affect African-language translation.Experiments use Fon and Igbo to contrast a language absent from versus included in initial multilingual pretraining, across 10 directions.Source: §5.0.1 · pp. 5–6
- BT&REC jointly samples 500:50 monolingual sentences for baseline training and 100:50 for final experiments, using different sentences for each objective.The authors leave the effect of alternative ratios for future ablation studies.Source: §5.0.1 · p. 6
5.0.2 MMTAfrica
- MMTAfrica fine-tunes across all language directions involving eight languages except English–French, using the proposed BT&REC setting.The final experiment builds on the baseline configuration and adapts it for the broader multilingual system.Source: §5.0.2 · p. 6
- Backtranslation was computationally expensive: generating roughly 3,000 translations per round with 100 sentences per language required parallelization and reducing the count to 50 and then 10.The process was parallelized with Python multiprocessing to mitigate runtime.Source: §5.0.2 · p. 6
- Gradient accumulation increased the effective batch computation from 64 to 4096 sentences, while PyTorch DataParallel distributed training across GPUs.These choices addressed computational-resource constraints and the reported stability of large-batch updates.Source: §5.0.2 · p. 6
6 Results and Insights
MMTAfrica’s results show that backtranslation and reconstruction affect African-language translation differently by target language and pretraining coverage. On FLORES, MMTAfrica improves over the M2M MMT benchmark on nearly all evaluated language pairs, while its new test set shows BT&REC helps most tasks.
6.1 Baseline Results and Insights
- BT improves over BASE in most baseline directions, except eng→ibo is relatively unchanged and fra→ibo is worse.When the target is Fon, BT significantly outperforms both BASE and BT&REC.Source: §6.1 · pp. 6–7
- BT&REC gives the best results for Igbo targets, including cases where BT underperforms BASE, such as fra→ibo and eng→ibo.The authors attribute this to Igbo being represented in mT5 pretraining, allowing the decoder to use reconstruction more effectively.Source: §6.1 · p. 7
- Backtranslation improves cross-lingual mapping for low-resource African languages, although its computational cost motivates parallelization and reducing the number of backtranslated sentences.These propositions are drawn from the Fon–Igbo baseline analysis.Source: §6.1 · p. 7
- For African languages included in mT5 pretraining, BT&REC performs best, whereas for unseen languages reconstruction can initially add noise and harm cross-lingual learning.For Kinyarwanda and Fon, the authors propose reconstruction-only finetuning before introducing BT&REC; their final ratio was 2:1 for backtranslation and reconstruction.Source: §6.1 · p. 7
6.2 MMTAfrica Results and Insights
- +0.58 to +19.46 spBLEU: MMTAfrica improves over the M2M MMT benchmark on all reported FLORES language pairs except swa→eng, which is 2.76 spBLEU lower.The gains range from +0.58 in swa→fra to +19.46 in fra→xho.Source: §6.2 · p. 7
- MMTAfrica Test Set results show that BT&REC improves spBLEU on a majority of tasks, while translation into Yoruba generally has the lowest scores.The Fon→Yoruba direction is an exception, achieving the highest score among Fon-target directions; the authors relate this to shared linguistic characteristics and propose Yoruba-to-Fon transfer for future work.Source: §6.2 · pp. 7–8
7 Conclusion and Future Work
The paper introduces MMTAfrica and reports analyses, including a new reconstruction objective, to inform future research on multilingual machine translation for African languages.
Related papers
This paper cites
- Attention Is All You Need2017
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2018
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer2019
- SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing2018
- Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translation2020