Hate speech detection with ADHAR: a multi-dialectal hate speech corpus in Arabic

Anis Charfi*, Mabrouka Besghaier, Raghda Akasheh, Andria Atalla, Wajdi Zaghouani

*Corresponding author for this work

Research output: Contribution to journalReview articlepeer-review

1 Citation (Scopus)

Abstract

Hate speech detection in Arabic poses a complex challenge due to the dialectal diversity across the Arab world. Most existing hate speech datasets for Arabic cover only one dialect or one hate speech category. They also lack balance across dialects, topics, and hate/non-hate classes. In this paper, we address this gap by presenting ADHAR—a comprehensive multi-dialect, multi-category hate speech corpus for Arabic. ADHAR contains 70,369 words and spans four language variants: Modern Standard Arabic (MSA), Egyptian, Levantine, Gulf and Maghrebi. It covers four key hate speech categories: nationality, religion, ethnicity, and race. A major contribution is that ADHAR is carefully curated to maintain balance across dialects, categories, and hate/non-hate classes to enable unbiased dataset evaluation. We describe the systematic data collection methodology, followed by a rigorous annotation process involving multiple annotators per dialect. Extensive qualitative and quantitative analyses demonstrate the quality and usefulness of ADHAR. Our experiments with various classical and deep learning models demonstrate that our dataset enables the development of robust hate speech classifiers for Arabic, achieving accuracy and F1-scores of up to 90% for hate speech detection and up to 92% for category detection. When trained with Arabert, we achieved an accuracy and F1-score of 94% for hate speech detection, as well as 95% for the category detection.

Original languageEnglish
Article number1391472
JournalFrontiers in Artificial Intelligence
Volume7
DOIs
Publication statusPublished - 2024

Keywords

  • Arabic corpora
  • Arabic language
  • dataset annotation
  • dialectal Arabic
  • hate speech
  • natural language processing

Fingerprint

Dive into the research topics of 'Hate speech detection with ADHAR: a multi-dialectal hate speech corpus in Arabic'. Together they form a unique fingerprint.

Cite this