TRANSMISSION // 2611.32630v1

Teaching search to connect Twi questions with English answers

Source published

MargEmbed-Akan adapts an open search model to retrieve English passages for Twi queries. In benchmark tests, it improved retrieval for Asante Twi questions, including queries typed without standard E and O characters.

AI-generated conceptual illustration for Teaching search to connect Twi questions with English answers
AI-generated conceptual illustration; not documentary evidence.

When people ask questions in Twi but useful online information is in English, search must bridge the two languages. Researchers tested existing retrieval models and trained an open model, MargEmbed-Akan, to better match Twi queries with English passages. Its benchmark results are promising, but the study also leaves questions about native-language evaluation and other Akan varieties.

A search system can ground an answer in useful evidence only if it finds the right passage. For Twi speakers, that can mean connecting a question in Twi to information written in English—even when the two use different words.

A team from the University of Cape Coast evaluated existing systems on this cross-language task and introduced MargEmbed-Akan, an open model designed to improve it. The work is an arXiv preprint, so its findings should be read as research results, not settled conclusions.

The researchers used two retrieval tasks. In AfriQA, a system receives a question written natively in Asante Twi and must find the English Wikipedia passage that answers it. The study evaluated 1,221 questions, including a test split of 486, against 5,357 English passages. That collection came from passages released with AfriQA, not all of Wikipedia.

The second task used Bible translations. Given a Twi passage, the model had to find its English translation among 6,195 candidates. Researchers also tested the reverse direction, from English to Twi. This measures matching between translations, a different task from finding evidence that answers a question.

Eight systems were evaluated, including keyword search, open embedding models and two proprietary embedding services. The main AfriQA measure, nDCG@10, rewards systems for placing the correct passage near the top of the first ten results. The researchers used paired bootstrap confidence intervals and corrected planned statistical comparisons for multiple testing.

Learning from a model’s rankings

MargEmbed-Akan starts from AfriE5-Large-instruct, an open model adapted for African languages. A frozen copy of AfriE5 acted as a teacher, scoring English training questions against their answer passages and seven hard negatives—plausible but incorrect alternatives. A trainable copy learned to reproduce those rankings from machine-translated Twi questions.

The translations came from NLLB-200 and were checked by translating them back into English. This filtered some faulty outputs, but cannot guarantee that every remaining translation was accurate. Training also included the original English questions to help preserve English retrieval behaviour, plus examples reflecting common Twi typing variations. AfriQA data was not used for training or model selection.

Better benchmark scores, with a remaining gap

Across all 1,221 AfriQA questions, MargEmbed-Akan reached 71.5 nDCG@10 for Twi typed as written. The study reports this as significantly higher than gemini-embedding-001 (66.6) and the starting AfriE5 model (66.6). For the “without E/O” condition—where look-alike characters are mapped to e/o and tone marks are removed—its score was 69.5, compared with 62.0 for Gemini and 61.5 for AfriE5. In these tests, the model was less affected by that typing change.

This does not mean Twi search performed as well as English search. MargEmbed-Akan scored 84.7 for English queries on the same measure. Its English result was not significantly different from its base model, though the proprietary systems scored somewhat higher. Among the systems tested in both languages, scores were lower for Twi than for English; BM25 was evaluated only with English queries, so it does not provide a comparison.

On the Bible task, MargEmbed-Akan ranked the correct English translation first for 94.6% of standard Twi passages and 87.6% in the “without E/O” condition. Gemini scored 93.7% on standard Twi; the paper describes the two as statistically tied there. MargEmbed-Akan scored higher in the “without E/O” condition. These results demonstrate performance on a translation-matching task, not on every kind of English-language content.

What remains uncertain

The study tests Asante Twi, not every Akan variety. It had no natively written Twi validation set: model selection relied on translated questions. The model was trained in a single run, and the authors did not use ablation experiments to isolate the contribution of each training component. Subtle translation errors may remain despite the round-trip check.

The AfriQA passage collection is smaller than all of Wikipedia, so its absolute scores should not be compared directly with scores from searches over the full encyclopedia. Bible text may also have appeared in models’ pretraining data. The researchers checked for overlap between training and evaluation passages and report that removing questions with detected overlap left the main AfriQA result essentially unchanged. That check does not settle every possible contamination concern.

Overall, the findings suggest that adapting an existing model can improve measured Twi-to-English retrieval while keeping English performance close to its base model. They do not show that the language gap is solved or that the gains will hold for other dialects, topics or real-world search systems. The authors call for native-Twi validation, component tests and evaluation on other Akan varieties and Ghanaian languages. As an arXiv preprint, the paper has not necessarily undergone peer review.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.