Cost-sensitive PLM-based Approach for Arabic and English Cyberbullying Classification
Open accessAbstract
Cyberbullying is a hurtful phenomenon that spreads widely on social networks and negatively affects the lives of individuals. Detecting this phenomenon is of utmost necessity to make the digital environment safer for youth. This study uses a bilingual classification of cyberbullying on Ara-bic and English datasets. A four-module approach is proposed. It consists of preprocessing the textual data, generating sentence embeddings, performing the classification, and evaluating the results of the models. The approach relies on two strategies based on transfer learning of pre-trained NLP models. The first uses PLMs (ELMo, Universal Sentence Encoder, BERT, distilBERT, and RoBERTa) to generate sentence embeddings, while the second adopts a fine-tuning procedure of BERT-based PLMs for cyberbullying classification. Due to the frequent class imbalance problem in the research literature, this study used cost-sensitive learning algorithms trained to maximize the Recall/F1 score. The aim is to search for the best classification model that most accurately separates the cyber-bullying and non-cyberbullying classes. The models achieve 75-84%.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Several studies used DistilBERT for cyberbullying detection in social networks and obtained promising performance.
“Several studies [54-56] used DistilBERT for cyberbullying detection in social networks. Their experimental results show that they obtained a promising performance while using DistilBERT as the word-embedding technique as well as the fine-tuned classifier.”
From A Review on Deep-Learning-Based Cyberbullying Detection (2023) · cites this paper as [54]
Section 3.3 describes using DistilBERT to generate sentence embeddings, and Section 3.6.2 describes using a fine-tuned DistilBERT model for cyberbullying classification. The Model Performance section reports a cyberbullying-class F1-score of 0.54 for fine-tuned DistilBERT on Formspring, but says Universal Sentence Encoder embeddings were the most effective; it does not establish promising performance for DistilBERT embeddings specifically. The copy provides evidence for this study, not for the other studies grouped with it in the citing sentence; page numbers are unavailable. (LLM, conf=0.78)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · see citing works
Jakubův, J., Chvalovský, K., Goertzel, Z., et al. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,648 · see citing works
XGBoost: A Scalable Tree Boosting System
Chen, T., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939785 · Cited by 54,569 · see citing works
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071 · see citing works
RoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515 · see citing works
Convolutional Neural Networks for Sentence Classification
Kim, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1181 · Cited by 14,831 · see citing works
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Reimers, N., & Gurevych, I. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1410 · Cited by 12,778 · see citing works
Deep Contextualized Word Representations
Peters, M., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · doi:10.18653/v1/n18-1202 · Cited by 11,983 · see citing works
Libsvm : A library for support vector machines
Ferrari, V. (2008) · Medical Entomology and Zoology · Cited by 10,124 · see citing works
Social Media and Fake News in the 2016 Election
Allcott, H., & Gentzkow, M. (2017) · Journal of Economic Perspectives · doi:10.1257/jep.31.2.211 · Cited by 6,767 · see citing works
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
Sanh, V., Debut, L., Chaumond, J., & Wolf, T. (2019) · arXiv · doi:10.48550/arxiv.1910.01108 · Cited by 4,653 · see citing works
Bag of Tricks for Efficient Text Classification
Joulin, A., Grave, E., Bojanowski, P., & Mikolov, T. (2017) · Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers · doi:10.18653/v1/e17-2068 · Cited by 4,545 · see citing works
Pre-trained models for natural language processing: A survey
Qiu, X., Sun, T., Xu, Y., Shao, Y., Dai, N., & Huang, X. (2020) · Science China Technological Sciences · doi:10.1007/s11431-020-1647-3 · Cited by 1,591 · see citing works
Extending the school grounds?—Bullying experiences in cyberspace
Juvonen, J., & Gross, E. F. (2008) · Journal of School Health · doi:10.1111/j.1746-1561.2008.00335.x · Cited by 1,408 · see citing works
(2019) · doi:10.18653/v1/p19-1356 · Cited by 1,291 · see citing works
Learning Sentiment-Specific Word Embedding for Twitter Sentiment Classification
Tang, D., Wei, F., Yang, N., Zhou, M., Liu, T., & Qin, B. (2014) · Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.3115/v1/p14-1146 · Cited by 1,181 · see citing works
Bidirectional LSTM with attention mechanism and convolutional layer for text classification
Liu, G., & Guo, J. (2019) · Neurocomputing · doi:10.1016/j.neucom.2019.01.078 · Cited by 1,141 · see citing works
Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation
Reimers, N., & Gurevych, I. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.365 · Cited by 971 · see citing works
A C-LSTM Neural Network for Text ClassificationPreprint
Zhou, C., Sun, C., Liu, Z., & Lau, F. C. M. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1511.08630 · Cited by 666 · see citing works
AraVec: A set of Arabic Word Embedding Models for use in Arabic NLP
Soliman, A. B., Eissa, K., & El-Beltagy, S. R. (2017) · Procedia Computer Science · doi:10.1016/j.procs.2017.10.117 · Cited by 526 · see citing works
Using Machine Learning to Detect Cyberbullying
Reynolds, K., Kontostathis, A., & Edwards, L. (2011) · doi:10.1109/icmla.2011.152 · Cited by 462 · see citing works
Deep Learning for Detecting Cyberbullying Across Multiple Social Media Platforms
Agrawal, S., & Awekar, A. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-76941-7_11 · Cited by 387 · see citing works
Connecting Adolescent Suicide to the Severity of Bullying and Cyberbullying
Hinduja, S., & Patchin, J. W. (2018) · Journal of School Violence · doi:10.1080/15388220.2018.1492417 · Cited by 315 · see citing works
Automatic cyberbullying detection: A systematic review
Rosa, H., Pereira, N., Ribeiro, R., Ferreira, P. C., Carvalho, J. P., Oliveira, S., Coheur, L., Paulino, P., Veiga Simão, A. M., & Trancoso, I. (2019) · Computers in Human Behavior · doi:10.1016/j.chb.2018.12.021 · Cited by 307 · see citing works
Abusive Language Detection on Arabic Social Media
Mubarak, H., Darwish, K. M., & Magdy, W. (2017) · doi:10.18653/v1/w17-3008 · Cited by 301 · see citing works
Fracking Sarcasm using Neural Network
Ghosh, A., & Veale, T. (2016) · Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis (WASSA) · doi:10.18653/v1/w16-0425 · Cited by 295 · see citing works
Approaches to automated detection of cyberbullying: A survey
Salawu, S., He, Y., & Lumsden, J. (2020) · IEEE Transactions on Affective Computing · doi:10.1109/taffc.2017.2761757 · Cited by 258 · see citing works
Islamophobia and Twitter: A Typology of Online Hate Against Muslims on Social Media
Awan, I. (2014) · Policy & Internet · doi:10.1002/1944-2866.poi364 · Cited by 217 · see citing works
Bullies Move Beyond the Schoolyard: A Preliminary Look at Cyberbullying
Lomand, T. (2016) · Social Science Research · doi:10.4324/9781315265841-8 · Cited by 197 · see citing works
Word vectors, reuse, and replicability: Towards a community repository of large-text resources
Fares, M., Kutuzov, A., Oepen, S., & Velldal, E. (2017) · DSpace repository (University of Tartu) · Cited by 138 · see citing works
Towards Better UD Parsing: Deep Contextualized Word Embeddings, Ensemble, and Treebank ConcatenationPreprint
Che, W., Liu, Y., Wang, Y., Zheng, B., & Liu, T. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1807.03121 · Cited by 123 · see citing works
Cyberbullying Detection with a Pronunciation Based Convolutional Neural Network
Zhang, X., Tong, J., Vishwamitra, N., Whittaker, E., Mazer, J. P., Kowalski, R., Hu, H., Luo, F., Macbeth, J., & Dillon, E. (2016) · 2016 15th IEEE International Conference on Machine Learning and Applications (ICMLA) · doi:10.1109/icmla.2016.0132 · Cited by 118 · see citing works
A Multilingual System for Cyberbullying Detection: Arabic Content Detection using Machine Learning
Haidar, B. R., Chamoun, M., & Serhrouchni, A. (2017) · Advances in Science Technology and Engineering Systems Journal · doi:10.25046/aj020634 · Cited by 117 · see citing works
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Reimers, N., & Gurevych, I. (2019) · arXiv · doi:10.48550/arxiv.1908.10084 · Cited by 86 · see citing works
When the Timeline Meets the Pipeline: A Survey on Automated Cyberbullying Detection
Elsafoury, F., Katsigiannis, S., Pervez, Z., & Ramzan, N. (2021) · IEEE Access · doi:10.1109/access.2021.3098979 · Cited by 80 · see citing works
Advances in Science, Technology and Engineering Systems Journal
(2017) · Advances in Science Technology and Engineering Systems Journal · doi:10.25046/astesj · Cited by 75 · see citing works
Emmery, C., Verhoeven, B., Pauw, G. D., Jacobs, G., Hee, C. V., Lefever, E., Desmet, B., Hoste, V., & Daelemans, W. M. P. (2020) · Language Resources and Evaluation · doi:10.1007/s10579-020-09509-1 · Cited by 66 · see citing works
A “Deeper” Look at Detecting Cyberbullying in Social Networks
Rosa, H., de Matos, D. M., Ribeiro, R., Coheur, L., & Carvalho, J. P. (2018) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn.2018.8489211 · Cited by 63 · see citing works
Arabic Cyberbullying Detection: Using Deep Learning
Haidar, B., Chamoun, M., & Serhrouchni, A. (2018) · 2018 7th International Conference on Computer and Communication Engineering (ICCCE) · doi:10.1109/iccce.2018.8539303 · Cited by 58 · see citing works
Using Fuzzy Fingerprints for Cyberbullying Detection in Social Networks
Rosa, H., Carvalho, J. P., Calado, P. P., Martins, B., Ribeiro, R., & Coheur, L. (2018) · IEEE International Conference on Fuzzy Systems (FUZZ-IEEE) · doi:10.1109/fuzz-ieee.2018.8491557 · Cited by 45 · see citing works
Detecting flames and insults in text
Mahmud, A., Ahmed, K. Z., & Khan, M. (2008) · BRAC University Institutional Repository (BRAC University) · Cited by 43 · see citing works
Real-Time Detection of Cyberbullying in Arabic Twitter Streams
Mouheb, D., Abushamleh, M. H., Abushamleh, M. H., Aghbari, Z. A., & Kamel, I. (2019) · IFIP International Conference on New Technologies, Mobility and Security (NTMS) · doi:10.1109/ntms.2019.8763808 · Cited by 32 · see citing works
Using the Reddit Corpus for Cyberbully Detection
Rakib, T. B. A., & Soon, L.-K. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-75417-8_17 · Cited by 31 · see citing works
Classification of Cyberbullying Text in Arabic
Benaissa, A. R., Harbaoui, A., & Ghézala, H. B. (2020) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn48605.2020.9206643 · Cited by 18 · see citing works
Self-citationCyberbullying Classification Methods for Arabic: A Systematic Review
Bayari, R., Abdullah, S., & Salloum, S. A. (2021) · Advances in intelligent systems and computing · doi:10.1007/978-3-030-76346-6_35 · Cited by 16 · see citing works
Sentiment Analysis Approaches based on Granularity Levels
Rachid, B. A., Harbaoui, A., & Henda, B. G. (2018) · International Conference on Web Information Systems and Technologies · doi:10.5220/0007187603240331 · Cited by 11 · see citing works
Self-citationThe Connection Between Cyberbullying and Teenage Suicide: An Honors Thesis
Crosby, S. (2018) · DigitalCommons (California Polytechnic State University) · Cited by 2 · see citing works
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805
Flagged first, then by citations
3 of the 52 references couldn’t be matched to a known paper.
Research works printed but not linked: 1
- Olweus, D.: Bullying at School: What We Know and What We Can Do. Understanding Children's Worlds, Wiley (1993), https://books.google.tn/ books?id=4qNLY13mkDEC
Cited by
Sorted by citations
A Review on Deep-Learning-Based Cyberbullying Detection
Hasan, M. T., Hossain, M. A. E., Mukta, M. S. H., Akter, A., Ahmed, M., & Islam, S. (2023) · Future Internet · doi:10.3390/fi15050179 · Cited by 103 · see citing works
Tackling toxicity in Arabic social media through advanced detection techniques
Hatem, L., Omar, A., Ali, A. A., & Farghaly, H. M. (2025) · Scientific Reports · doi:10.1038/s41598-025-25879-4 · Cited by 2 · see citing works
Multimodal Deep Learning for Robust Cyberbullying Detection on Online Platforms: An Overview
Chavan, A. M., & Deshmukh, R. J. (2025) · International Conference on Future Technologies (ICFT) · doi:10.1109/icft66708.2025.11336674
- Authors
- Harbaoui, A., Benaissa, A. R., & ghezala, H. B.
- Affiliations
- National School of Computer Science (TN)
- University of la Manouba
- Venue
- Research Square
- Publisher
- Research Square Platform LLC
- Published
- 2023-01-31
- OpenAlex
- W4318618949
- Cited by
- 3
- References
- 52
- Citations by year
- 2025: 2 · 2023: 1
- Type
- posted content
- Language
- en
- Open access
- green
- doi.org
- Locations
- Research Square (acceptedVersion, cc-by)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Hate Speech and Cyberbullying Detection
- Physical Sciences › Computer Science › Artificial Intelligence › Sentiment Analysis and Opinion Mining
- Social Sciences › Psychology › Social Psychology › Mental Health via Writing
- Keywords
- cyberbullying detection, Arabic text classification, English text classification, pre-trained language models, sentence embeddings, transfer learning, BERT fine-tuning, cost-sensitive learning, class imbalance, social media
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review