Abstract
MasakhaPOS introduces the largest Part-of-Speech (POS) dataset to date for 20 typologically diverse African languages, addressing the critical "data desert" in African NLP. By evaluating various multilingual models and cross-lingual transfer techniques, the research demonstrates that leveraging language family similarity and parameter-efficient fine-tuning can significantly boost tagging accuracy for low-resource languages. The study provides a high-quality, human-annotated benchmark that serves as a foundation for downstream tasks like machine translation and parsing.
Introduction
While Natural Language Processing (NLP) has made massive strides in Indo-European languages, African languages remain severely under-represented. One of the primary hurdles is the lack of basic annotated datasets. Part-of-Speech (POS) tagging—assigning grammatical categories like "noun" or "verb" to words—is a foundational step for higher-level linguistic analysis.
African languages present unique challenges for standard POS guidelines, such as those defined by Universal Dependencies (UD). Many are tonal, feature complex noun class systems (up to 20 classes in some Bantu languages), or use "clitics" (small units that attach to words, complicating word segmentation). This paper addresses the data bottleneck by providing a human-annotated benchmark for 20 languages spanning four major families.
The MasakhaPOS Dataset
The core contribution is the MasakhaPOS dataset, which covers 20 languages across four major families: Niger-Congo (17 languages, including Bantu and non-Bantu), Afro-Asiatic (Hausa), Nilo-Saharan (Luo), and English Creole (Naija). The data was primarily sourced from online news domains, providing a diverse range of contemporary topics and linguistic structures.
Methodology
The authors employed a multi-stage approach to build and evaluate the dataset:
- Human-in-the-Loop Annotation: Native speakers annotated 1,500 sentences per language. To optimize efficiency, 100 sentences were manually annotated to train an initial model, which then predicted tags for the remaining sentences for human correction.
- Baseline Modeling: The researchers tested traditional Conditional Random Fields (CRF) alongside several multilingual Pre-trained Language Models (PLMs). These included general models like mBERT and XLM-R, as well as "Africa-centric" models such as AfriBERTa, AfroLM, and AfroXLMR.
- Cross-Lingual Transfer: For zero-shot scenarios, the study compared standard fine-tuning (FT-Eval) against parameter-efficient methods like MAD-X (using adapters) and LT-SFT (Lottery Ticket Sparse Fine-Tuning).
Key Results and Insights
The evaluation revealed several critical findings for low-resource NLP:
- State-of-the-Art Performance: The AfroXLMR-large model achieved the highest average accuracy across all 20 languages at 89.4%.
- Africa-Centric Advantage: Africa-centric PLMs generally outperformed massively multilingual models of similar size, proving the value of pre-training on local data.
- Language Family Transfer: The most effective source language for transfer is often a typologically related language rather than English. For non-Bantu Niger-Congo languages, transferring from Wolof was frequently more effective than transferring from English or Romanian.
- Adapter Efficiency: In zero-shot scenarios, parameter-efficient methods like MAD-X outperformed standard fine-tuning by over 10% in accuracy, highlighting the importance of language-specific adaptation.
Tag Difficulty and Linguistic Challenges
While models were highly accurate (>90%) at identifying nouns, verbs, and punctuation, they struggled with rarer categories like symbols (SYM) and interjections (INTJ). Typological hurdles also persisted; for instance, in chiShona, a single complex word can translate to an entire English sentence, creating challenges for cross-lingual consistency in tokenization and tagging.
Conclusion and Future Work
MasakhaPOS represents a significant step forward for African NLP, yet limitations remain. The current dataset is focused on the news domain, and performance may vary on speech transcripts or social media. Future work will involve expanding the dataset to more domains and language families (such as Khoisan) and exploring how these POS tags can improve downstream applications like machine translation and named entity recognition for African languages.
Summary updated