Interpretable Multi Labeled Bengali Toxic Comments Classification using Deep Learning

Tanveer Ahmed Belal, G. M. Shahariar, Md. Hasanul Kabir
4/8/2023
cs.CLcs.AIcs.LG

Official code: deepu099cse/Multi-Labeled-Bengali-Toxic-Comments-Classification (9 stars, last commit 2024-07-29).

Abstract

This paper presents a deep learning-based pipeline for categorizing Bengali toxic comments, in which at first a binary classification model is used to determine whether a comment is toxic or not, and then a multi-label classifier is employed to determine which toxicity type the comment belongs to. For this purpose, we have prepared a manually labeled dataset consisting of 16,073 instances among which 8,488 are Toxic and any toxic comment may correspond to one or more of the six toxic categories - vulgar, hate, religious, threat, troll, and insult simultaneously. Long Short Term Memory (LSTM) with BERT Embedding achieved 89.42% accuracy for the binary classification task while as a multi-label classifier, a combination of Convolutional Neural Network and Bi-directional Long Short Term Memory (CNN-BiLSTM) with attention mechanism achieved 78.92% accuracy and 0.86 as weighted F1-score. To explain the predictions and interpret the word feature importance during classification by the proposed models, we utilized Local Interpretable Model-Agnostic Explanations (LIME) framework. We have made our dataset public and can be accessed at - https://github.com/deepu099cse/Multi-Labeled-Bengali-Toxic-Comments-Classification

View on arXivView PDF

Code Implementations(1)

Dataset for the paper "Interpretable Multi-Labeled Bengali Toxic Comments Classification using Deep Learning"

92Jupyter NotebookOct 12, 20222 years ago

Similar Papers

Cite this paper

@article{belal2023interpretable,
  title  = {Interpretable Multi Labeled Bengali Toxic Comments Classification using Deep Learning},
  author = {Tanveer Ahmed Belal and G. M. Shahariar and Md. Hasanul Kabir},
  year   = {2023},
  eprint = {2304.04087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04087v1}
}

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

Discussion