Enhancing Toxic Comment Classification: A Deep Learning Approach with Pre-trained Language Models

Because of online communication, e-commerce, and digital devices, text data—especially short text—permeates every aspect of our life in the digital age. However, this transformation has also unveiled a darker side - the prevalence of harmful, offensive, and toxic comments, including hate speech and harassment. The integrity of online groups, social harmony, and individual safety are all gravely threatened by this toxin. In this work, we examine the effectiveness of two recurrent neural network (RNN) architectures, namely Gated Recurrent Unit (GRU) and Long Short-Term Memory (LSTM), for the classification of damaging comments. These models are evaluated using key metrics such as F1-score, recall, accuracy, and precision. Important measures, including accuracy, precision, recall, and F1-score, are used to assess these models. According to our findings, the GRU achieves higher precision and overall accuracy, while the LSTM performs well in recall, spotting harmful comments at the expense of pinpoint accuracy. Model selection should align with specific project goals and trade-offs between precision and recall.

Authors

Institutions

Publication Details

Published
2024-10-25
DOI
https://doi.org/10.1109/icisaa62385.2024.10829297
Citations
3
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
1.04
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Toxic Comment Classification: A Deep Learning Approach with Pre-trained Language Models

Alireza Lari, Vedant Naik, Khushi Tejwani, Dhruvin Jhaveri
3 citations
Hate Speech and Cyberbullying Detection
1.04
article

Enhancing Toxic Comment Classification: A Deep Learning Approach with Pre-trained Language Models

Alireza Lari, Vedant Naik, Khushi Tejwani, Dhruvin Jhaveri
article en
3 citations

Abstract

Because of online communication, e-commerce, and digital devices, text data—especially short text—permeates every aspect of our life in the digital age. However, this transformation has also unveiled a darker side - the prevalence of harmful, offensive, and toxic comments, including hate speech and harassment. The integrity of online groups, social harmony, and individual safety are all gravely threatened by this toxin. In this work, we examine the effectiveness of two recurrent neural network (RNN) architectures, namely Gated Recurrent Unit (GRU) and Long Short-Term Memory (LSTM), for the classification of damaging comments. These models are evaluated using key metrics such as F1-score, recall, accuracy, and precision. Important measures, including accuracy, precision, recall, and F1-score, are used to assess these models. According to our findings, the GRU achieves higher precision and overall accuracy, while the LSTM performs well in recall, spotting harmful comments at the expense of pinpoint accuracy. Model selection should align with specific project goals and trade-offs between precision and recall.

Narsee Monjee Institute of Management Studies (IN)
Quality Education
Openalex Percentile: Top 18%
Hate Speech and Cyberbullying Detection
1.04
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.