Cyberbullying is a complicated digital social media challenge that has intensified with the rapid spread of social media platforms. It takes many categories, including hate speech, verbal abuse. Due to the large volume of text generated daily, traditional methods based on rules or human review are no longer sufficient for accurate and effective detection of this phenomenon. The objective of this research is to evaluate the performance of a fine-tuned BERT model in multi-category cyberbullying detection and compare them with several traditional machine learning algorithms, including Support Vector Machine (SVM), logistic regression, and random forests. In this research we use a multi-category cyberbullying dataset, and the BERT model evaluated using performance metrics such as accuracy, precision, recall, and F1 score, The experimental showed that the BERT model achieved the best result overall performance metrics, where an accuracy is 0.8474, outperforming the conventional machine learning models such as SVM, RF and LR, the result of this research demonstrated the efficiency and ability of BERT in detection of multiclass cyberbullying, Furthermore this research illuminates the significant potential of transformer-based models in handling complex contextual and semantic information within social media cyberbullying texts.
Keywords
BERT for CyberbullyingCyberbullying DetectionDeep learning. Machine Learning ModelsTransformer Models.
References
G. M. Abaido, “Cyberbullying on social media platforms among university students in the United Arab Emirates,” Int. J. Adolesc. Youth, vol. 25, no. 1, pp. 407-420, 2020.
M. A. Al-Garadi, K. D. Varathan, and S. D. Ravana, “Cybercrime detection in online communications: The experimental case of cyberbullying detection in the Twitter network,” Comput. Human Behav., vol. 63, pp. 433-443, 2016.
D. Van Bruwaene, Q. Huang, and D. Inkpen, “A multi-platform dataset for detecting cyberbullying in social media,” Lang. Resour. Eval., vol. 54, no. 4, pp. 851-874, 2020.
I. Alanazi and J. Alves-Foss, “Cyber bullying and machine learning: A survey,” Int. J. Comput. Sci. Inf. Secur. (IJCSIS), vol. 18, no. 10, 2020.
B. Haidar, M. Chamoun, and F. Yamout, “Cyberbullying detection: A survey on multilingual techniques,” in 2016 European Modelling Symposium (EMS), IEEE, 2016, pp. 165-171.
D. Maher, “Cyberbullying: An ethnographic case study of one Australian upper primary school class,” Youth Studies Australia, vol. 27, no. 4, pp. 50-57, 2008.
N. E. Willard, Cyberbullying and Cyberthreats: Responding to the Challenge of Online Social Aggression, Threats, and Distress. Research Press, 2007.
C. Iwendi, G. Srivastava, S. Khan, and P. K. R. Maddikunta, “Cyberbullying detection solutions based on deep learning architectures,” Multimedia Systems, pp. 1839-1852, Sep. 2023, [Online]. Available: https://doi.org/10.1007/s00530-020-00701-5.
S. Paul and S. Saha, “CyberBERT: BERT for cyberbullying identification: BERT for cyberbullying identification,” Multimedia Systems, pp. 1897-1904, Dec. 2022, [Online]. Available: https://doi.org/10.1007/s00530-020-00710-4.
A. Muneer, A. Alwadain, M. G. Ragab, and A. Alqushaibi, “Cyberbullying Detection on Social Media Using Stacking Ensemble Learning and Enhanced BERT,” Information (Switzerland), vol. 14, no. 8, Sep. 2023, [Online]. Available: https://doi.org/10.3390/info14080467.
Dewani, M. A. Memon, and S. Bhatti, “Cyberbullying detection: advanced preprocessing techniques & deep learning architecture for Roman Urdu data,” J. Big Data, vol. 8, no. 1, Dec. 2021, [Online]. Available: https://doi.org/10.1186/s40537-021-00550-7.
M. Q. Saadi and B. N. Dhannoon, “Arabic Cyberbullying Detection Using Support Vector Machine with Cuckoo Search,” Iraqi Journal of Science, vol. 64, no. 10, pp. 5322-5330, 2023, [Online]. Available: https://doi.org/10.24996/ijs.2023.64.10.37.
J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Jun. 2019, pp. 4171-4186, [Online]. Available: https://doi.org/10.18653/v1/N19-1423.
S. Ravichandiran, Getting Started with Google BERT: Build and Train State-of-the-Art Natural Language Processing Models Using BERT. Packt Publishing Ltd, 2021.
A. Zhang, Z. C. Lipton, M. Li, and A. J. Smola, Dive into Deep Learning. Cambridge University Press, 2023.
Rogers, O. Kovaleva, and A. Rumshisky, “A primer in BERTology: What we know about how BERT works,” Trans. Assoc. Comput. Linguist., vol. 8, pp. 842-866, 2020.
J. Wang, K. Fu, and C.-T. Lu, “Sosnet: A graph convolutional network approach to fine-grained cyberbullying detection,” in 2020 IEEE International Conference on Big Data (Big Data), IEEE, 2020, pp. 1699-1708.
A. M. El Koshiry, E. H. I. Eliwa, T. Abd El-Hafeez, and M. Khairy, “Detecting cyberbullying using deep learning techniques: a pre-trained glove and focal loss technique,” PeerJ Comput. Sci., vol. 10, p. e1961, 2024.
S. Raschka and V. Mirjalili, Python Machine Learning, 3rd ed. Birmingham: Packt Publishing Ltd, 2019.
A. A. Jamjoom, H. Karamti, M. Umer, S. Alsubai, T. H. Kim, and I. Ashraf, “RoBERTaNET: Enhanced RoBERTa Transformer Based Model for Cyberbullying Detection With GloVe Features,” IEEE Access, vol. 12, no. May, pp. 58950-58959, 2024, [Online]. Available: https://doi.org/10.1109/ACCESS.2024.3386637.