Skip to main content
QUICK REVIEW

[Paper Review] AfroBench: How Good are Large Language Models on African Languages?

Jessica Ojo, Ogundepo, Odunayo|arXiv (Cornell University)|Nov 14, 2023
Topic ModelingComputer Science8 citations
TL;DR

The paper evaluates GPT-4, mT0, and LLaMa 2 on five NLP tasks across 30 African languages, finding large performance gaps vs high-resource languages and task-dependent strengths and weaknesses.

ABSTRACT

Large-scale multilingual evaluations, such as MEGA, often include only a handful of African languages due to the scarcity of high-quality evaluation data and the limited discoverability of existing African datasets. This lack of representation hinders comprehensive LLM evaluation across a diverse range of languages and tasks. To address these challenges, we introduce AfroBench -- a multi-task benchmark for evaluating the performance of LLMs across 64 African languages, 15 tasks and 22 datasets. AfroBench consists of nine natural language understanding datasets, six text generation datasets, six knowledge and question answering tasks, and one mathematical reasoning task. We present results comparing the performance of prompting LLMs to fine-tuned baselines based on BERT and T5-style models. Our results suggest large gaps in performance between high-resource languages, such as English, and African languages across most tasks; but performance also varies based on the availability of monolingual data resources. Our findings confirm that performance on African languages continues to remain a hurdle for current LLMs, underscoring the need for additional efforts to close this gap. https://mcgill-nlp.github.io/AfroBench/

Motivation & Objective

  • Assess how popular LLMs perform on African languages across multiple NLP tasks.
  • Compare LLM prompting results to full-supervised baselines and high-resource language benchmarks.
  • Identify task-dependent strengths/weaknesses and language factors affecting African language performance.
  • Highlight implications for representation of African languages in LLM development.

Proposed method

  • Evaluate three LLMs (mT0, LLaMa 2, GPT-4) using zero-shot prompting on five tasks across 30 African languages.
  • Use English prompts in a zero-shot cross-lingual setup with target language texts in African languages.
  • Compare LLM results to state-of-the-art supervised baselines and high-resource language performance.
  • Analyze results by task (classification, QA, NER, MT) and language family/location.
  • Leverage task datasets: MasakhaNEWS, AfriSenti, MasakhaNER, AfriQA, and MAFAND-MT for evaluation.

Experimental results

Research questions

  • RQ1How do GPT-4, mT0, and LLaMa 2 perform on African languages across five NLP tasks?
  • RQ2What is the performance gap between African languages and high-resource languages for these LLMs?
  • RQ3Which tasks are more susceptible to poor performance by LLMs, and why?
  • RQ4Which models show strongest cross-lingual transfer or cross-lingual QA capabilities for African languages?
  • RQ5What factors (prompting, multilingual fine-tuning, pretraining data) explain observed performance differences?

Key findings

  • GPT-4 achieves about 80% of SOTA performance on news topic and sentiment classification.
  • GPT-4's translation/generative tasks (MT) perform poorly compared to classification tasks.
  • mT0 exhibits the best cross-lingual QA performance, surpassing some supervised baselines like fine-tuned mT5.
  • mT0-13B-MT benefits from multilingual prompts, approaching competitive MT results.
  • LLaMa 2 shows the weakest performance among the evaluated models due to English-centric pretraining.
  • Across tasks, all models lag behind high-resource language performance, with larger gaps for MT and QA.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.