Automatic Cyberbullying Detection for the Kurdish Language Using a Hybrid Approach
DOI:
https://doi.org/10.21928/uhdjst.v10n2y2026.pp238-250Keywords:
Corpus Annotation, Corpus Linguistics, Machine Learning, Text Classification, Opinion MiningAbstract
Cyberbullying and hate speech online have become increasingly prevalent concerns, and it is crucial to have automated methods to detect and address these harmful behaviors. However, most present methods focus primarily on languages with abundant resources, leaving marginalized linguistic communities vulnerable. To address this gap, an automated cyberbullying detection framework was developed specifically for the Kurdish language (Sorani dialect). This study uses a publicly available balanced dataset of 5,000 Kurdish Sorani tweets, comprising approximately 2,500 Cyberbullying and 2,500 non-Cyberbullying instances, which were manually annotated for model training and evaluation. The proposed methodology employs a nature-inspired hybrid algorithm, the whale optimization algorithm (WOA), to optimize the hyperparameters of the convolutional neural network (CNN), thereby improving performance. The proposed hybrid algorithm incorporates opposition-based learning, adaptable control parameters from the WOA, and mutation and recombination operators from differential evolution to improve the exploration and exploitation of the search space. Experimental evaluations across five train-test split ratios demonstrate that the optimized WOA-CNN model achieved a peak F1-score of 99.40%, significantly outperforming stand-alone CNNs, support vector machines, random forests, and multilingual BERT models. These findings suggest that hybrid metaheuristic optimization may be a promising approach to Kurdish cyberbullying detection. Further evaluation on independent datasets is needed to assess the model’s generalizability to other Kurdish text sources and contexts.
References
[1] J. Hani, M. Nashaat, M. Ahmed, Z. Emad, E. Amer and A. Mohammed. “Social media cyberbullying detection using machine learning”. International Journal of Advanced Computer Science and Applications, vol. 10, no. 5, pp. 587-593, 2019.
[2] M. A. Al-Ajlan and M. Ykhlef. “Deep learning algorithm for cyberbullying detection”. International Journal of Advanced Computer Science and Applications, vol. 9, no. 9, pp. 27-33, 2018.
[3] A. Bozyigit, S. Utku and E. Nasibov. “Cyberbullying detection: Utilizing social media features”. Expert Systems Applications, vol. 179, p. 115001, 2021.
[4] S. Badawi, A. Kazemi and V. Rezaie. “KurdiSent: A corpus for Kurdish sentiment analysis”. In: Language Resources and Evaluation. Springer Nature Link, Berlin, 2024.
[5] R. Abdulrahman, H. Hassani and S. Ahmadi. “Developing a Fine-grained Corpus for a Less-Resourced Language: The Case of Kurdish”. In: A. Axelrod, D. Yang, R. Cunha, S. Shaikh and Z. Waseem, (Eds). Proceedings of the 2019 Workshop on Widening NLP. Association for Computational Linguistics, Florence, Italy, pp. 106-109, 2019. Available from: https://aclanthology.org/W19- 3634 [Last accessed on 2026 Nov 22].
[6] S. H. Wady, S. Badawi and F. Kurt. “A kurdish sorani twitter dataset for language modelling”. Data Brief, vol. 57, p. 110967, 2024.
[7] S. Badawi. “Deep learning-based cyberbullying detection in Kurdish language”. Computer Journal, vol. 67, no. 7, pp. 2548- 2558, 2024.
[8] P. Fortuna and S. Nunes. “A survey on automatic detection of hate speech in text data”. ACM Computing Surveys, vol. 51, no. 4, pp. 1-30, 2018.
[9] R. M. Kowalski, G. W. Giumetti, A. N. Schroeder and M. R. Lattanner. “Bullying in the digital age: A critical review and meta-analysis of cyberbullying research among youth”. Psychological Bulletin, vol. 140, no. 4, pp. 1073-1137, 2014.
[10] S. S. Badawi. “Using multilingual bidirectional encoder representations from transformers on medical corpus for Kurdish text classification”. ARO- The Scientific Journal of Koya University, vol. 11, no. 1, pp. 10-15, 2023.
[11] A. C. Mazari, N. Boudoukhani and A. Djeffal. “BERT-based ensemble learning for multi-aspect hate speech detection”. Cluster Computing, Vol. 27, pp. 325-339, 2023.
[12] C. Zhang, X. Pan, H. Li, A. Gardiner, I. Sargent, J. Hare and P. M. Atkinson. “A hybrid MLP-CNN classifier for very fine resolution remotely sensed image classification”. ISPRS Journal of Photogrammetry and Remote Sensing, vol. 140, pp. 133-144, 2018.
[13] S. M. Al-Selwi, M. F. Hassan, S. J. Abdulkadir and A. Muneer. “LSTM inefficiency in long-term dependencies regression problems”. Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 30, no. 3, pp. 16-31, 2023.
[14] Z. Aysa, M. Ablimit and A. Hamdulla. “Multi-scale feature learning for language identification of overlapped speech”. Applied Sciences, vol. 13, no. 7, p. 4235, 2023.
[15] S. Salawu, Y. He and J. Lumsden. “Approaches to automated detection of cyberbullying: A survey”. IEEE Transactions Affective Computing, vol. 11, no. 1, pp. 3-24, 2020.
[16] C. Van Hee, G. Jacobs, C. Emmery, B. Desmet, E. Lefever, B. Verhoeven, G. De Pauw, W. Daelemans and V. Hoste. “Automatic detection of cyberbullying in social media text”. PLoS One, vol. 13, no. 10, p. e0203794, 2018.
[17] A. Schmidt and M. Wiegand. “A Survey on Hate Speech Detection Using Natural Language Processing”. In: Proceedings of the Fifth International Workshop on Natural Language Processing for Social Media. pp. 1-10, 2017.
[18] K. Dinakar, B. Jones, C. Havasi, H. Lieberman and R. Picard. “Common sense reasoning for detection, prevention, and mitigation of cyberbullying”. ACM Transactions on Interactive Intelligent Systems (TiiS), vol. 2, no. 3, pp. 1-30, 2012.
[19] Z. Waseem and D. Hovy. “Hateful Symbols or Hateful People? Predictive Features for Hate Speech Detection on Twitter”. In: Proceedings of the NAACL Student Research Workshop. pp. 88- 93, 2016.
[20] G. K. Pitsilis, H. Ramampiaro and H. Langseth. “Effective hate-speech detection in twitter data using recurrent neural networks”. Applied Intelligence, vol. 48, no. 12, pp. 4730-4742, 2018.
[21] I. Ting, S. L. Wang, H. M. Chi and J. S. Wu. “Content Matters: A Study of Hate Groups Detection Based on Social Networks Analysis and Web Mining”. In: Proceedings of the IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining. pp. 1196-1201, 2013.
[22] Z. Xu and S. Zhu. “Filtering Offensive Language in Online Communities using Grammatical Relations”. In: Proceedings of the 7th Annual Conference on Collaboration, Electronic Messaging, Anti Abuse and Spam (CEAS). pp. 1-9, 2010.
[23] I. Kwok and Y. Wang. “Locate the Hate: Detecting Tweets against Blacks”. In: Proceedings of the 27th National Conference on Artificial Intelligence (AAAI). pp. 1621-1622, 2013.
[24] S. Malmasi and M. Zampieri. “Detecting Hate Speech in Social Media,” in Proceedings of the International Conference Recent Advances in Natural Language Processing, RANLP 2017, R. Mitkov and G. Angelova, Eds., Varna, Bulgaria: INCOMA Ltd., Sep. 2017, pp. 467-472. doi: 10.26615/978-954-452-049-6_062.
[25] S. Köffer. “Discussing the value of automatic hate speech detection in online debates”. In: Multikonferenz Wirtschaftsinformatik (MKWI 2018): Data Driven X-Turning Data into Value. Leuphana, Germany, Springer Nature, pp. 1-9, 2018.
[26] M. O. Ibrohim and I. Budi. “Hate speech and abusive language detection in Indonesian social media: Progress and challenges”. Heliyon, vol. 9, no. 2, p. e18647, 2023.
[27] D. Yin, Z. Xue, L. Hong, B. D. Davison, A. Kontostathis and L. Edwards. “Detection of Harassment on Web 2.0”. In: Proceedings of the Content Analysis in the WEB. pp. 1-7, 2009.
[28] M. P. Akhter, J. Zhang, I. R. Naqvi, M. AbdelMajeed and T. Zia. “Correction to: Abusive language detection from social media comments using conventional machine learning and deep learning approaches”. Multimedia System, vol. 29, no. 1, pp. 451-451, 2023.
[29] C. Nobata. “Abusive Language Detection in Online User Content”. In: Proceedings of the 25th International Conference on World Wide Web. pp. 1-10, 2016.
[30] Y. Chen, Y. Zhou, S. Zhu and H. Xu. “Detecting Offensive Language in Social Media to Protect Adolescent Online Safety”. In: Privacy, Security, Risk and Trust (PASSAT), 2012 International Conference on and 2012 International Conference on Social Computing (SocialCom). IEEE, pp. 71-80, 2012.
[31] R. R. Dalvi, S. B. Chavan and A. Halbe. “Detecting a Twitter Cyberbullying Using Machine Learning”. In: 2020 4th International Conference on Intelligent Computing and Control Systems (ICICCS), pp. 297-301, 2020.
[32] I. Noviantho, S. M. Ashari and L. Ashianti. “Cyberbullying Classification Using Text Mining”. In: 2017 1st International Conference on Informatics and Computational Sciences (ICICoS). pp. 241-246, 2017.
[33] T. Bin Abdur Rakib and L. K. Soon. “Using the Reddit Corpus for Cyberbully Detection”. Springer, Berlin, pp. 180-189, 2018.
[34] S. Pericherla and E. Ilavarasan. “Transformer network-based word embeddings approach for autonomous cyberbullying detection”. International Journal of Intelligent Unmanned Systems, vol. 12, no. 1, pp. 154-166, 2024.
[35] S. Paul and S. Saha. “CyberBERT: BERT for cyberbullying identification”. Multimedia System, vol. 28, no. 6, pp. 1897-1904, 2022.
[36] C. Iwendi, G. Srivastava, S. Khan and P. K. R. Maddikunta. “Cyberbullying detection solutions based on deep learning architectures”. Multimedia. System, vol. 29, no. 3, pp. 1839-1852, 2023.
[37] S. Mirjalili and A. Lewis. “The Whale optimization algorithm”. Advances in Engineering Software, vol. 95, pp. 51-67, 2016.
[38] J. Devlin, M. W. Chang, K. Lee and K. Toutanova. “BERT: Pre- Training of Deep Bidirectional Transformers for Language Understanding.” Minnesota, Association for Computational Linguistics, 2018.
[39] S. Ghosh, A. Chaki and A. Kudeshia. “Cyberbully Detection Using 1D-CNN and LSTM”. In: Proceedings of the International Conference on Intelligent Computing and Control Systems. pp. 295-301, 2021.
[40] N. Novalita, A. Herdiani, I. Lukmana and D. Puspandari. “Cyberbullying identification on twitter using random forest classifier”. Journal of Physics: Conference Series, vol. 1192, p. 012029, 2019.
[41] M. Andriansyah, A . et al. “Cyberbullying Comment Classification on Indonesian Selebgram Using Support Vector Machine Method”. In: 2017 Second International Conference on Informatics and Computing (ICIC). pp. 1-5, 2017.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Araz Ibrahim Mustafa

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
