Skip to main content
QUICK REVIEW

[Paper Review] Transfer Learning Approach for Arabic Offensive Language Detection System -- BERT-Based Model

Fatemah Husain, Özlem Uzuner|arXiv (Cornell University)|Feb 9, 2021
Hate Speech and Cyberbullying DetectionComputer Science10 references10 citations
TL;DR

This paper proposes a BERT-based transfer learning approach for detecting offensive language in Arabic social media, evaluating fine-tuning on multiple Arabic offensive language datasets. Despite leveraging transfer learning, the study finds limited performance gains, especially on highly dialectal comments, highlighting challenges in cross-dataset generalization for Arabic NLP tasks.

ABSTRACT

Developing a system to detect online offensive language is very important to the health and the security of online users. Studies have shown that cyberhate, online harassment and other misuses of technology are on the rise, particularly during the global Coronavirus pandemic in 2020. According to the latest report by the Anti-Defamation League (ADL), 35% of online users reported online harassment related to their identity-based characteristics, which is a 3% increase over 2019. Applying advanced techniques from the Natural Language Processing (NLP) field to support the development of an online hate-free community is a critical task for social justice. Transfer learning enhances the performance of the classifier by allowing the transfer of knowledge from one domain or one dataset to others that have not been seen before, thus, supporting the classifier to be more generalizable. In our study, we apply the principles of transfer learning cross multiple Arabic offensive language datasets to compare the effects on system performance. This study aims at investigating the effects of fine-tuning and training Bidirectional Encoder Representations from Transformers (BERT) model on multiple Arabic offensive language datasets individually and testing it using other datasets individually. Our experiment starts with a comparison among multiple BERT models to guide the selection of the main model that is used for our study. The study also investigates the effects of concatenating all datasets to be used for fine-tuning and training BERT model. Our results demonstrate the limited effects of transfer learning on the performance of the classifiers, particularly for highly dialectic comments.

Motivation & Objective

  • To develop a robust Arabic offensive language detection system using transfer learning.
  • To evaluate the effectiveness of fine-tuning BERT models across multiple Arabic offensive language datasets.
  • To assess whether concatenating multiple datasets improves model generalization and performance.
  • To investigate the challenges of detecting offensive language in highly dialectal Arabic text.
  • To compare performance across different BERT architectures for Arabic offensive language detection.

Proposed method

  • Fine-tuning multiple pre-trained BERT models on individual Arabic offensive language datasets.
  • Evaluating model performance by testing on unseen datasets to assess zero-shot generalization.
  • Concatenating all available offensive language datasets to train a unified BERT model.
  • Comparing performance across different BERT variants to identify the most effective architecture for Arabic offensive language detection.
  • Using standard NLP evaluation metrics such as F1-score, precision, and recall to measure classifier performance.
  • Applying transfer learning principles to transfer knowledge from source datasets to target datasets not seen during training.

Experimental results

Research questions

  • RQ1Does fine-tuning BERT on individual Arabic offensive language datasets improve detection performance?
  • RQ2How effective is transfer learning when testing on unseen Arabic offensive language datasets?
  • RQ3What is the impact of combining multiple datasets for training on model generalization and performance?
  • RQ4How do different BERT architectures compare in detecting offensive language in Arabic?
  • RQ5To what extent does dialectal variation limit the effectiveness of transfer learning in Arabic offensive language detection?

Key findings

  • Fine-tuning BERT models on individual datasets yields moderate performance improvements, but gains are limited across different test sets.
  • Transfer learning shows limited effectiveness, particularly when detecting offensive content in highly dialectal Arabic comments.
  • Concatenating all datasets for training does not significantly improve model generalization or performance on unseen datasets.
  • The study identifies significant challenges in cross-dataset transfer for Arabic offensive language detection due to linguistic variation and dialectal diversity.
  • Performance varies substantially across datasets, indicating that models trained on one dataset do not generalize well to others.
  • Among the evaluated BERT models, no single architecture consistently outperforms others across all test scenarios, suggesting sensitivity to dataset-specific characteristics.

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.