AfriHG: News headline generation for African Languages

Tolúlopé Ògúnrèmí, Serah Akojenu, Anthony Soronnadi, Olubayo Adekanmbi, David Ifeoluwa Adelani · DOI

Abstract

Natural Language Processing (NLP) for African languages faces significant data scarcity, particularly for complex tasks like abstractive summarization. This paper introduces AfriHG, a comprehensive benchmark for news headline generation across 16 widely spoken African languages. We evaluate multiple architectures, including the specialized AfriTeVa V2 and the massive 13-billion-parameter Aya-101. Our findings reveal that specialized, smaller models (313M parameters) can achieve performance comparable to or better than much larger general-purpose models when fine-tuned on regional data. We also identify script-specific tokenization as a critical bottleneck for non-Latin scripts.

Introduction

While NLP has advanced rapidly for high-resource languages, many African languages remain underserved. Abstractive summarization, which requires paraphrasing rather than simple extraction, is particularly challenging due to the lack of high-quality datasets. Headline generation represents an extreme form of this task, requiring models to distill entire articles into single, coherent lines.

To bridge this gap, we present AfriHG, a unified dataset created by merging and cleaning XL-Sum and MasakhaNEWS, supplemented with additional scraping from the BBC, Voice of America, and Isolezwe. The dataset spans 16 languages, including Amharic, Arabic, English, French, Hausa, Igbo, Kirundi, Nigerian-Pidgin, Oromo, Shona, Somali, Swahili, Tigrinya, Yoruba, isiXhosa, and isiZulu.

Methods

We compared three distinct modeling approaches to evaluate the state of headline generation for these languages:

  1. mT5-base: A standard multilingual sequence-to-sequence model (580M parameters) trained on over 100 languages.
  2. AfriTeVa V2: A specialized model (313M parameters) pre-trained specifically on a large corpus of African languages.
  3. Aya-101: A massive, instruction-tuned Large Language Model (13B parameters) designed for broad multilingual capabilities.

The T5-based models were fine-tuned specifically on the headline generation task, while Aya-101 was evaluated using prompting techniques.

Results and Key Insights

The evaluation metrics (ROUGE-1, ROUGE-2, and ROUGE-L) demonstrate that specialization often outweighs raw scale. AfriTeVa V2 consistently outperformed the larger mT5-base across all languages, with average gains of +2.8 R1, +1.5 R2, and +2.6 RL.

Table 1: Data sizes and ROUGE scores for headline generation across 16 languages. AfriTeVa V2 (base) and Aya show competitive performance despite the massive difference in parameter counts.

Notably, AfriTeVa V2 remained highly competitive with the 13B-parameter Aya-101. While Aya achieved the highest scores in 9 of the 16 languages, the performance gap was remarkably narrow considering it is roughly 40 times larger than AfriTeVa. This suggests that for low-resource contexts, pre-training on relevant local data is a highly efficient strategy compared to simply increasing model size.

The Tokenization Trap

A key insight from our study is the impact of script on performance. Models initially struggled significantly with non-Latin scripts like Ge’ez (used for Amharic and Tigrinya) and Arabic. Switching to script-specific tokenizers resulted in performance jumps of up to 20 points, highlighting a major architectural bottleneck in current multilingual NLP models.

Discussion and Conclusion

Our results indicate that the fine-tuning paradigm still holds a significant edge over zero-shot or few-shot prompting when task-specific data is available. While massive LLMs like Aya are versatile, smaller, specialized models like AfriTeVa V2 offer a more resource-efficient path for specific regional applications.

Limitations remain, particularly the "tokenization gap" for non-Latin scripts and the fact that 16 languages represent only a small fraction of Africa's linguistic diversity. Future work will explore the performance of newer models like GPT-4 and Llama 3 on the AfriHG benchmark and continue to refine architectural solutions for diverse scripts.

Summary updated

BibTeX
@inproceedings{ogunremi2024afrihg,
  author = {Tolúlopé Ògúnrèmí and Serah Akojenu and Anthony Soronnadi and Olubayo Adekanmbi and David Ifeoluwa Adelani},
  title = {{AfriHG: News headline generation for African Languages}},
  booktitle = {AfricaNLP @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=fw7g7pNUDl},
}
Figure