{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,28]],"date-time":"2026-04-28T09:04:56Z","timestamp":1777367096965,"version":"3.51.4"},"reference-count":46,"publisher":"PeerJ","license":[{"start":{"date-parts":[[2026,4,28]],"date-time":"2026-04-28T00:00:00Z","timestamp":1777334400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Research Unit at Liwa University Under the Internal Research","award":["IRG-BIT-005-2024"],"award-info":[{"award-number":["IRG-BIT-005-2024"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"abstract":"<jats:p>\n                    The rapid expansion of digital communication has made social media an integral part of daily life, yet it has simultaneously amplified the reach of harmful behaviors. Early detection of cyberbullying is recognized as a critical safeguard for mental health, particularly for vulnerable demographics. Deep learning models, specifically multilingual transformers, are currently widely used as the most effective tools for automating toxicity detection across diverse languages. However, the interpretation of multilingual abuse is a complex multi-parameter process that frequently leads to false-positive and false-negative results. Static architectures often fail to capture evolving adversarial patterns, such as code-switching and dialectal sarcasm (\n                    <jats:italic>e.g<\/jats:italic>\n                    ., the ironic use of \u062d\u0644\u0648\u0629 \u0623\u0648\u064a \u201cvery sweet\u201d), and frequently reproduce algorithmic biases against protected groups. This article introduces a novel adaptive framework that synergizes Grammatical Evolution (GE) with hybrid multilingual embeddings to classify cyberbullying content with high precision and fairness. Distinct from traditional fixed architectures, our approach utilizes GE as an evolutionary optimizer to autonomously search the topological space of bidirectional long short-term memory (BiLSTM) classifiers, tailoring neural structures to the semantic richness of hybrid XLM-R and multilingual bidirectional encoder representations from transformers (mBERT) representations. Furthermore, a fairness-constrained fitness function is integrated to explicitly mitigate algorithmic bias during the optimization process. Experimental evaluation on the ArCyC Arabic\n                    <jats:italic>corpus<\/jats:italic>\n                    and the Fine-Grained Balanced English dataset demonstrates that this evolutionary-deep learning hybrid achieves a state-of-the-art F1-score of 0.9458. Crucially, the framework reduces subgroup performance disparities across age, gender, and religion by 41%, validating that ethical alignment can be mathematically integrated into the learning process without compromising predictive accuracy.\n                  <\/jats:p>","DOI":"10.7717\/peerj-cs.3740","type":"journal-article","created":{"date-parts":[[2026,4,28]],"date-time":"2026-04-28T08:07:56Z","timestamp":1777363676000},"page":"e3740","source":"Crossref","is-referenced-by-count":0,"title":["Adaptive multilingual cyberbullying detection\n                    <i>via<\/i>\n                    grammatical evolution"],"prefix":"10.7717","volume":"12","author":[{"given":"Walaa Saber","family":"Ismail","sequence":"first","affiliation":[{"name":"Department of Business Information Technology, LIWA University, Abu Dhabi, United Arab Emirates"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2395-8436","authenticated-orcid":true,"given":"Hikmat","family":"Ullah","sequence":"additional","affiliation":[{"name":"Department of Business Information Technology, LIWA University, Abu Dhabi, United Arab Emirates"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Muhammad","family":"Adnan","sequence":"additional","affiliation":[{"name":"Higher Colleges of Technology, Faculty of Computer Information Systems, Higher Colleges of Technology, Al Ain, United Arab Emirates, Abu Dhabi, United Arab Emirates"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2488-8353","authenticated-orcid":true,"given":"Farman","family":"Ullah","sequence":"additional","affiliation":[{"name":"College of IT, United Arab Emirates University, Al Ain, Abu Dhabi, United Arab Emirates"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"4443","published-online":{"date-parts":[[2026,4,28]]},"reference":[{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-1","doi-asserted-by":"publisher","first-page":"89","DOI":"10.12928\/telkomnika.v20i1.18630","article-title":"Natural language processing and machine learning based cyberbullying detection for Bangla and Romanized Bangla texts","volume":"20","author":"Ahmed","year":"2021","journal-title":"TELKOMNIKA (Telecommunication Computing Electronics and Control)"},{"key":"10.7717\/peerj-cs.3740\/ref-2","first-page":"579","article-title":"Cross-lingual transfer and multilingual learning for detecting harmful behaviour in African under-resourced language dialogue","author":"Ajayi","year":"2024"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-3","doi-asserted-by":"publisher","first-page":"4794227","DOI":"10.1155\/2022\/4794227","article-title":"Building towards automated cyberbullying detection: a comparative analysis","volume":"2022","author":"Al-Harigy","year":"2022","journal-title":"Computational Intelligence and Neuroscience"},{"key":"10.7717\/peerj-cs.3740\/ref-4","first-page":"1049","article-title":"Multiclass cyberbullying detection using advanced neural network architectures: a comparative study amidst the COVID-19 pandemic","volume":"45","author":"Alinejad","year":"2025","journal-title":"Data Science and Data Mining"},{"key":"10.7717\/peerj-cs.3740\/ref-5","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2003.00104","article-title":"AraBERT: transformer-based model for Arabic language understanding","author":"Antoun","year":"2020"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-6","doi-asserted-by":"publisher","first-page":"1","DOI":"10.26735\/gbtv9013","article-title":"A systematic review of machine learning algorithms in cyberbullying detection: future directions and challenges","volume":"4","author":"Arif","year":"2021","journal-title":"Journal of Information Security and Cybercrimes Research"},{"issue":"2","key":"10.7717\/peerj-cs.3740\/ref-7","doi-asserted-by":"publisher","first-page":"124484\u2013124498","DOI":"10.1109\/access.2023.3330081","article-title":"A deep learning-based framework for offensive text detection in unstructured data for heterogeneous social media","volume":"11","author":"Bacha","year":"2023","journal-title":"IEEE Access"},{"issue":"3","key":"10.7717\/peerj-cs.3740\/ref-8","first-page":"270","article-title":"Credit classification using grammatical evolution","volume":"30","author":"Brabazon","year":"2006","journal-title":"Informatica"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-9","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1162\/evco.1993.1.1.1","article-title":"An overview of evolutionary algorithms for parameter optimization","volume":"1","author":"B\u00e4ck","year":"1993","journal-title":"Evolutionary Computation"},{"key":"10.7717\/peerj-cs.3740\/ref-10","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1911.02116","article-title":"Unsupervised cross-lingual representation learning at scale","author":"Conneau","year":"1911"},{"key":"10.7717\/peerj-cs.3740\/ref-11","first-page":"4171","article-title":"BERT: pre-training of deep bidirectional transformers for language understanding","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies","author":"Devlin","year":"2019"},{"key":"10.7717\/peerj-cs.3740\/ref-12","doi-asserted-by":"publisher","first-page":"103541\u2013103563","DOI":"10.1109\/access.2021.3098979","article-title":"When the timeline meets the pipeline: a survey on automated cyberbullying detection","volume":"9","author":"Elsafoury","year":"2021","journal-title":"IEEE Access"},{"key":"10.7717\/peerj-cs.3740\/ref-13","first-page":"113","article-title":"GEML: a grammatical evolution, machine learning approach to multi-class classification","author":"Fitzgerald","year":"2015"},{"issue":"3","key":"10.7717\/peerj-cs.3740\/ref-14","doi-asserted-by":"publisher","first-page":"1097","DOI":"10.1162\/coli_a_00524","article-title":"Bias and fairness in large language models: a survey","volume":"50","author":"Gallegos","year":"2024","journal-title":"Computational Linguistics"},{"key":"10.7717\/peerj-cs.3740\/ref-15","doi-asserted-by":"publisher","first-page":"101314","DOI":"10.1016\/j.copsyc.2022.101314","article-title":"Cyberbullying via social media and well-being","volume":"45","author":"Giumetti","year":"2022","journal-title":"Current Opinion in Psychology"},{"key":"10.7717\/peerj-cs.3740\/ref-16","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2105.00572","article-title":"Larger-scale transformers for multilingual masked language modeling","author":"Goyal","year":"2021"},{"issue":"3","key":"10.7717\/peerj-cs.3740\/ref-17","doi-asserted-by":"publisher","first-page":"121507\u2013121537","DOI":"10.1109\/access.2024.3452987","article-title":"Enhancing multilingual hate speech detection: from language-specific insights to cross-linguistic integration","volume":"12","author":"Hashmi","year":"2024","journal-title":"IEEE Access"},{"key":"10.7717\/peerj-cs.3740\/ref-18","doi-asserted-by":"publisher","first-page":"100689","DOI":"10.1016\/j.array.2026.100689","article-title":"Multilingual multimodal cyberbullying detection through adaptive and hierarchical fusion","volume":"29","author":"Ismail","year":"2026","journal-title":"Array"},{"key":"10.7717\/peerj-cs.3740\/ref-19","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1607.01759","article-title":"Bag of tricks for efficient text classification","author":"Joulin","year":"2016"},{"key":"10.7717\/peerj-cs.3740\/ref-20","doi-asserted-by":"publisher","first-page":"1379","DOI":"10.1016\/j.procs.2023.10.126","article-title":"An insight into NeuroEvolution and genetic algorithms for text classification","volume":"225","author":"Kadamala","year":"2023","journal-title":"Procedia Computer Science"},{"key":"10.7717\/peerj-cs.3740\/ref-21","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1808.06226","article-title":"SentencePiece: a simple and language independent subword tokenizer and detokenizer for neural text processing","author":"Kudo","year":"2018"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-22","doi-asserted-by":"publisher","first-page":"31774","DOI":"10.1038\/s41598-025-17089-9","article-title":"The evolution of discrimination under finite memory constraints","volume":"15","author":"Lo","year":"2025","journal-title":"Scientific Reports"},{"issue":"10","key":"10.7717\/peerj-cs.3740\/ref-23","doi-asserted-by":"publisher","first-page":"4788","DOI":"10.3390\/s23104788","article-title":"Site agnostic approach to early detection of cyberbullying on social media networks","volume":"23","author":"L\u00f3pez-Vizca\u00edno","year":"2023","journal-title":"Sensors"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-24","doi-asserted-by":"publisher","first-page":"110009","DOI":"10.1016\/j.asoc.2023.110009","article-title":"Creating deep neural networks for text classification tasks using grammar genetic programming","volume":"135","author":"Magalh\u00e3es","year":"2023","journal-title":"Applied Soft Computing"},{"issue":"2","key":"10.7717\/peerj-cs.3740\/ref-25","doi-asserted-by":"publisher","first-page":"121228","DOI":"10.1016\/j.eswa.2023.121228","article-title":"EnsMulHateCyb: multilingual hate speech and cyberbully detection in online social media","volume":"236","author":"Mahajan","year":"2024","journal-title":"Expert Systems with Applications"},{"issue":"5","key":"10.7717\/peerj-cs.3740\/ref-26","doi-asserted-by":"publisher","first-page":"103454","DOI":"10.1016\/j.ipm.2023.103454","article-title":"Cyberbullying detection for low-resource languages and dialects: review of the state of the art","volume":"60","author":"Mahmud","year":"2023","journal-title":"Information Processing & Management"},{"issue":"7","key":"10.7717\/peerj-cs.3740\/ref-27","doi-asserted-by":"publisher","first-page":"e0306521","DOI":"10.1371\/journal.pone.0306521","article-title":"Cross-lingual hate speech detection using domain-specific word embeddings","volume":"19","author":"Monnar","year":"2024","journal-title":"PLOS ONE"},{"key":"10.7717\/peerj-cs.3740\/ref-28","first-page":"7022","article-title":"CAMeL tools: an open source python toolkit for Arabic natural language processing","author":"Obeid","year":"2020"},{"issue":"4","key":"10.7717\/peerj-cs.3740\/ref-29","doi-asserted-by":"publisher","first-page":"349","DOI":"10.1109\/4235.942529","article-title":"Grammatical evolution","volume":"5","author":"O\u2019Neill","year":"2001","journal-title":"IEEE Transactions on Evolutionary Computation"},{"issue":"8","key":"10.7717\/peerj-cs.3740\/ref-30","doi-asserted-by":"publisher","first-page":"18261","DOI":"10.1109\/access.2023.3247427","article-title":"A comprehensive survey on Arabic sarcasm detection: approaches, challenges and future trends","volume":"11","author":"Rahma","year":"2023","journal-title":"IEEE Access"},{"key":"10.7717\/peerj-cs.3740\/ref-31","first-page":"243","article-title":"MSM_CUET@ DravidianLangTech 2025: XLM-BERT and MuRIL based transformer models for detection of abusive Tamil and Malayalam text targeting women on social media","author":"Rahman","year":"2025"},{"key":"10.7717\/peerj-cs.3740\/ref-32","first-page":"85","article-title":"DEAP: a python framework for evolutionary algorithms","author":"Rainville","year":"2012"},{"issue":"3","key":"10.7717\/peerj-cs.3740\/ref-33","doi-asserted-by":"publisher","first-page":"104733","DOI":"10.1016\/j.chiabu.2020.104733","article-title":"Ending violence against children: what can global agencies do in partnership?","volume":"119","author":"Raman","year":"2021","journal-title":"Child Abuse & Neglect"},{"key":"10.7717\/peerj-cs.3740\/ref-34","doi-asserted-by":"publisher","first-page":"333","DOI":"10.1016\/j.chb.2018.12.021","article-title":"Automatic cyberbullying detection: a systematic review","volume":"93","author":"Rosa","year":"2019","journal-title":"Computers in Human Behavior"},{"key":"10.7717\/peerj-cs.3740\/ref-35","first-page":"6617","article-title":"Offensive content detection via synthetic code-switched text","author":"Salaam","year":"2022"},{"issue":"1","key":"10.7717\/peerj-cs.3740\/ref-36","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1109\/taffc.2017.2761757","article-title":"Approaches to automated detection of cyberbullying: a survey","volume":"11","author":"Salawu","year":"2017","journal-title":"IEEE Transactions on Affective Computing"},{"key":"10.7717\/peerj-cs.3740\/ref-37","first-page":"1","article-title":"Online harassment in majority contexts: examining harms and remedies across countries","author":"Schoenebeck","year":"2023"},{"issue":"8","key":"10.7717\/peerj-cs.3740\/ref-38","doi-asserted-by":"publisher","first-page":"10977","DOI":"10.1007\/s10639-022-11056-x","article-title":"The design, construction and evaluation of annotated Arabic cyberbullying corpus","volume":"27","author":"Shannag","year":"2022","journal-title":"Education and Information Technologies"},{"issue":"10","key":"10.7717\/peerj-cs.3740\/ref-39","doi-asserted-by":"publisher","first-page":"e0203794","DOI":"10.1371\/journal.pone.0203794","article-title":"Automatic detection of cyberbullying in social media text","volume":"13","author":"Van Hee","year":"2018","journal-title":"PLOS ONE"},{"key":"10.7717\/peerj-cs.3740\/ref-40","doi-asserted-by":"publisher","first-page":"101152","DOI":"10.1016\/j.cobeha.2022.101152","article-title":"The current status of cyberbullying research: a short review of the literature","volume":"46","author":"Vismara","year":"2022","journal-title":"Current Opinion in Behavioral Sciences"},{"key":"10.7717\/peerj-cs.3740\/ref-41","doi-asserted-by":"publisher","DOI":"10.21227\/kn1c-zx22","author":"Wang","year":"2020b","journal-title":"Fine-grained balanced cyberbullying dataset"},{"key":"10.7717\/peerj-cs.3740\/ref-42","first-page":"1699","article-title":"SOSnet: a graph convolutional network approach to fine-grained cyberbullying detection","author":"Wang","year":"2020a"},{"key":"10.7717\/peerj-cs.3740\/ref-43","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1609.08144","article-title":"Google\u2019s neural machine translation system: bridging the gap between human and machine translation","author":"Wu","year":"2016"},{"key":"10.7717\/peerj-cs.3740\/ref-44","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2505.12567","article-title":"A survey of attacks on large language models","author":"Xu","year":"2025"},{"issue":"3","key":"10.7717\/peerj-cs.3740\/ref-45","doi-asserted-by":"publisher","first-page":"55","DOI":"10.1109\/mci.2018.2840738","article-title":"Recent trends in deep learning based natural language processing","volume":"13","author":"Young","year":"2018","journal-title":"IEEE Computational Intelligence Magazine"},{"issue":"8","key":"10.7717\/peerj-cs.3740\/ref-46","doi-asserted-by":"publisher","first-page":"338","DOI":"10.3390\/computers14080338","article-title":"Leveraging contrastive semantics and language adaptation for robust financial text classification across languages","volume":"14","author":"Zhang","year":"2025","journal-title":"Computers"}],"container-title":["PeerJ Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/peerj.com\/articles\/cs-3740.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3740.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3740.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3740.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,28]],"date-time":"2026-04-28T08:07:59Z","timestamp":1777363679000},"score":1,"resource":{"primary":{"URL":"https:\/\/peerj.com\/articles\/cs-3740"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,28]]},"references-count":46,"alternative-id":["10.7717\/peerj-cs.3740"],"URL":"https:\/\/doi.org\/10.7717\/peerj-cs.3740","archive":["CLOCKSS","LOCKSS","Portico"],"relation":{},"ISSN":["2376-5992"],"issn-type":[{"value":"2376-5992","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,28]]},"article-number":"e3740"}}