Sentiment Analysis For Cyberbulling Detection Using NLP And LSTM

Authors

  • Farha Tabassum PG Scholar, Department Of Computer Science & Engineering ISL Engineering College, Hyderabad, India. Author
  • Heena Yasmin Assistant Professor; Department Of Computer Science & Engineering ISL Engineering College, Hyderabad, India Author

Keywords:

Cyberbullying Detection, Natural Language Processing (NLP), Long Short-Term Memory (LSTM), Sentiment Analysis, Deep Learning, Machine Learning, Text Classification, social media, Word Embeddings, Class Imbalance

Abstract

The phenomenon of cyberbullying has emerged as a critical challenge in the digital landscape, posing detrimental effects on individuals and broader societal well-being. A practical solution to this widespread issue involves the accurate identification of cyberbullying within social media platforms, which constitute a significant share of digital communication. While traditional approaches have primarily utilized machine learning algorithms and pre-trained language models, these often face challenges such as high computational complexity and limited adaptability to nuanced linguistic patterns. This paper proposes an advanced framework that leverages Natural Language Processing (NLP) techniques combined with Long Short-Term Memory (LSTM) networks to improve cyberbullying detection in online text. The framework applies refined text preprocessing steps—such as tokenization, stopword removal, stemming, and lemmatization—to ensure high-quality and noise-free input data. Sentiment features and contextual patterns are extracted using embedding methods to preserve semantic information. These processed inputs are then fed into an LSTM model, which effectively captures the sequential and temporal dependencies in textual data, making it well-suited for understanding the dynamic nature of cyberbullying language. Additionally, to address class imbalance in the multi-class setting, resampling techniques are employed, improving the model's robustness without inducing bias. The proposed system demonstrates that combining deep learning with comprehensive NLP enhances the accuracy and contextual understanding required for effective cyberbullying detection.

 

References

[1]. Y. Hu, E. M. Clancy, and B. Klettke, “Understanding the vicious cycle: Relationships between nonconsensual sexting behaviours and cyberbullying perpetration,” Sexes, vol. 4, no. 1, pp. 155–166, Feb. 2023, doi: 10.3390/sexes4010013.

[2]. M. S. Uddin and M. D. Zainlabuddin, “Secure video processing and watermark embedding using Shamir secret rule,” Int. J. Artif. Intell. Comput. Electron., vol. 2, no. 1, pp. 25–31, Mar. 2026.

[3]. L. H. Collantes, Y. Martafian, S. N. Khofifah, T. K. Fajarwati, N. T. Lassela, and M. Khairunnisa (2020), “The Impact of Cyberbullying on Mental Health of the Victims,” Proc. 4th Int. Conf. Vocational Educ. Training (ICOVET), pp. 30–35.

[4]. T. Ahmed, M. Kabir, S. Ivan, H. Mahmud, and K. Hasan (2021), “Am I Being Bullied on Social Media? An Ensemble Approach to Categorize Cyberbullying,” Proc. IEEE Int. Conf. Big Data (Big Data), pp. 2442–2453.

[5]. Sannidhanam, A. H. (2026). LLM-Driven Workflow Optimization: Intelligent Routing in Asynchronous Distributed Systems. International Journal of AI and Machine Learning, 1(2), 23–33.

[6]. S. Joshi, H. G. Nagariya, N. Dhanotiya, and S. Jain, “Identifying fake profile in online social network: An overview and survey,” Commun. Comput. Inf. Sci., vol. 1240, pp. 17–28, Jan. 2020, doi: 10.1007/978-981-15-6315-7_2.

[7]. E. Vogels, Teens and Cyberbullying 2022, Pew Research Center, Dec. 23, 2024. [Online]. Available: https://www.pewresearch.org/internet/2022/12/15/teens-and-cyberbullying-2022/

[8]. Dr. Abdul Bari, Dr. Imtiyaz Khan, Dr. Rafath Samrin, Dr. Akhil Khare, “VPC & Public Cloud Optimal Performance in Cloud Environment,” Educational Administration: Theory and Practice, ISSN No: 2148-2403, Vol. 30, Issue 6, June 2024.

[9]. P. Yi and A. Zubiaga (2023), “Session-Based Cyberbullying Detection in Social Media: A Survey,” Online Social Netw. Media, vol. 36, Art. no. 100250.

[10]. Anjani Haritha Sannidhanam. (2023). Self-Healing Distributed Systems: AI-Driven Failure Prediction and Automated Recovery. International Journal of Research & Technology, 11(4), 168–174.

[11]. R. Gün and G. G. Akduman, “What is cyberbullying?” in Bullying in Media and Beyond. Turkey: IGI Global, pp. 473–485, doi: 10.4018/978-1-6684-5426-8.CH028.

[12]. I. Ali and N. Hameed (2017), “Hybrid Tools and Techniques for Sentiment Analysis: A Review,” Int. J. Multidisciplinary Sci. Eng., vol. 8, no. 4, pp. 28–33. [Online]. Available: https://www.researchgate.net/publication/318351105

[13]. Distributed Data Processing Frameworks for Large-Scale Healthcare Analytics. (2019). International Journal of Advance Industrial Engineering, 7(04), 1–10. doi:10.14741/ijaie/v.7.4.01.

[14]. T. Ahmed, S. Ivan, M. Kabir, H. Mahmud, and K. Hasan (2022), “Performance Analysis of Transformer-Based Architectures and Their Ensembles to Detect Trait-Based Cyberbullying,” Social Netw. Anal. Mining, vol. 12, no. 1, p. 99.

[15]. S. Unnava and S. R. Parasana (2024), “A Study of Cyberbullying Detection and Classification Techniques: A Machine Learning Approach,” Eng. Technol. Appl. Sci. Res., vol. 14, no. 4, pp. 15607–15613.

[16]. Anjani Haritha Sannidhanam. (2024). Guardrails and Safety Mechanisms for LLM-Powered Enterprise Applications. International Journal of Engineering Science & Humanities, 14(3), 273–285.

[17]. M. D. Zainlabuddin and N. Sharma, “Security enhancement in data propagation for wireless network,” Rev. GEINTEC-Gestão, Inovação e Tecnologias, vol. 11, no. 4, pp. 4110–4119, Aug. 2021.

[18]. S. Cook, Cyberbullying Statistics and Facts for 2024, Dec. 23, 2024. [Online]. Available: https://www.comparitech.com/internet-providers/cyberbullying-statistics

[19]. J. O. Atoum (2020), “Cyberbullying Detection Through Sentiment Analysis,” Proc. Int. Conf. Comput. Sci. Comput. Intell. (CSCI), pp. 292–297.

[20]. Afsha Nishat, Dr. Mohd Abdul Bari, Dr. Guddi Singh, “Mobile Ad Hoc Network Reactive Routing Protocol to Mitigate Misbehavior Node,” International Journal Of Intelligent Systems And Applications In Engineering, IJUSEA, ISSN:2147-6799, Nov. 2023.

[21]. R. Endsuy (2021), “Sentiment Analysis Between VADER and EDA for the U.S. Presidential Election 2020 on Twitter Datasets,” J. Appl. Data Sci., vol. 2, no. 1, pp. 8–18.

[22]. Sannidhanam, A. H. (2020). Scalable Web Services Architecture for Healthcare Data Processing. International Journal of Recent Advances in Science and Technology, 7(01), 1–14.

[23]. M. Kousar, Dr. Sanjay Kumar, Dr. Mohammed Abdul Bari, “Design of a Decentralized Authentication and Off-Chain Data Management Protocol for VANETs Using Blockchain,” Communications on Applied Nonlinear Analysis, ISSN: 1074-133X, Vol. 32 No. 2, 2025.

[24]. Performance Analysis of Wireless Sensor Networks for Smart Monitoring Applications. (2016). International Journal of Humanities and Information Technology, 1(04), 10–29. doi:10.21590/ijhit.01.04.04.

[25]. D. Javed, N. Z. Jhanjhi, and N. A. Khan (2023), “Football Analytics for Goal Prediction to Assess Player Performance,” Proc. Int. Conf. Innov. Technol. Sports (RevealDNA ICITS), pp. 245–257.

[26]. Event Streaming Architectures for High-Volume Transaction Processing. (2022). International Journal of Advance Industrial Engineering, 10(01), 1–8. doi:10.14741/

[27]. L. Grunin, G. Yu, and S. S. Cohen (2021), “The Relationship Between Youth Cyberbullying Behaviors and Their Perceptions of Parental Emotional Support,” Int. J. Bullying Prevention, vol. 3, no. 3, pp. 227–239.

[28]. IEEE Access, vol. 12, pp. 160822–160834. [The supplied reference is incomplete; author and article title were not provided.]

[29]. Sannidhanam, A. H. (2025). Autonomous AI Agents for Cloud Infrastructure Operations. Journal of Contemporary Science and Technology Management, 1(01), 83–100.

[30]. Anjani Haritha Sannidhanam. (2023). Zero-Downtime AI Model Updates in Real-Time Inference Systems. International Journal of Engineering Science & Humanities, 13(2), 70–78.

Downloads

Published

2026-08-20

How to Cite

Farha Tabassum, & Heena Yasmin. (2026). Sentiment Analysis For Cyberbulling Detection Using NLP And LSTM. International Journal of Artificial Intelligence and Communication Networks, 2(3), 99-109. https://ijaicn.com/journal/index.php/ijaicn/article/view/33