SOTAVerified

HateBERT: Retraining BERT for Abusive Language Detection in English

2020-10-23ACL (WOAH) 2021Code Available0· sign in to hype

Tommaso Caselli, Valerio Basile, Jelena Mitrović, Michael Granitzer

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In this paper, we introduce HateBERT, a re-trained BERT model for abusive language detection in English. The model was trained on RAL-E, a large-scale dataset of Reddit comments in English from communities banned for being offensive, abusive, or hateful that we have collected and made available to the public. We present the results of a detailed comparison between a general pre-trained language model and the abuse-inclined version obtained by retraining with posts from the banned communities on three English datasets for offensive, abusive language and hate speech detection tasks. In all datasets, HateBERT outperforms the corresponding general BERT model. We also discuss a battery of experiments comparing the portability of the generic pre-trained language model and its corresponding abusive language-inclined counterpart across the datasets, indicating that portability is affected by compatibility of the annotated phenomena.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
AbusEvalHateBERTMacro F10.74Unverified
AbusEvalBERTMacro F10.72Unverified
HatEvalHateBERTMacro F10.49Unverified
HatEvalBERTMacro F10.48Unverified
OffensEval 2019HateBERTMacro F10.81Unverified
OffensEval 2019BERTMacro F10.8Unverified

Reproductions