| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 115 |
| Year of Publication: 2026 |
| Authors: Drashti Bhikadiya, Hemangi Kacha, Abhijeetsinh Jadeja, Jayashri Patil |
10.5120/ijcae8635085cf6c
|
Drashti Bhikadiya, Hemangi Kacha, Abhijeetsinh Jadeja, Jayashri Patil . Cyberbullying Detection using Transformer Architectures: A Comparative Experimental Study. International Journal of Computer Applications. 187, 115 ( Jun 2026), 31-37. DOI=10.5120/ijcae8635085cf6c
The rapid growth of social media platforms has made the automatic detection of online harassment a pressing requirement for safe digital communication. Recent advances in deep learning, including Bi-LSTM and CNN based models, have shown strong results in identifying online hate speech, but most prior studies restrict their evaluation to a small number of explicit, attribute-specific categories. In this work, two Transformer-based architectures, RoBERTa and DistilBERT, are fine-tuned and evaluated on a challenging six-class cyberbullying classification dataset comprising the categories Age, Ethnicity, Gender, Religion, Other_Cyberbullying, and Not_Cyberbullying. RoBERTa achieved the best overall performance, with a test accuracy of 87.79% and a weighted F1-score of 0.88. DistilBERT achieved a comparable test accuracy of 87.19% (weighted F1 = 0.87) while using approximately 47% fewer parameters. An ablation study and a scenario-based evaluation further show that the difficulty is concentrated almost entirely in distinguishing generalised harassment from non-harassment content.