How good are Large Language Models on African Languages?
Authors:
- Jessica OjoJOJessica Ojo
- Kelechi OguejiKOKelechi Ogueji
- David Ifeoluwa AdelaniDADavid Ifeoluwa Adelani
Preprint
Abstract
Recent advancements in natural language processing have led to the proliferation of large language models (LLMs). These models have been shown to yield good performance, using in-context learning, even on tasks and languages they are not trained on. However, their performance on African languages is largely understudied relative to high-resource languages. We present an analysis of four popular large language models (mT0, Aya, LLaMa 2, and GPT-4) on six tasks (topic classification, sentiment classification, machine translation, summarization, question answering, and named entity recognition) across 60 African languages, spanning different language families and geographical regions. Our results suggest that all LLMs produce lower performance for African languages, and there is a large gap in performance compared to high-resource languages (such as English) for most tasks. We find that GPT-4 has an average to good performance on classification tasks, yet its performance on generative tasks such as machine translation and summarization is significantly lacking. Surprisingly, we find that mT0 had the best overall performance for cross-lingual QA, better than the state-of-the-art supervised model (i.e. fine-tuned mT5) and GPT-4 on African languages. Similarly, we find the recent Aya model to have comparable result to mT0 in almost all tasks except for topic classification where it outperform mT0. Overall, LLaMa 2 showed the worst performance, which we believe is due to its English and code-centric~(around 98%) pre-training corpus. Our findings confirms that performance on African languages continues to remain a hurdle for the current LLMs, underscoring the need for additional efforts to close this gap.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Instruction Tuning for Large Language Models: A SurveyACM Computing Surveys, 2026
- The Flores-101 Evaluation Benchmark for Low-Resource and Multilingual Machine TranslationTransactions of the Association for Computational Linguistics, 2022
- Language Contamination Helps Explains the Cross-lingual Capabilities of English Pretrained Models2022
- MasakhaNER 2.0: Africa-centric Transfer Learning for Named Entity Recognition2022
- A Few Thousand Translations Go a Long Way! Leveraging Pre-trained Models for African News Translation2022
- MasakhaNER: Named Entity Recognition for African LanguagesTransactions of the Association for Computational Linguistics, 2021
- Many-to-English Machine Translation Tools, Data, and Pretrained Models2021
- mT5: A Massively Multilingual Pre-trained Text-to-Text Transformer2021
- Participatory Research for Low-resourced Machine Translation: A Case Study in African Languages2020
- Unsupervised Cross-lingual Representation Learning at Scale2020