Skip to main content
QUICK REVIEW

[Paper Review] Meta AI at Arabic Hate Speech 2022: MultiTask Learning with Self-Correction for Hate Speech Classification

Badr AlKhamissi, Mona Diab|arXiv (Cornell University)|May 16, 2022
Hate Speech and Cyberbullying DetectionComputer Science9 citations
TL;DR

This paper proposes a multi-task learning (MTL) framework with self-consistency correction for fine-grained Arabic hate speech classification, leveraging a fine-tuned MARBERT model across three subtasks: offensive language detection, hate speech identification, and fine-grained category classification. The approach achieves 82.7% F1 on the hate speech subtask, a 3.4% relative improvement over prior work.

ABSTRACT

In this paper, we tackle the Arabic Fine-Grained Hate Speech Detection shared task and demonstrate significant improvements over reported baselines for its three subtasks. The tasks are to predict if a tweet contains (1) Offensive language; and whether it is considered (2) Hate Speech or not and if so, then predict the (3) Fine-Grained Hate Speech label from one of six categories. Our final solution is an ensemble of models that employs multitask learning and a self-consistency correction method yielding 82.7% on the hate speech subtask -- reflecting a 3.4% relative improvement compared to previous work.

Motivation & Objective

  • Address the challenge of low-resource hate speech detection in Arabic, a language with growing online presence but limited high-quality annotated datasets.
  • Improve the reliability and granularity of hate speech classification by decomposing the task into three subtasks: offensive language detection, hate speech identification, and fine-grained category classification.
  • Overcome subjectivity in binary hate speech labeling by using a multi-label, multi-task framework that leverages shared representations across related tasks.
  • Enhance model robustness and generalization through multi-task learning and a novel self-consistency correction mechanism for final prediction refinement.
  • Demonstrate the effectiveness of joint training and post-processing correction on a new benchmark dataset for Arabic fine-grained hate speech detection.

Proposed method

  • Fine-tune the MARBERT model on a shared dataset for three subtasks: offensive language detection, hate speech classification, and fine-grained category prediction.
  • Train an ensemble of models using multi-task learning (MTL), where a single shared encoder (MARBERT) processes input tweets and feeds representations to task-specific classifiers.
  • Apply a self-consistency correction method post-inference, where multiple forward passes with data augmentation are used to vote on the final prediction, improving confidence and accuracy.
  • Optimize each subtask independently with early stopping and model selection based on validation F1 scores, followed by ensemble averaging.
  • Use data augmentation and dropout during inference in the self-consistency step to generate diverse predictions and reduce prediction variance.
  • Conduct ablation studies to evaluate the impact of MTL and self-correction on model performance, isolating their contributions to overall accuracy.

Experimental results

Research questions

  • RQ1Can multi-task learning improve performance in Arabic fine-grained hate speech classification by leveraging shared representations across related subtasks?
  • RQ2How effective is self-consistency correction in refining model predictions and reducing uncertainty in hate speech classification?
  • RQ3What is the relative contribution of multi-task learning versus self-correction in improving F1 scores on the hate speech subtask?
  • RQ4Does joint training across offensive language detection, hate speech identification, and fine-grained category classification lead to better generalization than single-task baselines?
  • RQ5To what extent does the proposed method outperform existing state-of-the-art models on the Arabic Fine-Grained Hate Speech Detection shared task?

Key findings

  • The proposed multi-task learning model achieves 82.7% F1 on the hate speech subtask, representing a 3.4% relative improvement over the previous state-of-the-art.
  • The self-consistency correction method improves the fine-grained hate speech classification performance by refining predictions through ensemble voting across multiple forward passes.
  • Ablation studies confirm that joint training across all three subtasks significantly improves model generalization and reduces overfitting compared to single-task baselines.
  • The ensemble of MTL models with self-correction outperforms all reported baselines on every metric across all three subtasks.
  • Multi-task learning leads to better data efficiency and faster convergence, as shared representations help the model learn more robust and transferable features.
  • The method demonstrates strong robustness on low-resource Arabic NLP, showing that MTL and self-correction can mitigate data scarcity in fine-grained hate speech detection.

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.