Detection of toxicity in social media based on Natural Language Processing methods

Mohammed Taleb, Alami Hamza, Mohamed Zouitni, Nabil Burmani, Said Lafkiar, Noureddine En-Nahnahi
{"title":"Detection of toxicity in social media based on Natural Language Processing methods","authors":"Mohammed Taleb, Alami Hamza, Mohamed Zouitni, Nabil Burmani, Said Lafkiar, Noureddine En-Nahnahi","doi":"10.1109/ISCV54655.2022.9806096","DOIUrl":null,"url":null,"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.","PeriodicalId":426665,"journal":{"name":"2022 International Conference on Intelligent Systems and Computer Vision (ISCV)","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Intelligent Systems and Computer Vision (ISCV)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISCV54655.2022.9806096","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

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.
基于自然语言处理方法的社交媒体毒性检测
在重要网站上发表评论,例如热门新闻门户网站或社交媒体平台,是虚拟互动的主要方式之一。不幸的是,用户在这些网站上的行为往往变得粗鲁或不尊重,通过传播有毒的评论,可以扰乱这些网站的正常运作。这项研究的目的是检测这些有毒的评论,并找到这些评论的毒性可归因于毒性的部分,毒性范围。因此,我们探索并比较了属于“机器学习、集成学习和深度学习”这三个类别的各种分类器,并使用了不同的文本表示。为了检测评论中的有毒跨度,我们采用了一种无监督的方法,我们采用了局部可解释模型不可知论解释(LIME)。我们用来评估我们的方法的措施是准确性,召回率和fl分数。我们的实验表明,深度学习模型毫无疑问地完成了检测有毒评论的任务。与使用的其他模型相比,使用Globe表示的LSTM模型和使用FastText表示的LSTM模型能够产生更高的F1和精度。对于毒性跨度检测,当LIME与分类器LSTM(GloVe)结合使用时,获得了更高的分数,识别毒性跨度的准确率为98%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信