[Paper Review] Arabic Offensive Language on Twitter: Analysis and Experiments
The authors build the largest labeled corpus of Arabic offensive tweets, analyze linguistic and demographic patterns, and evaluate multiple classifiers, finding AraBERT-based models achieve top performance.
Detecting offensive language on Twitter has many applications ranging from detecting/predicting bullying to measuring polarization. In this paper, we focus on building a large Arabic offensive tweet dataset. We introduce a method for building a dataset that is not biased by topic, dialect, or target. We produce the largest Arabic dataset to date with special tags for vulgarity and hate speech. We thoroughly analyze the dataset to determine which topics, dialects, and gender are most associated with offensive tweets and how Arabic speakers use offensive language. Lastly, we conduct many experiments to produce strong results (F1 = 83.2) on the dataset using SOTA techniques.
Motivation & Objective
- Develop a large, dialect- and topic-biased-free Arabic offensive language dataset from Twitter.
- Annotate tweets into offensive, vulgar, hate speech, or clean and analyze demographic and linguistic patterns.
- Evaluate a range of representations and classifiers to establish strong Arabic offensive language detection baselines.
Proposed method
- Seedless sampling via the vocative pattern to efficiently collect offensive tweets from Arabic Twitter.
- Manual annotation of 10,000 tweets into offensive, vulgar, hate speech, or clean with high inter-annotator agreement (Fleiss’s kappa ~0.92–0.97).
- Pre-processing including tokenization with Farasa, normalizing Arabic text, and removing noisy tokens.
- Experimentation with lexical features, static and contextual embeddings (fastText, AraVec, Mazajak, BERT, AraBERT).
- Classification using SVM, fastText classifiers, and fine-tuned transformer models (BERT, AraBERT).
- 5-fold cross-validation for evaluation; cross-model comparisons.
Experimental results
Research questions
- RQ1Can a large, dialect- and topic-unbiased Arabic offensive language dataset be built from Twitter?
- RQ2What are the linguistic and demographic characteristics of Arabic offensive language in Twitter data?
- RQ3Which representation and classification approach yields the best performance for Arabic offensive language detection?
Key findings
- The dataset contains 10,000 tweets, with 1,915 offensive tweets (19%), including 225 vulgar and 506 hate speech, and 8,085 clean tweets.
- Offensive language topics are dominated by sports and politics; vulgar language overwhelmingly uses Egyptian dialect, with 71% of vulgar tweets in Egyptian Arabic and 13% in Gulf Arabic.
- Male authors dominate offensive language usage (female share ~14% overall; 6% vulgar; 9% hate speech).
- AraBERT (Arabic-specific Transformer) achieves the best overall detection performance among the tested models (84.6% precision, 82.4% recall, 83.2% F1).
- Mazajak embeddings with SVM perform very strongly (88.6% precision, 72.4% recall, 79.7% F1) and can outperform BERT in some setups.
- Contextual embeddings generally outperform static lexical features, with AraBERT outperforming BERT-based baselines.
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.