[Paper Review] HERDPhobia: A Dataset for Hate Speech against Fulani in Nigeria
This paper introduces HERDPhobia, the first multilingual (English, Hausa, Nigerian-Pidgin) hate speech dataset targeting Fulani herders in Nigeria, manually annotated with 1,131 hateful, 5,007 non-hateful, and 36 ambiguous tweets. Using fine-tuned pre-trained language models, XLM-T achieved the highest performance with 99.83% weighted F1, demonstrating strong effectiveness for hate speech detection in low-resource African NLP settings.
Social media platforms allow users to freely share their opinions about issues or anything they feel like. However, they also make it easier to spread hate and abusive content. The Fulani ethnic group has been the victim of this unfortunate phenomenon. This paper introduces the HERDPhobia - the first annotated hate speech dataset on Fulani herders in Nigeria - in three languages: English, Nigerian-Pidgin, and Hausa. We present a benchmark experiment using pre-trained languages models to classify the tweets as either hateful or non-hateful. Our experiment shows that the XML-T model provides better performance with 99.83% weighted F1. We released the dataset at https://github.com/hausanlp/HERDPhobia for further research.
Motivation & Objective
- To address the lack of annotated hate speech datasets targeting the Fulani ethnic group in Nigeria, particularly in multilingual contexts.
- To create a benchmark dataset for detecting hate speech against Fulani herders on social media, especially on Twitter.
- To evaluate the performance of pre-trained language models on this novel dataset to support future NLP research in African languages.
- To contribute to ethical AI by releasing a dataset with anonymized personal identifiers and promoting responsible hate speech detection.
Proposed method
- Collected 6,174 tweets using keywords related to Fulani, cows, and herdsmen in three languages: English (97.2%), Hausa (1.8%), and Nigerian-Pidgin (1%).
- Annotated tweets using a three-annotator majority voting system into three classes: Hate (HT), Not-Hate (NHT), and Indeterminate (IND), following Warner and Hirschberg (2012) guidelines.
- Excluded indeterminate tweets (n=36) from training and evaluation, resulting in 892 HT and 3,523 NHT tweets for model training.
- Fine-tuned three multilingual pre-trained language models—XLM-T, mBERT, and AfriBERTa—on the cleaned dataset using identical hyperparameters: 20 epochs, batch size 32, sequence length 128.
- Evaluated model performance using weighted F1-score on a held-out test set, with XLM-T showing the best results.
- Anonymized all personally identifiable information, replacing user mentions with '@user' to ensure ethical data handling.
Experimental results
Research questions
- RQ1What is the performance of pre-trained multilingual language models in detecting hate speech targeting Fulani herders in Nigeria?
- RQ2How does model performance vary across different languages in a low-resource African NLP context?
- RQ3To what extent do inter-annotator agreements reflect the complexity of classifying hate speech in multilingual and culturally sensitive contexts?
- RQ4Can a multilingual dataset like HERDPhobia support the development of robust hate speech detection systems for underrepresented ethnic groups in Africa?
- RQ5How does the dominance of English in the dataset influence the performance of multilingual models like XLM-T?
Key findings
- The HERDPhobia dataset contains 6,174 manually annotated tweets, with 1,131 labeled as hateful, 5,007 as not hateful, and 36 as indeterminate, achieving a Fleiss kappa inter-annotator agreement of 57%.
- XLM-T achieved the highest performance with a weighted F1-score of 99.83% on the test set, outperforming mBERT (80.96%) and AfriBERTa (78.07%).
- The high performance of XLM-T is attributed to its pre-training on English, which aligns with the dominant language in the dataset (97.2% English tweets).
- Hateful tweets were most prevalent in southern Nigerian states, with Lagos recording the highest number (100 tweets), consistent with prior reports on ethnic hate rhetoric in Nigeria.
- The dataset was released on GitHub with all personally identifiable information replaced to ensure ethical use and privacy compliance.
- The study establishes a foundational benchmark for hate speech detection targeting marginalized ethnic groups in African NLP, with potential for extension to other marginalized communities and hate types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.