AfriNLLB: Efficient Translation Models for African Languages
Yasmin Moslem, Aman Kassahun Wassie, Amanuel Gizachew Abebe
TL;DR
AfriNLLB tackles the scarcity of efficient machine translation for African languages by compressing the NLLB-200 baseline through iterative decoder-layer pruning, multi-stage fine-tuning, and sequence-level knowledge distillation. The approach is supported by curated, high-quality multilingual data and a robust filtering pipeline, with validation on Flores200NLLB2022. The authors release two model variants (Transformers and CTranslate2) and all training data to enable replication and deployment in resource-limited settings. Results show meaningful speedups while preserving translation quality, highlighting practical impact for African-language MT and paving the way for broader language coverage and deployment in constrained environments.
Abstract
In this work, we present AfriNLLB, a series of lightweight models for efficient translation from and into African languages. AfriNLLB supports 15 language pairs (30 translation directions), including Swahili, Hausa, Yoruba, Amharic, Somali, Zulu, Lingala, Afrikaans, Wolof, and Egyptian Arabic, as well as other African Union official languages such as Arabic (MSA), French, Portuguese, and Spanish. Our training data covers bidirectional translation between English and 13 languages, and between French and two languages (Lingala and Wolof). AfriNLLB models are based on NLLB-200 600M, which we compress using iterative layer pruning and quantization. We fine-tune the pruned models on parallel corpora we curated for African languages, employing knowledge distillation from a larger teacher model. Our work aims at enabling efficient deployment of translation models for African languages in resource-constrained settings. Our evaluation results demonstrate that AfriNLLB models achieve performance comparable to the baseline while being significantly faster. We release two versions of the AfriNLLB models, a Transformers version that allows further fine-tuning and a CTranslate2 version for efficient inference. Moreover, we release all the training data that we used for fine-tuning the baseline and pruned models to facilitate further research.
