Low resource language NLP: building evaluation sets that hold up
For companies4 min read
Low resource language NLP lives or dies on its test sets, because without a trustworthy test you cannot tell whether a model is improving. Many sets are translated from English, which is quick but has limits. This post compares approaches using Belebele, FLEURS and IrokoBench, and shows how to build your own.
Three public designs worth studying
Belebele is a parallel multiple-choice reading comprehension set in 122 language variants. Each question is based on a short passage from Flores-200 and has four answer options. Because it is fully parallel, performance can be compared directly across all languages.
FLEURS is an n-way parallel speech dataset in 102 languages, built on the FLoRes-101 translation benchmark. It supports speech recognition, language identification, translation and retrieval.
IrokoBench is human-translated into 17 low-resource African languages and covers inference, mathematical reasoning and knowledge questions.
Why parallel sets are useful
A parallel set contains the same content in every language. When a model scores lower in one language, the gap is down to the language, not to harder questions. That makes parallel sets good for comparing languages and for tracking progress across versions of a model.
The limits of translated sets
A translated set carries the topics and assumptions of its source. Questions about snow, tax forms or baseball may not fit a speaker's life. Names, units and examples can read as foreign. And a translated question is easier to answer through the English pattern behind it than a question a speaker would have written.
The IrokoBench authors saw something related. Translating test sets back into English narrowed the gap for larger English-centric models, which means the models were stronger in English than in the local language, and that the English route is a competing baseline for your product.
| Approach | Strength | Weakness |
|---|---|---|
| Translated from English | Parallel, cheap, easy to compare | Imported topics and phrasing |
| Written by native speakers | Natural topics and wording | Not parallel, harder to compare |
| Adapted by native speakers | Parallel with local examples | Slower, needs guidance |
| Mined from real usage | Matches real traffic | Privacy review needed, noisy labels |
A hybrid method for your own low resource language NLP test
- Select the skills to test: reading comprehension, question answering in your domain, translation, safety refusals.
- Have bilingual domain experts adapt English items into the local language, swapping foreign examples for local ones.
- Add items written from scratch by native speakers, covering things only locals ask about.
- Ask a second native speaker to answer every item blind, and remove items where answers differ.
- Keep part of the set private and unpublished.
- Report scores for adapted and original items separately.
Quality controls
- Answer validation: a second speaker solves each question, and disagreements go to review.
- Ambiguity check: remove items with more than one defensible answer.
- Dialect note: record the variety of the language each writer uses, since a single standard may not reflect users.
- Spelling guide: for languages with variable spelling, write down the convention.
- Leakage check: search for each item online before release.
Use the small-data lessons
MasakhaNEWS reports that a few-shot method using 10 examples per label reached 86.0 F1, about 93% of the 92.6 F1 achieved with full supervision. That kind of result means a small, carefully built labelled set can carry a lot of weight, and it is a good argument for spending effort on quality, not just volume.
Source: MasakhaNEWS: News Topic Classification for African languages (arXiv:2304.09972)(opens in a new tab)
Report honestly
State the languages and dialects covered, the number of items, who wrote and checked them, and what is public. If a language has only a few hundred items, say that scores are rough. Resist averaging across languages into a single figure, because a strong result in one language can hide a weak result in another.
Decide how many items you need
There is no universal number, but you can reason about it. If a language has 200 items and a model scores 70%, the uncertainty around that score is wide, and two models that differ by a few points may be tied. Larger sets narrow the uncertainty. Plan enough items per skill, not just in total, so that a result for health questions is not based on twenty rows. Report the item count next to every score.
When resources are tight, spend them on the validation step rather than on volume. A set of 300 items that two native speakers agree on is more useful than 1,000 items that nobody double-checked.
Refresh on a schedule
Language changes and models improve. Keep a rolling private set, add fresh items each quarter and retire items that have been published or that every model now answers correctly. A test that everyone passes no longer separates good from poor systems, so make the new items harder in the ways that matter to your product.
Curatrain vets linguists with graded skill tests and focuses on Africa first, open worldwide. Companies get a shortlist of experts who passed the tests their project needs and approve each match through a secure link, and a project can start with a pilot.