Skip to main content
QUICK REVIEW

[Paper Review] Arabic Offensive Language Detection Using Machine Learning and Ensemble Machine Learning Approaches

Fatemah Husain|arXiv (Cornell University)|May 16, 2020
Hate Speech and Cyberbullying DetectionComputer Science17 references25 citations
TL;DR

This study evaluates single and ensemble machine learning approaches for detecting offensive language in Arabic social media text, addressing challenges from dialectal variation and informal writing. Using a bagging ensemble model, the approach achieves an F1 score of 88%, significantly outperforming the best single learner classifier by 6 percentage points, demonstrating the superiority of ensemble methods in this low-resource, high-variability NLP task.

ABSTRACT

This study aims at investigating the effect of applying single learner machine learning approach and ensemble machine learning approach for offensive language detection on Arabic language. Classifying Arabic social media text is a very challenging task due to the ambiguity and informality of the written format of the text. Arabic language has multiple dialects with diverse vocabularies and structures, which increase the complexity of obtaining high classification performance. Our study shows significant impact for applying ensemble machine learning approach over the single learner machine learning approach. Among the trained ensemble machine learning classifiers, bagging performs the best in offensive language detection with F1 score of 88%, which exceeds the score obtained by the best single learner classifier by 6%. Our findings highlight the great opportunities of investing more efforts in promoting the ensemble machine learning approach solutions for offensive language detection models.

Motivation & Objective

  • To address the challenge of detecting offensive language in Arabic social media, which is complicated by dialectal diversity and informal language use.
  • To compare the performance of single learner machine learning models versus ensemble machine learning models in offensive language detection for Arabic.
  • To identify the most effective ensemble technique for improving classification accuracy in low-resource, high-variability Arabic text.
  • To demonstrate the feasibility and advantages of using ensemble methods in Arabic offensive language detection, where traditional models struggle.

Proposed method

  • The study employs a range of single learner machine learning models, including Logistic Regression, SVM, Random Forest, and Naive Bayes, for baseline classification.
  • Ensemble methods such as bagging, boosting, and voting are applied to combine predictions from multiple base learners to improve robustness and accuracy.
  • The dataset consists of Arabic social media text annotated for offensive language, with preprocessing steps to handle dialectal and informal forms.
  • Feature engineering involves bag-of-words and TF-IDF representations to capture lexical patterns in the text.
  • Model evaluation is conducted using standard NLP metrics, particularly F1 score, to assess performance on imbalanced offensive language detection tasks.
  • The best-performing model is selected based on F1 score, with bagging showing the highest performance.

Experimental results

Research questions

  • RQ1How do single learner machine learning models perform in detecting offensive language in Arabic social media text?
  • RQ2To what extent do ensemble machine learning approaches improve offensive language detection performance compared to single learners in Arabic?
  • RQ3Which ensemble technique—bagging, boosting, or voting—yields the highest F1 score in Arabic offensive language detection?
  • RQ4Can ensemble methods effectively mitigate the challenges posed by dialectal variation and informal writing in Arabic?

Key findings

  • The ensemble machine learning approach significantly outperforms single learner models in detecting offensive language in Arabic, with a 6-percentage-point improvement in F1 score.
  • Among ensemble methods, bagging achieves the highest F1 score of 88%, making it the most effective approach in this study.
  • The best single learner classifier achieves an F1 score of 82%, which is outperformed by the bagging ensemble model.
  • The results indicate that ensemble methods are particularly effective in handling the linguistic complexity and variability inherent in Arabic social media text.

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.