Detection of toxicity in social media based on Natural Language Processing methods
Authors:
- 18 May 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
Abstract
Comments on important websites, such as popular news portals or social media platforms, are among the main ways of virtual interaction. Unfortunately, the behavior of users on these websites often becomes rude or disrespectful, by spreading toxic comments which can muddle the proper functioning of these sites. The aim of this research is to detect these toxic comments, and to find parts, toxic spans, of these comments to which toxicity can be attributed. Thus, we explored and compared various classifiers belonging to three categories “Machine Learning, Ensemble Learning and Deep Learning” and using different text representations. For detecting toxic spans in the comments, we applied an unsupervised method, we apply the Local Interpretable Model-Agnostic Explanations (LIME).The measures we used to evaluate our methods are accuracy, recall, and Fl-score. Our experiments showed that deep learning models performed unquestionably in the task of detecting toxic comments. The LSTM models with the Globe representation and LSTM with FastText were able to produce a higher F1 and accuracy compared to the other models used. For Toxic spans detction, the higher scores were obtained when combining LIME with classifier LSTM(GloVe) with an accuracy of 98% to identify the toxic spans.Keywords
This publication has 8 references indexed in Scilit:
- A Comparative Analysis of Logistic Regression, Random Forest and KNN Models for the Text ClassificationAugmented Human Research, 2020
- Detecting Toxicity in News Articles: Application to Bulgarian2019
- Detecting Hate Speech on Twitter Using a Convolution-GRU Based Deep Neural Network2018
- Using Convolutional Neural Networks to Classify Hate-Speech2017
- "Why Should I Trust You?"2016
- Abusive Language Detection in Online User Content2016
- Do Characters Abuse More Than Words?2016
- Detecting offensive tweets via topical feature discovery over a large scale twitter corpus2012