Multimodal Hate Speech Detection from Bengali Memes and Texts

Md. Rezaul Karim, Sumon Kanti Dey, Tanhim Islam, Md. Shajalal, Bharathi Raja Chakravarthi
4/19/2022
cs.CLcs.AI

Official code: rezacsedu/Multimodal-Hate-Bengali (3 stars, Python, last commit 2022-11-09).

Abstract

Numerous machine learning (ML) and deep learning (DL)-based approaches have been proposed to utilize textual data from social media for anti-social behavior analysis like cyberbullying, fake news detection, and identification of hate speech mainly for highly-resourced languages such as English. However, despite having a lot of diversity and millions of native speakers, some languages like Bengali are under-resourced, which is due to a lack of computational resources for natural language processing (NLP).

Show full abstract

Similar to other languages, Bengali social media contents also include images along with texts (e.g., multimodal memes are posted by embedding short texts into images on Facebook). Therefore, only the textual data is not enough to judge them since images might give extra context to make a proper judgement. This paper is about hate speech detection from multimodal Bengali memes and texts. We prepared the only multimodal hate speech dataset for-a-kind of problem for Bengali, which we use to train state-of-the-art neural architectures (e.g., Bi-LSTM/Conv-LSTM with word embeddings, ConvNets + pre-trained language models, e.g., monolingual Bangla BERT, multilingual BERT-cased/uncased, and XLM-RoBERTa) to jointly analyze textual and visual information for hate speech detection. Conv-LSTM and XLM-RoBERTa models performed best for texts, yielding F1 scores of 0.78 and 0.82, respectively. As of memes, ResNet-152 and DenseNet-161 models yield F1 scores of 0.78 and 0.79, respectively. As for multimodal fusion, XLM-RoBERTa + DenseNet-161 performed the best, yielding an F1 score of 0.83. Our study suggests that text modality is most useful for hate speech detection, while memes are moderately useful.

View on arXivView PDF

Code Implementations(1)

30Python, Jupyter NotebookNov 9, 20224 years ago

Similar Papers

Cite this paper

@article{karim2022multimodal,
  title  = {Multimodal Hate Speech Detection from Bengali Memes and Texts},
  author = {Md. Rezaul Karim and Sumon Kanti Dey and Tanhim Islam and Md. Shajalal and Bharathi Raja Chakravarthi},
  year   = {2022},
  eprint = {2204.10196},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10196}
}

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/2204.10196.svg)](https://codeofpaper.com/paper/2204.10196)

Discussion