Integrating Sentiment Analysis With Machine Learning for Cyberbullying Detection on Social Media

The phenomenon of cyberbullying has emerged as a critical challenge in the digital landscape which poses detrimental effects on individuals and broader societal frameworks. A viable approach to addressing this pervasive issue lies in the accurate identification of cyberbullying within social media as it constitutes a substantial portion of digital interactions. State-of-the-art solutions predominantly rely on pre-trained language models and machine learning algorithms; however, these methods are often associated with substantial computational overheads and the development of advanced cyberbullying detection algorithms remains limited. This paper presents a unique framework that integrates sentiment analysis with machine learning algorithms to enhance the detection of cyberbullying on social media. Sentiment analysis explores the linguistic and emotional characteristics of cyberbullying messages which helps the framework to identify key sentiment indicators that differentiate harmful interactions from benign ones. Furthermore, we provide the most optimal text preprocessing steps which are ordered in a way that improves text quality for cyberbullying detection. These steps ensure high-quality input data for machine learning models which significantly enhances their performance. Additionally, we tackle the challenge of penta-class imbalanced data by incorporating resampling within the framework without causing bias. We employ several machine learning algorithms within the framework, the Extra Tree classifier achieved the best results with an accuracy of 95.38% and F1 score of 0.95. The results demonstrate that the integration of sentiment analysis significantly improves classification accuracy compared to conventional methods for the task of cyberbullying detection.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3558843
Citations
6
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
14.89

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Integrating Sentiment Analysis With Machine Learning for Cyberbullying Detection on Social Media

Maram Fahaad Almufareh, Saleh Naif Almuayqil, Mamoona Humayun, N. Z. Jhanjhi et al.
6 citations
IEEE Access
Hate Speech and Cyberbullying Detection
14.89
article

Integrating Sentiment Analysis With Machine Learning for Cyberbullying Detection on Social Media

Maram Fahaad Almufareh, Saleh Naif Almuayqil, Mamoona Humayun, N. Z. Jhanjhi, Danish Javed, Ghadah Naif Alwakid
article en
6 citations

Abstract

The phenomenon of cyberbullying has emerged as a critical challenge in the digital landscape which poses detrimental effects on individuals and broader societal frameworks. A viable approach to addressing this pervasive issue lies in the accurate identification of cyberbullying within social media as it constitutes a substantial portion of digital interactions. State-of-the-art solutions predominantly rely on pre-trained language models and machine learning algorithms; however, these methods are often associated with substantial computational overheads and the development of advanced cyberbullying detection algorithms remains limited. This paper presents a unique framework that integrates sentiment analysis with machine learning algorithms to enhance the detection of cyberbullying on social media. Sentiment analysis explores the linguistic and emotional characteristics of cyberbullying messages which helps the framework to identify key sentiment indicators that differentiate harmful interactions from benign ones. Furthermore, we provide the most optimal text preprocessing steps which are ordered in a way that improves text quality for cyberbullying detection. These steps ensure high-quality input data for machine learning models which significantly enhances their performance. Additionally, we tackle the challenge of penta-class imbalanced data by incorporating resampling within the framework without causing bias. We employ several machine learning algorithms within the framework, the Extra Tree classifier achieved the best results with an accuracy of 95.38% and F1 score of 0.95. The results demonstrate that the integration of sentiment analysis significantly improves classification accuracy compared to conventional methods for the task of cyberbullying detection.

IEEE AccessVol. 13
Jouf University (SA), Taylor's University (MY), University of the Arts London (GB), University of Roehampton (GB)
Al Jouf University
Gender equality
Openalex Percentile: Top 1%
Hate Speech and Cyberbullying Detection
14.89
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.