← Latest papers
💬 NLP

AfriNLLB: Efficient Translation Models for African Languages

This paper introduces AfriNLLB, a series of lightweight, efficient translation models for 15 African language pairs that achieve performance comparable to larger baselines through iterative layer pruning, quantization, and knowledge distillation, while also releasing the models and curated training data to support resource-constrained deployment and further research.

Original authors: Yasmin Moslem, Aman Kassahun Wassie, Amanuel Gizachew Abebe

Published 2026-08-10
📖 5 min read🧠 Deep dive

Original authors: Yasmin Moslem, Aman Kassahun Wassie, Amanuel Gizachew Abebe

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where language is a massive, bustling library. For centuries, this library has been incredibly organized for some languages, with towering shelves, bright lights, and librarians who know every book by heart. But for thousands of other languages, the shelves are dusty, the lights are dim, and the books are scattered in boxes in the attic. This is the reality of "low-resource" languages, particularly those spoken across Africa. In the field of Artificial Intelligence, specifically Machine Translation, computers learn to speak these languages by reading millions of sentences. If a computer hasn't read enough books, it stammers and makes mistakes.

The big idea behind this research is "efficiency." Think of a giant, super-smart robot translator. It knows a lot, but it's also huge, heavy, and requires a massive power plant to run. It's like trying to drive a semi-truck to deliver a single pizza; it works, but it's wasteful and slow, especially if you're in a neighborhood with narrow roads and limited electricity. Scientists have been trying to shrink these giant robots down into something smaller and faster—like a nimble scooter—that can still deliver the pizza perfectly, but without needing a power plant. This paper tackles the challenge of taking a powerful, heavy translation model and making it light enough to run on modest devices, all while ensuring it doesn't forget how to speak the specific, often overlooked languages of Africa.


Meet AfriNLLB: The Lightweight Translator for Africa

Meet AfriNLLB, a new family of translation models designed to be the "scooters" of the AI world. Created by researchers from Trinity College Dublin, the African Institute for Mathematical Sciences, and the Shaggar Institute of Technology, these models are built to translate between English, French, and 13 African languages, including Swahili, Hausa, Yoruba, Amharic, and Zulu. The goal? To make high-quality translation possible even in places where computers are slow or internet connections are spotty.

The story starts with a giant, pre-trained model called NLLB-200 600M. Think of this model as a heavyweight champion boxer. It's incredibly strong and knows a lot, but it's also bulky and takes a long time to throw a punch. The researchers wanted to keep the champion's strength but strip away the extra weight. To do this, they used a technique called iterative layer pruning. Imagine the model as a multi-layered cake. Instead of just slicing off the top or the bottom, the researchers carefully taste-tested each layer one by one. They removed the layers that contributed the least to the final flavor (translation quality) while keeping the ones that did the heavy lifting. They kept doing this, layer by layer, until they had a smaller, lighter cake that still tasted just as good.

But there was a catch. When you slice a cake, it can get a little dry or lose its shape. To fix this, the researchers used fine-tuning and knowledge distillation. Fine-tuning is like giving the smaller model a crash course with a specialized teacher, using a curated collection of 1.6 million sentence pairs they gathered specifically for African languages. Knowledge distillation is like having the giant "teacher" model (the original 3.3 billion parameter version) write out the answers to a test, which the smaller "student" model then studies. This helps the smaller model learn the tricks of the trade without needing to read the entire library again.

The results are pretty impressive. The researchers created models that are significantly faster than the original. In their tests, the pruned models ran about 20% faster than the baseline without any special tricks. But when they applied a technique called quantization (which is like compressing the model's memory to make it even leaner), the speed jumped by 57%. For example, a translation that took the original model 21.02 seconds to process took the new, compressed model only 8.96 seconds.

Crucially, the paper shows that this speed didn't come at the cost of quality. The smaller models achieved translation scores (measured by metrics like chrF++ and COMET) that were comparable to, and in some cases even slightly better than, the original fine-tuned baseline. For instance, in translating from English to Hausa, the new model improved the quality score by 16.7% compared to the original baseline, while also running faster.

The team also tested different ways of cutting the cake. They tried removing layers from the middle of the model versus removing them one by one based on importance. They found that the "one-by-one" method (iterative pruning) was the clear winner, producing models that balanced speed and quality much better than just hacking out the middle layers. They even experimented with removing layers from both the "thinking" part (encoder) and the "speaking" part (decoder) of the model, but found that keeping the thinking layers intact was safer for maintaining quality.

Perhaps most importantly, the researchers didn't just keep their findings to themselves. They released the code, the training data, and the models to the public. They gathered data from sources like OPUS and Hugging Face, cleaned it up using a four-stage pipeline (filtering out nonsense, checking the language, and scoring the quality), and made it available for anyone to use. This means that developers and researchers can now build their own translation tools for African languages without having to spend months gathering data or training massive models from scratch.

In short, AfriNLLB suggests that we don't need to choose between a powerful translator and a fast, efficient one. By carefully trimming the fat and feeding the model the right kind of food, we can create tools that are fast enough to run on everyday devices, bringing the power of translation to millions of people who have been left out of the digital conversation. The authors hope this work will spark more research and help support communities across Africa, proving that you can have your cake, eat it too, and still run a marathon.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →