Received: 20 April 2025; Revised: 10 June 2025; Accepted: 24 June 2025; Published Online: 25 June 2025.
J. Inf. Commun. Technol. Algorithms Syst. Appl., 2025, 1(1), 25307 | Volume 1 Issue 1 (June 2025) | DOI: https://doi.org/10.64189/ict.25307
© The Author(s) 2025
This article is licensed under Creative Commons Attribution NonCommercial 4.0 International (CC-BY-NC 4.0)
A Comparative Analysis of Machine Learning
Techniques for Cyberbullying Detection
Minal Barhate,* Parikshit N. Mahalle, Vrushal Patil, Rahul Yargop, Shivani Yanpallewar, Tanmay Zade and Vedant
Kothari
Department of Artificial Intelligence and Data Science, Vishwakarma Institute of Technology, Pune, Maharashtra,
411037, India
*Email: minal.barhate@vit.edu (Minal Barhate)
Abstract
A major worry in the current digital era is cyberbullying, which primarily affects young people who use Web
2.0-powered social media platforms. It usually entails threatening, degrading, or emotionally harming people
via online tools and platforms, which frequently results in major psychological consequences like anxiety,
sadness, and low self-esteem. This study uses both publicly available Twitter data and data that has been
scraped from the platform to examine how machine learning algorithms can be used to detect and categorize
instances of cyberbullying. After the text data is cleaned and processed using vectorization techniques, it is
analyzed using a variety of supervised learning algorithms. These include Naive Bayes, Random Forest, Support
Vector Machines, Logistic Regression, and ensemble models like AdaBoost and Bagging. Each model is assessed
using metrics like accuracy, precision, recall, F1-score, and performance efficiency. The study highlights the
importance of fine-tuning for practical application by comparing model results. Along with figuring out how to
best identify cyberbullying, the goal is to promote the creation of increasingly sophisticated technologies that
can help create a safer online environment. This work helps ongoing efforts to use natural language processing
and machine learning to alleviate the negative effects of cyberbullying.
Keywords: Cyberbullying; Machine learning; Text classification; Social media; Twitter.
1. Introduction
The rise of digital technologies and social media has changed how people, especially young people,
communicate. While platforms like Facebook, Twitter, Instagram, and YouTube help connect people worldwide,
they have also become spaces where cyberbullying occurs. Cyberbullying is when someone uses phones, social
networks, or messaging apps to repeatedly threaten or harass others online.
[1]
Serious mental health problems
like anxiety, depression, and low self-esteem can result from this type of online abuse.
[2-4]
As more people rely on the Internet to interact, it has become both a helpful tool and a potential danger,
especially for young users. Unfortunately, traditional methods of spotting and stopping cyberbullying, like
manual content review, are not enough to handle the massive amount of content posted every day.
[5]
Every year the minimum age in which a child has mobile is decreasing and with the introduction to mobile in
lesser age there pose a risk of the child getting exposed to cyberbullying. Introduction to bullying in its
development age poses risk of child development in the wrong direction. To prevent this, we need a strong
model to prevent bullying via digital services.
In this sudy, we have reviewed to identify cyberbullying through the use of machine learning (ML) and natural
language processing (NLP). To determine which supervised learning model is most effective in detecting
hazardous texts, we will construct and evaluate several models. Helping to safeguard users and make the
internet a safer place is our aim. In addition, we are evaluating several machine learning algorithms to see which
one is most appropriate for the task.
As we can clearly see in Fig. 1, every year number cyberbullying victims increases. The data shows victims of
cyberbullying in percentage of internet users in age group of 1018-year-old.
1.1 Literature survey
A major problem these days is cyberbullying, especially with the growth of social media and online messaging