Assessing Text Classification Methods for Cyberbullying Detection on Social Media Platforms
Cyberbullying significantly impacts mental health by adversely affecting victims’ psychological well-being. It is a prevalent issue on social media platforms, necessitating effective real-time detection systems to identify harmful content. However, current detection systems face challenges related to performance, dataset quality, time efficiency, and computational costs. This study compares existing text classification techniques for cyberbullying detection, evaluating their effectiveness on social media platforms. Large language models such as BERT, RoBERTa, XLNet, DistilBERT, and GPT-2.0 are assessed for their suitability. Results show that BERT achieves optimal performance, with 95% accuracy, precision, recall, and F1 score; a 5% error rate; 0.053 seconds inference time; 35.28 MB RAM usage; 0.4% CPU/GPU utilization; and 0.000263 kWh energy consumption. These findings highlight that while generative AI models are powerful, fine-tuned models often outperform them when adapted to specific datasets and tasks.
Authors
- Mahmoud Daneshmand (ORCID: https://orcid.org/0000-0002-6116-2156)
- Jianguo Ding (ORCID: https://orcid.org/0000-0002-8927-0968)
- Doreen Sebastian Sarwatt (ORCID: https://orcid.org/0000-0002-3818-6432)
- Huansheng Ning (ORCID: https://orcid.org/0000-0001-6413-193X)
- Adamu Gaston Philipo (ORCID: https://orcid.org/0009-0009-2997-2990)
Institutions
- Stevens Institute of Technology (US)
- Blekinge Institute of Technology (SE)
- University of Science and Technology Beijing (CN)
Publication Details
- Journal
- IEEE Transactions on Information Forensics and Security
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tifs.2025.3588728
- Citations
- 6
- Primary Topic
- Hate Speech and Cyberbullying Detection
- Type
- article
- Field-Weighted Citation Impact
- 14.89