Decoding Sectarian Clouds: Detecting Religious Hate Speech in the Arabic Twittersphere

Are they Our Brothers? Analysis and Detection of Religious Hate Speech in the Arabic Twittersphere

2018-08-01
Nuha Albadi, Maram Kurdi, Shivakant Mishra
Summary
Problem
Method
Results
Takeaways
Abstract

This paper presents the first systematic study and automated detection of religious hate speech in the Arabic Twittersphere. The authors introduce a novel dataset of 6,000 annotated tweets and three specialized lexicons, achieving state-of-the-art performance using a GRU-based Recurrent Neural Network with pre-trained AraVec embeddings.

TL;DR

Religious hate speech in the Arab world is a pressing social issue, yet automated detection tools have historically lagged behind. This paper bridges the gap by providing the first publicly available Arabic religious hate speech dataset and lexicon. By leveraging a GRU-based RNN architecture and specialized word embeddings, the authors achieved an AUROC of 0.84, identifying alarming levels of hostility targeting Jews, Atheists, and Shia Muslims.

The Challenge: A Linguistic Minefield

Most hate speech detection research is "English-centric," ignoring the specific nuances of the Arabic language. Arabic presents a unique "trilemma" for NLP researchers:

  1. Morphological Complexity: A single word can contain a root, prefixes, and suffixes, leading to millions of variations.
  2. Dialectal Diversity: Twitter users rarely use Modern Standard Arabic (MSA); they use regional dialects that lack standard spelling or grammar.
  3. Subtlety: Religious hate is often encoded in pejorative sectarian terms (e.g., Raafidah, Majus) that generic profanity filters completely miss.

Methodology: From Lexicons to Deep Learning

The authors didn't just build a model; they built the infrastructure for future research.

1. Data Collection & Lexicon Building

They collected 6,000 tweets and used crowdsourcing to label them. To extract features, they employed three statistical methods: PMI, Chi-square, and BNS. These methods helped identify "keywords of hate," categorized into offensive terms, religious/political labels used pejoratively, and war-related violence.

2. The GRU Architecture

The core of the detection system is a Gated Recurrent Unit (GRU) network. Unlike simpler n-gram models, the GRU can capture long-distance dependencies in text.

Model Architecture Fig 1: The GRU-based RNN architecture utilizing AraVec pre-trained embeddings.

The choice of AraVec (Twitter-CBOW) embeddings was crucial. By training on 67 million Arabic tweets, the model "understands" the slang and malformed spellings typical of social media, leading to a much higher word-match rate (80%) compared to models trained on Wikipedia or formal web text.

Experimental Results: Who is Targeted?

The study's findings are sobering. 42% of the collected tweets referring to religion contained hate speech. As shown in the data below, Jews and Atheists face the highest percentage of targeted hostility relative to their mention frequency.

Target Analysis Fig 2: Percentage of hate speech targeting specific religious groups within their respective datasets.

In terms of model performance, the GRU-based RNN consistently beat traditional machine learning approaches (SVM and Logistic Regression) across all metrics:

ModelF1 ScoreAccuracyAUROC
Lexicon (PMI)0.690.710.78
SVM (N-grams)0.720.750.81
GRU-based RNN0.770.790.84

ROC Curve Fig 3: The ROC curve confirming the superior discriminative power of the GRU model.

Critical Insights & Takeaways

The effectiveness of this approach stems from the Inductive Bias of the GRU combined with domain-specific embeddings. While n-grams look for specific "bad words," the GRU identifies the "vibe" and structure of hateful rhetoric.

Future Outlook:

  • Limitations: The model still struggles with extremely subtle sarcasm or hate speech that lacks explicit offensive terms.
  • Expansion: Future research should leverage character-level CNNs to handle the "morphologically rich" nature of Arabic even better, potentially reducing the impact of misspelled words.
  • Impact: This study provides the necessary toolkit (dataset + lexicons) for platforms like Twitter to begin cleaning up sectarian toxicity in the Middle East.

Conclusion

This paper serves as a seminal work for Arabic NLP. It highlights that hate speech is culturally and linguistically dependent. We cannot simply translate English models into Arabic; we must build systems that understand the specific historical and sectarian context of the region.

Find Similar Papers

Try Our Examples

  • Search for recent papers using Transformer-based architectures like BERT or AraBERT for religious hate speech detection in Arabic dialects.
  • Which paper first proposed the Bi-Normal Separation (BNS) feature scaling method, and how does it specifically improve SVM-based text classification over TF-IDF?
  • Explore studies that apply Gated Recurrent Units (GRU) to detect cyberhate or radicalization in other morphologically rich languages like Hebrew or Farsi.
Contents
Decoding Sectarian Clouds: Detecting Religious Hate Speech in the Arabic Twittersphere
1. TL;DR
2. The Challenge: A Linguistic Minefield
3. Methodology: From Lexicons to Deep Learning
3.1. 1. Data Collection & Lexicon Building
3.2. 2. The GRU Architecture
4. Experimental Results: Who is Targeted?
5. Critical Insights & Takeaways
6. Conclusion