Skip to main content
QUICK REVIEW

[Paper Review] Emojis as Anchors to Detect Arabic Offensive Language and Hate Speech

Hamdy Mubarak, Sabit Hassan|arXiv (Cornell University)|Jan 18, 2022
Hate Speech and Cyberbullying DetectionComputer Science6 citations
TL;DR

This paper proposes a language-agnostic method to collect Arabic offensive language and hate speech by using emojis as anchors, achieving 35% offensive and 11% hate speech tweets—significantly higher than prior methods. The approach yields the largest publicly released Arabic dataset with fine-grained annotations, which enables state-of-the-art performance on external benchmarks and demonstrates generalization beyond emoji-dependent patterns.

ABSTRACT

We introduce a generic, language-independent method to collect a large percentage of offensive and hate tweets regardless of their topics or genres. We harness the extralinguistic information embedded in the emojis to collect a large number of offensive tweets. We apply the proposed method on Arabic tweets and compare it with English tweets - analysing key cultural differences. We observed a constant usage of these emojis to represent offensiveness throughout different timespans on Twitter. We manually annotate and publicly release the largest Arabic dataset for offensive, fine-grained hate speech, vulgar and violence content. Furthermore, we benchmark the dataset for detecting offensiveness and hate speech using different transformer architectures and perform in-depth linguistic analysis. We evaluate our models on external datasets - a Twitter dataset collected using a completely different method, and a multi-platform dataset containing comments from Twitter, YouTube and Facebook, for assessing generalization capability. Competitive results on these datasets suggest that the data collected using our method captures universal characteristics of offensive language. Our findings also highlight the common words used in offensive communications, common targets for hate speech, specific patterns in violence tweets; and pinpoint common classification errors that can be attributed to limitations of NLP models. We observe that even state-of-the-art transformer models may fail to take into account culture, background and context or understand nuances present in real-world data such as sarcasm.

Motivation & Objective

  • To address the scarcity of large, balanced, manually annotated datasets for Arabic offensive language and hate speech detection.
  • To develop a language- and topic-independent method for collecting offensive tweets without relying on linguistic keywords or patterns.
  • To create the largest publicly available Arabic dataset with fine-grained annotations for offensiveness, hate speech, vulgarity, and violence content.
  • To evaluate the generalization capability of models trained on this data across diverse external datasets, including multilingual and multi-platform sources.
  • To uncover linguistic patterns, cultural nuances, and model limitations in detecting sarcasm, context, and dialectal variations in offensive content.

Proposed method

  • Leverage emojis as extralinguistic anchors to collect tweets with high offensive content probability, bypassing language-specific keyword dependencies.
  • Use a generic, non-linguistic seed-based approach by extracting frequently occurring emojis from publicly available datasets to initiate data collection.
  • Apply a multi-stage annotation pipeline involving 190+ annotators to label tweets for offensiveness, hate speech, vulgarity, and violence, with quality control via test questions.
  • Fine-tune multiple transformer architectures (e.g., QARiB) on the collected dataset for offensive language and hate speech classification.
  • Evaluate model generalization by removing emojis from training and test sets, and testing on external datasets like OffensEval 2020 and MPOLD.
  • Perform in-depth linguistic and temporal analysis on the dataset to identify patterns in offensive language, targets of hate speech, and morphological variations in vulgar terms.

Experimental results

Research questions

  • RQ1Can emojis serve as reliable, language-independent anchors to collect a high proportion of offensive and hate speech tweets in Arabic?
  • RQ2How does the distribution of offensive content vary across time, dialects, and social targets in Arabic Twitter?
  • RQ3To what extent can models trained on emoji-anchored data generalize to external datasets without emojis?
  • RQ4What linguistic patterns characterize offensive, violent, and vulgar content in Arabic social media, especially with non-standard spellings and dialectal forms?
  • RQ5What are the persistent failure modes of state-of-the-art NLP models when detecting sarcasm, context, or cultural nuances in offensive language?

Key findings

  • The emoji-anchored method achieved 35% offensive tweets and 11% hate speech tweets, nearly doubling the rate of prior keyword-based approaches.
  • The proposed dataset is the largest publicly available Arabic dataset annotated for multilevel offensive language, including fine-grained hate speech, vulgarity, and violence content.
  • Models fine-tuned on the dataset achieved an F1 score of 85.03 on the SemEval 2020 Arabic offensive language detection benchmark, demonstrating strong performance.
  • Even when emojis were removed from training and test sets, models maintained high performance (F1 = 83.05 on test set), indicating generalization beyond emoji dependence.
  • The model outperformed existing approaches on the MPOLD dataset, which includes comments from Twitter, YouTube, and Facebook, confirming its cross-platform generalization capability.
  • Analysis revealed common targets of hate speech, recurring morphological patterns in vulgar terms, and distinct linguistic structures in violent tweets, while also exposing model failures in detecting sarcasm and cultural context.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.