CLAug 9, 2022

Exploring Hate Speech Detection with HateXplain and BERT

arXiv:2208.04489v13 citationsh-index: 7
AI Analysis

This work addresses hate speech detection for online moderation, but it is incremental, building on existing BERT and dataset approaches.

The paper tackled hate speech detection by fine-tuning BERT on the HateXplain dataset, achieving incremental improvements in accuracy, explainability, and bias reduction through methods like rationale loss tuning and attention adjustments.

Hate Speech takes many forms to target communities with derogatory comments, and takes humanity a step back in societal progress. HateXplain is a recently published and first dataset to use annotated spans in the form of rationales, along with speech classification categories and targeted communities to make the classification more humanlike, explainable, accurate and less biased. We tune BERT to perform this task in the form of rationales and class prediction, and compare our performance on different metrics spanning across accuracy, explainability and bias. Our novelty is threefold. Firstly, we experiment with the amalgamated rationale class loss with different importance values. Secondly, we experiment extensively with the ground truth attention values for the rationales. With the introduction of conservative and lenient attentions, we compare performance of the model on HateXplain and test our hypothesis. Thirdly, in order to improve the unintended bias in our models, we use masking of the target community words and note the improvement in bias and explainability metrics. Overall, we are successful in achieving model explanability, bias removal and several incremental improvements on the original BERT implementation.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes