Cross-lingual few-shot hate speech and offensive language detection using meta learning - Archive ouverte HAL
Article Dans Une Revue IEEE Access Année : 2022

Cross-lingual few-shot hate speech and offensive language detection using meta learning

Résumé

Automatic detection of abusive online content such as hate speech, offensive language, threats, etc. has become prevalent in social media, with multiple efforts dedicated to detecting this phenomenon in English. However, detecting hatred and abuse in low-resource languages is a non-trivial challenge. The lack of sufficient labeled data in low-resource languages and inconsistent generalization ability of transformer-based multilingual pre-trained language models for typologically diverse languages make these models inefficient in some cases. We propose a meta learning-based approach to study the problem of few-shot hate speech and offensive language detection in low-resource languages that will allow hateful or offensive content to be predicted by only observing a few labeled data items in a specific target language. We investigate the feasibility of applying a meta learning approach in cross-lingual few-shot hate speech detection by leveraging two meta learning models based on optimization-based and metric-based (MAML and Proto-MAML) methods. To the best of our knowledge, this is the first effort of this kind. To evaluate the performance of our approach, we consider hate speech and offensive language detection as two separate tasks and make two diverse collections of different publicly available datasets comprising 15 datasets across 8 languages for hate speech and 6 datasets across 6 languages for offensive language. Our experiments show that meta learning-based models outperform transfer learning-based models in a majority of cases, and that Proto-MAML is the best performing model, as it can quickly generalize and adapt to new languages with only a few labeled data points (generally, 16 samples per class yields an effective performance) to identify hateful or offensive content.
Fichier principal
Vignette du fichier
Cross-Lingual_Few-Shot_Hate_Speech_and_Offensive_Language_Detection_Using_Meta_Learning.pdf (1.05 Mo) Télécharger le fichier
Origine Publication financée par une institution

Dates et versions

hal-03559484 , version 1 (27-02-2024)

Identifiants

Citer

Marzieh Mozafari, Reza Farahbakhsh, Noel Crespi. Cross-lingual few-shot hate speech and offensive language detection using meta learning. IEEE Access, 2022, 10, pp.14880-14896. ⟨10.1109/ACCESS.2022.3147588⟩. ⟨hal-03559484⟩
65 Consultations
84 Téléchargements

Altmetric

Partager

More