HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection

Binny Mathew Punyajoy Saha Seid Muhie Yimam Chris Biemann Pawan Goyal Animesh Mukherjee

HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection

Abstract

Hate speech is a challenging issue plaguing the online social media. While better models for hate speech detection are continuously being developed, there is little research on the bias and interpretability aspects of hate speech. In this paper, we introduce HateXplain, the first benchmark hate speech dataset covering multiple aspects of the issue. Each post in our dataset is annotated from three different perspectives: the basic, commonly used 3-class classification (i.e., hate, offensive or normal), the target community (i.e., the community that has been the victim of hate speech/offensive speech in the post), and the rationales, i.e., the portions of the post on which their labelling decision (as hate, offensive or normal) is based. We utilize existing state-of-the-art models and observe that even models that perform very well in classification do not score high on explainability metrics like model plausibility and faithfulness. We also observe that models, which utilize the human rationales for training, perform better in reducing unintended bias towards target communities. We have made our code and dataset public at https://github.com/punyajoy/HateXplain

Code Repositories

hate-alert/HateXplain
pytorch
Mentioned in GitHub
darsh10/HateXplain-Darsh
pytorch
Mentioned in GitHub
Onepierre/Hate_Speech_Detection
pytorch
Mentioned in GitHub
punyajoy/HateXplain
Official
pytorch
Mentioned in GitHub
sayani-kundu/11711-HateXplain
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
hate-speech-detection-on-hatexplainCNN-GRU [LIME]
AUROC: 0.793
Accuracy: 0.629
Macro F1: 0.614
hate-speech-detection-on-hatexplainBERT [Attn]
AUROC: 0.843
Accuracy: 0.69
Macro F1: 0.674
hate-speech-detection-on-hatexplainBiRNN-HateXplain [Attn]
AUROC: 0.805
Macro F1: 0.629
hate-speech-detection-on-hatexplainBiRNN-Attn [Attn]
AUROC: 0.795
Accuracy: 0.621
hate-speech-detection-on-hatexplainBERT-HateXplain [Attn]
AUROC: 0.851
Accuracy: 0.698
Macro F1: 0.687
hate-speech-detection-on-hatexplainBERT-HateXplain [LIME]
AUROC: 0.851
Macro F1: 0.687
hate-speech-detection-on-hatexplainBiRNN [LIME]
AUROC: 0.767
Accuracy: 0.595
Macro F1: 0.575

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp