DeepHateExplainer: Explainable Hate Speech Detection in Under-resourced Bengali Language

Md. Rezaul Karim, Sumon Kanti Dey, Tanhim Islam, Sagor Sarker, Mehadi Hasan Menon +4 more
12/28/2020
cs.CLcs.LG

Official code: rezacsedu/DeepHateExplainer (9 stars, Jupyter Notebook, MIT, last commit 2021-08-06).

Abstract

The exponential growths of social media and micro-blogging sites not only provide platforms for empowering freedom of expressions and individual voices, but also enables people to express anti-social behaviour like online harassment, cyberbullying, and hate speech. Numerous works have been proposed to utilize textual data for social and anti-social behaviour analysis, by predicting the contexts mostly for highly-resourced languages like English.

Show full abstract

However, some languages are under-resourced, e.g., South Asian languages like Bengali, that lack computational resources for accurate natural language processing (NLP). In this paper, we propose an explainable approach for hate speech detection from the under-resourced Bengali language, which we called DeepHateExplainer. Bengali texts are first comprehensively preprocessed, before classifying them into political, personal, geopolitical, and religious hates using a neural ensemble method of transformer-based neural architectures (i.e., monolingual Bangla BERT-base, multilingual BERT-cased/uncased, and XLM-RoBERTa). Important(most and least) terms are then identified using sensitivity analysis and layer-wise relevance propagation(LRP), before providing human-interpretable explanations. Finally, we compute comprehensiveness and sufficiency scores to measure the quality of explanations w.r.t faithfulness. Evaluations against machine learning~(linear and tree-based models) and neural networks (i.e., CNN, Bi-LSTM, and Conv-LSTM with word embeddings) baselines yield F1-scores of 78%, 91%, 89%, and 84%, for political, personal, geopolitical, and religious hates, respectively, outperforming both ML and DNN baselines.

View on arXivView PDF

Code Implementations(1)

MIT

DeepHateExplainer

96Jupyter Notebook, PythonJul 26, 20215 years agoMIT

Similar Papers

Cite this paper

@article{karim2020deephateexplainer,
  title  = {DeepHateExplainer: Explainable Hate Speech Detection in Under-resourced Bengali Language},
  author = {Md. Rezaul Karim and Sumon Kanti Dey and Tanhim Islam and Sagor Sarker and Mehadi Hasan Menon and Kabir Hossain and Bharathi Raja Chakravarthi and Md. Azam Hossain and Stefan Decker},
  year   = {2020},
  eprint = {2012.14353},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.14353}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.14353.svg)](https://codeofpaper.com/paper/2012.14353)

Discussion