<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">54459</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2024.054459</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Cyberbullying Sexism Harassment Identification by Metaheurustics-Tuned eXtreme Gradient Boosting</article-title>
<alt-title alt-title-type="left-running-head">Cyberbullying Sexism Harassment Identification by Metaheurustics-Tuned eXtreme Gradient Boosting</alt-title>
<alt-title alt-title-type="right-running-head">Cyberbullying Sexism Harassment Identification by Metaheurustics-Tuned eXtreme Gradient Boosting</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Dobrojevic</surname><given-names>Milos</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><xref ref-type="aff" rid="aff-4">4</xref></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Jovanovic</surname><given-names>Luka</given-names></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Babic</surname><given-names>Lepa</given-names></name><xref ref-type="aff" rid="aff-3">3</xref></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Cajic</surname><given-names>Miroslav</given-names></name><xref ref-type="aff" rid="aff-5">5</xref></contrib>
<contrib id="author-5" contrib-type="author">
<name name-style="western"><surname>Zivkovic</surname><given-names>Tamara</given-names></name><xref ref-type="aff" rid="aff-6">6</xref></contrib>
<contrib id="author-6" contrib-type="author">
<name name-style="western"><surname>Zivkovic</surname><given-names>Miodrag</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-7" contrib-type="author">
<name name-style="western"><surname>Muthusamy</surname><given-names>Suresh</given-names></name><xref ref-type="aff" rid="aff-7">7</xref></contrib>
<contrib id="author-8" contrib-type="author">
<name name-style="western"><surname>Antonijevic</surname><given-names>Milos</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-9" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Bacanin</surname><given-names>Nebojsa</given-names></name><xref ref-type="aff" rid="aff-2">2</xref><xref ref-type="aff" rid="aff-4">4</xref><xref ref-type="aff" rid="aff-8">8</xref><xref ref-type="aff" rid="aff-9">9</xref><email>nbacanin@singidunum.ac.rs</email></contrib>
<aff id="aff-1"><label>1</label><institution>Technical Faculty, Singidunum University</institution>, <addr-line>Belgrade, 11000</addr-line>, <country>Serbia</country></aff>
<aff id="aff-2"><label>2</label><institution>Informatics and Computing, Singidunum University</institution>, <addr-line>Belgrade, 11000</addr-line>, <country>Serbia</country></aff>
<aff id="aff-3"><label>3</label><institution>Business Economics, Singidunum University</institution>, <addr-line>Belgrade, 11000</addr-line>, <country>Serbia</country></aff>
<aff id="aff-4"><label>4</label><institution>Computing and Informatics, Sinergija University, Bijeljina</institution>, <addr-line>76300</addr-line>, <country>Bosnia and Herzegovina</country></aff>
<aff id="aff-5"><label>5</label><institution>Department for Information Systems and Technologies, University &#x201C;Union Nikola Tesla&#x201D;, Cara Dusana</institution>, <addr-line>Belgrade, 11080</addr-line>, <country>Serbia</country></aff>
<aff id="aff-6"><label>6</label><institution>Department for Computer Science and Informatics, School of Electrical Engineering, University of Belgrade</institution>, <addr-line>Belgrade, 11000</addr-line>, <country>Serbia</country></aff>
<aff id="aff-7"><label>7</label><institution>Department of Electrical and Electronics Engineering, Kongu Engineering College (Autonomous)</institution>, <addr-line>Perundurai, Erode, 638060</addr-line>, <country>India</country></aff>
<aff id="aff-8"><label>8</label><institution>Department of Mathematics, Saveetha School of Engineering (Deemed to be University), SIMATS Thandalam</institution>, <addr-line>Chennai, 602105</addr-line>, <country>India</country></aff>
<aff id="aff-9"><label>9</label><institution>MEU Research Unit, Middle East University</institution>, <addr-line>Amman, 11831</addr-line>, <country>Jordan</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Nebojsa Bacanin. Email: <email>nbacanin@singidunum.ac.rs</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2024</year></pub-date>
<pub-date date-type="pub" publication-format="electronic"><day>12</day><month>9</month><year>2024</year></pub-date>
<volume>80</volume>
<issue>3</issue>
<fpage>4997</fpage>
<lpage>5027</lpage>
<history>
<date date-type="received">
<day>28</day>
<month>5</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>8</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2024 The Authors.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Published by Tech Science Press.</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_54459.pdf"></self-uri>
<abstract>
<p>Cyberbullying is a form of harassment or bullying that takes place online or through digital devices like smartphones, computers, or tablets. It can occur through various channels, such as social media, text messages, online forums, or gaming platforms. Cyberbullying involves using technology to intentionally harm, harass, or intimidate others and may take different forms, including exclusion, doxing, impersonation, harassment, and cyberstalking. Unfortunately, due to the rapid growth of malicious internet users, this social phenomenon is becoming more frequent, and there is a huge need to address this issue. Therefore, the main goal of the research proposed in this manuscript is to tackle this emerging challenge. A dataset of sexist harassment on Twitter, containing tweets about the harassment of people on a sexual basis, for natural language processing (NLP), is used for this purpose. Two algorithms are used to transform the text into a meaningful representation of numbers for machine learning (ML) input: Term frequency inverse document frequency (TF-IDF) and Bidirectional encoder representations from transformers (BERT). The well-known eXtreme gradient boosting (XGBoost) ML model is employed to classify whether certain tweets fall into the category of sexual-based harassment or not. Additionally, with the goal of reaching better performance, several XGBoost models were devised conducting hyperparameter tuning by metaheuristics. For this purpose, the recently emerging Coyote optimization algorithm (COA) was modified and adjusted to optimize the XGBoost model. Additionally, other cutting-edge metaheuristics approach for this challenge were also implemented, and rigid comparative analysis of the captured classification metrics (accuracy, Cohen kappa score, precision, recall, and F1-score) was performed. Finally, the best-generated model was interpreted by Shapley additive explanations (SHAP), and useful insights were gained about the behavioral patterns of people who perform social harassment.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Coyote optimization algorithm</kwd>
<kwd>NLP</kwd>
<kwd>TF-IDF</kwd>
<kwd>BERT</kwd>
<kwd>XGBoost</kwd>
<kwd>online harassment and cyberbullying</kwd>
<kwd>metaheuristics</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>Science Fund of the Republic of Serbia</funding-source>
<award-id>7373</award-id>
</award-group>
<award-group id="awg2">
<funding-source>Characterizing Crises-Caused Air Pollution Alternations Using an Artificial Intelligence-Based Framework-crAIRsis</funding-source>
<award-id>7502</award-id>
</award-group>
<award-group id="awg3">
<funding-source>Intelligent Multi-Agent Control and Optimization applied to Green Buildings and Environmental Monitoring Drone Swarms-ECOSwarm</funding-source>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>Social networks have become deeply ingrained in modern society, influencing various aspects of human interaction, communication, and behavior. They play a pivotal role in shaping individual identities, facilitating connections, and fostering communities on a global scale. These platforms have transformed the way people share information, consume news, and express opinions. Additionally, social networks have revolutionized business and marketing strategies, providing companies with unprecedented access to target audiences and enabling personalized advertising campaigns.</p>
<p>Social networks, however, also raise concerns regarding privacy, misinformation, and the impact of online interactions on mental health, highlighting the complex and multifaceted nature of their influence on contemporary society. These platforms also contribute to the creation of echo chambers, where individuals are exposed only to information that aligns with their own beliefs [<xref ref-type="bibr" rid="ref-1">1</xref>,<xref ref-type="bibr" rid="ref-2">2</xref>]. Social networks can promote addictive behaviors, and their excessive use may lead to feelings of loneliness and anxiety. Moreover, they can facilitate cyberbullying and harassment, posing serious risks to users&#x2019; safety and well-being.</p>
<p>The term <italic>cyberbullying on social networks</italic> refers to the use of digital communication tools to harass, intimidate, or harm others. Online games can also be hotspots for cyberbullying due to the competitive and anonymous nature of some gaming environments. This type of bullying often involves sending hurtful messages, spreading rumors or lies, sharing private or embarrassing information, or posting derogatory comments or images with the intent to harm someone emotionally or socially. Cyberbullying can take various forms, including direct attacks targeting individuals or groups, impersonation, exclusion, or the creation of fake profiles to deceive or torment others. These actions can have profound emotional and psychological consequences on their victims&#x2019; mental and emotional health [<xref ref-type="bibr" rid="ref-3">3</xref>,<xref ref-type="bibr" rid="ref-4">4</xref>]. Victims often endure heightened emotional distress, such as sadness, anger, and fear due to the persistent nature of online harassment [<xref ref-type="bibr" rid="ref-5">5</xref>]. This can lead to lowered self-esteem [<xref ref-type="bibr" rid="ref-6">6</xref>] and increased levels of anxiety and depression [<xref ref-type="bibr" rid="ref-7">7</xref>]. Social withdrawal and isolation are common as victims try to avoid further harassment. Academic performance may suffer, and physical health can be affected, with symptoms like headaches and stomachaches arising from prolonged stress. In extreme cases, cyberbullying has been linked to suicidal thoughts and behaviors [<xref ref-type="bibr" rid="ref-8">8</xref>,<xref ref-type="bibr" rid="ref-9">9</xref>]. Victims may also experience behavioral changes, such as increased aggression or risky behaviors. Trust issues can develop, making it difficult for victims to form new relationships. Another consequence of cyberbullying can be to severely affect a person&#x2019;s reputation by spreading rumors or embarrassing information. Addressing cyberbullying effectively involves raising awareness, fostering empathy, and implementing strategies to create safer online environments.</p>
<p>Artificial Intelligence (AI) can indirectly encourage cyberbullying through various means. Algorithm biases may prioritize sensational or controversial content, including cyberbullying material, to maximize user engagement, AI-driven recommendation systems can create echo chambers, reinforcing existing biases and amplifying negative messages, AI-powered bots can automate harassment, flooding social-media platforms with abusive content, and AI can enable anonymity for cyberbullies, making it harder for victims to identify and report them. Finally, AI algorithms may perpetuate harmful stereotypes, leading to the proliferation of cyberbullying based on factors like race, gender, or disability.</p>
<p>On the other hand, AI is becoming increasingly successful when used in the automatic recognition of this phenomenon. Natural language processing (NLP) can be used for text content analysis, such as social media posts, comments, and messages, to detect patterns of abusive language, threats, derogatory remarks, and other harmful behavior. Performing sentiment analysis (SA) on text data may provide the emotional tone of messages, such as negativity, hostility, or aggression, making it possible to flag potentially harassing or abusive content for further review [<xref ref-type="bibr" rid="ref-7">7</xref>]. The technology of image and video recognition can analyze images and videos to identify visual cues of cyberbullying or harassment, such as offensive gestures, explicit imagery, or targeted attacks against individuals. Behavioral analysis (BA) can analyze user behavior to detect patterns associated with cyberbullying or harassment. The AI algorithms can also be trained to recognize deviations from normal online interactions, such as sudden spikes in negative comments or a high volume of messages directed at a single user, which may indicate cyberbullying or harassment campaigns, while machine learning (ML) models can be trained to automatically classify new instances of abusive behavior with high accuracy.</p>
<p>Nonetheless, fine-tuning the structure of ML models is a must for each specific task. Each model contains a set of hyperparameters that must be configured to optimal (or suboptimal) values to provide accurate predictions. According to the &#x201C;no free lunch&#x201D; theorem [<xref ref-type="bibr" rid="ref-10">10</xref>], there is no one-size-fits-all solution applicable to all problems. Nevertheless, optimizing these hyperparameters poses non-deterministic polynomial hard (NP-hard) challenges, which cannot be tackled using traditional deterministic methods. Hence, a stochastic approach is necessary in such scenarios.</p>
<p>This study aims to test whether a more efficient system for detecting sexist-harassing cyberbullying can be developed using a tuned XGBoost model. To achieve this, one of the latest metaheuristic algorithms, the Coyote optimization algorithm (COA) [<xref ref-type="bibr" rid="ref-11">11</xref>], was modified to determine the satisfying values for XGBoost [<xref ref-type="bibr" rid="ref-12">12</xref>] hyperparameters for performing the classification task for sexist-harassing cyberbullying identification, was developed. To validate the proposed approach, this study uses the Twitter sexism harassment dataset, containing tweets about the harassment of people on a sexual basis, for natural language processing (NLP). Two algorithms are employed to convert text into meaningful numerical representations suitable for ML input: Term frequency-inverse document frequency (TF-IDF) and Bidirectional encoder representations from transformers (BERT). Besides COA, other contemporary metaheuristics were also implemented for this challenge and strict comparative analysis of obtained classification metrics was performed. The best generated model was then interpreted using Shapley Additive Explanations (SHAP), revealing valuable insights into the behavioral patterns of individuals who engage in social harassment.</p>
<p>There is a noticeable gap in the research literature concerning the use of NLP alongside optimization metaheuristics for analyzing cyberbullying and sexist harassment. While studies have delved into NLP applications in cyberbullying analysis and the effectiveness of optimization metaheuristics across various contexts, there remains a scarcity of comprehensive investigations that integrate these two domains for practical applications. This research endeavors to fill this gap by presenting a methodology that combines the analytical capabilities of NLP with the optimization capacities of metaheuristics, along with ML models. Considering the above, the primary motivation of the research conducted for this paper is to improve the identification of cyberbullying sexist harassment by integrating NLP techniques, which transform textual inputs into a structure understandable by ML models, particularly the XGBoost in this case, and metaheuristics, which fine-tune XGBoost for this specific task. An attempt was thus made to address the aforementioned gap in the current literature.</p>
<p>The structure of the paper is as follows: <xref ref-type="sec" rid="s2">Section 2</xref> describes the fundamental preliminaries behind the proposed research, along with a brief literature review, and <xref ref-type="sec" rid="s3">Section 3</xref> provides information on the original and modified COA metaheuristics employed for XGBoost tuning. Simulation setup, a discussion of the experimental outcomes, comparative analysis, statistical validation, and interpretation of the results are given in <xref ref-type="sec" rid="s4">Section 4</xref>, while <xref ref-type="sec" rid="s5">Section 5</xref> concludes the paper.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Preliminaries and Related Works</title>
<p>Unfortunately, cyberbullying is a common phenomenon on social networks and online games. According to some authors [<xref ref-type="bibr" rid="ref-13">13</xref>], approximately 55% of high-school students reported that they experienced cyberbullying at some point in their lifetimes, and 27% of them had been cyberbullied in the most recent 30 days. Gender-specifically, <xref ref-type="fig" rid="fig-1">Fig. 1</xref> shows that almost half of the surveyed male students (49.05%) had experienced one or more types of cyberbullying in their lifetimes, and 24.20% had had that experience in the previous 30 days [<xref ref-type="bibr" rid="ref-13">13</xref>]. In the female population, the percentage is somewhat higher, with 59.20% and 28.60%, respectively.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Cyberbullying among teens by gender</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-1.tif"/>
</fig>
<p>Regarding the most common types of cyberbullying, almost one third (30.4%) of the respondents stated that they had experienced mean or hurtful comments posted online, exclusion from group chats (28.9%), rumors spread online (28.4%), and someone embarrassing or humiliating them online (26.9%).</p>
<p>In online gaming, female gamers frequently encounter various forms of harassment, including instances of sexual harassment. These experiences can range from verbal abuse and derogatory comments to unwanted advances and explicit content, creating an environment that can be hostile and unwelcoming for many female players. A study published in the <italic>Journal of Adolescent Health</italic> found that around 65% of young people who play online games have experienced some form of in-game harassment, including cyberbullying behaviors.</p>
<p>In one study [<xref ref-type="bibr" rid="ref-14">14</xref>], key classification algorithms were reviewed, and an ensemble model was introduced to detect cyberbullying using Twitter data. Algorithms evaluated include Naive Bayes, K-Nearest Neighbors, Logistic Regression, Decision Tree, Random Forest, Linear Support Vector Classifier (SVC), Adaptive Boosting, Stochastic Gradient Descent, and Bagging classifiers. The algorithms were compared across accuracy, precision, recall, and F1 score metrics, showing varied performances, with the ensemble model outperforming individual algorithms and the Linear SVC proving least effective. In another paper [<xref ref-type="bibr" rid="ref-15">15</xref>], an AI-driven technique was developed for a cyberbullying-free Online social network (OSN), with a Chaotic salp swarm optimization (CSSO) method used to select key features from OSN data. Additionally, a stacked autoencoder model was employed for classifying OSN data, and the Mayfly optimization (MFO) algorithm to enhance performance through parameter tuning. More research [<xref ref-type="bibr" rid="ref-16">16</xref>] showed the development of an automated classification model whose purpose was to detect cyberbullying in text, avoiding high-dimensional spaces to prevent overfitting. The study introduced a Deep Decision Tree classifier using Deep Neural Network (DNN) layers as nodes for processing input, demonstrating improved accuracy in text-classification validation.</p>
<p>In other work [<xref ref-type="bibr" rid="ref-17">17</xref>], existing deep-learning approaches for cyberbullying detection were investigated, and research gaps and future directions were identified. Key areas for future investigation were highlighted, including hybrid deep-learning models and the detection of cyberbullying in speech, videos, and deep fakes, as well as personalized user-behavior analysis. Finally, the study proposed the development of specialized models like &#x201C;cyberbully BERT&#x201D; to enhance predictive accuracy in identifying online bullying behaviors.</p>
<sec id="s2_1">
<label>2.1</label>
<title>TF-IDF</title>
<p>Term frequency-inverse document frequency (TF-IDF) is a statistical measure used in NLP and information retrieval whose purpose is to assess the significance of keywords in specific documents [<xref ref-type="bibr" rid="ref-18">18</xref>]. The occurrence rate of phrases within documents is denoted as TF and calculated as:
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:mi>T</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2208;</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the frequency of term <italic>t</italic> and <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:msub><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2208;</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the sum of frequencies of all terms in the same document. Higher <italic>TF</italic> values indicate words that are considered relevant in the context of specific documents.</p>
<p>On the other hand, document frequency (DF) indicates the occurrence frequency of a specific phrase across the entire set of documents. Words with a high DF value lack relevance due to their frequent occurrence. Consequently, higher IDF values indicate rare phrases in the whole set, thereby enhancing their overall significance [<xref ref-type="bibr" rid="ref-19">19</xref>,<xref ref-type="bibr" rid="ref-20">20</xref>].</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>BERT</title>
<p>Bidirectional encoder representations from transformers (BERT), developed by Google, is an NLP model introduced by [<xref ref-type="bibr" rid="ref-21">21</xref>,<xref ref-type="bibr" rid="ref-22">22</xref>], based on transformer architecture, and designed to understand the context of words in a sentence by considering both the left and right contexts simultaneously, hence the term <italic>bidirectional</italic>. BERT is pre-trained on large amounts of text data using masked language modeling and next-sentence prediction tasks [<xref ref-type="bibr" rid="ref-23">23</xref>]. In masked language modeling, BERT learns to predict a masked word in a sentence based on the surrounding words. In next-sentence prediction tasks, BERT learns to predict whether two given sentences are consecutive or not. After pre-training, BERT can be fine-tuned on specific NLP tasks, such as text classification, named-entity recognition, question answering, and more. Fine-tuning allows BERT to adapt its learned representations to the nuances of the task, resulting in state-of-the-art performance across various NLP benchmarks.</p>
<p>With the ability to understand the context of words in a sentence, BERT has practical use in a variety of AI applications, in tasks like text classification for sentiment analysis, spam detection, and topic categorization. BERT may enhance text generation, semantic search engines, language translation, and the capabilities of chatbots and virtual assistants. Additionally, it aids in text-summarization tasks by generating concise and informative summaries. Overall, BERT&#x2019;s versatility in understanding natural language nuances makes it indispensable across various practical AI applications.</p>
<p>Still, BERT has limitations that hinder practical application but also motivate researchers to find more efficient, interpretable, and robust NLP models. Namely, BERT demands substantial computational resources for both training and real-time use, and its large memory requirements pose challenges for deployment on resource-constrained devices. BERT lacks explicit reasoning abilities, hindering performance on tasks requiring logical inference, with a limited understanding of common sense and world knowledge. Domain-specific nuances may be overlooked without fine-tuning specific data. BERT is also vulnerable to adversarial attacks, thus posing security risks. Interpreting BERT&#x2019;s decisions may be challenging due to its complex representations affecting applications requiring interpretability.</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>XGBoost</title>
<p>The XGBoost is an ML algorithm used for supervised learning tasks, such as classification and regression [<xref ref-type="bibr" rid="ref-12">12</xref>]. It is an ensemble learning method based on gradient boosting that has gained recognition as a good optimizer, popular with researchers for tackling various challenging tasks [<xref ref-type="bibr" rid="ref-20">20</xref>]. The XGBoost improves upon traditional gradient boosting by incorporating regularization techniques to prevent overfitting, supporting parallelization for faster training, handling missing values in datasets, pruning trees for efficiency, and offering built-in cross-validation. It is widely used in competitions and industry applications due to its speed, scalability, and effectiveness in producing accurate models. In classification, it excels in predicting class labels, crucial in tasks like spam detection, fraud detection, and medical diagnosis. It may be effective when applied to regression for forecasting in finance, sales, and demand prediction. In search engines, recommendation systems, and personalized advertising it can be used for learning-to-rank tasks. In anomaly detection, it can identify outliers in data, aiding in cybersecurity, manufacturing, and healthcare. It can provide feature-importance scores in feature selection, aiding in selecting relevant features for modeling and interpretability. It may serve as a strong base learner in stacking and blending methods in ensemble learning, enhancing prediction robustness.</p>
<p>Despite its strengths, XGBoost requires substantial computational resources for training, especially on large datasets, leading to longer training times and increased resource use. Memory consumption can be significant, particularly with large datasets or complex models, which may pose challenges in memory-constrained environments. Tuning hyperparameters for optimal performance can be time-consuming and computationally expensive due to the need for extensive experimentation. Its models are complex and may be difficult to interpret. Although XGBoost incorporates regularization techniques, it can still be prone to overfitting, especially with noisy or high-dimensional data. Handling missing values as a separate category may not always be the most effective strategy, necessitating additional preprocessing steps. XGBoost&#x2019;s performance can be sensitive to outliers in the training data, potentially impairing model accuracy, particularly with shallow trees. Despite these drawbacks, XGBoost remains widely used in machine learning due to its strong predictive capabilities and versatility across various tasks.</p>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Metaheuristic Algorithms</title>
<p>Hyperparameter tuning poses a challenge within the realm of NP-hard problems, encompassing problems that lack a known polynomial-time solution. Enhancing the performance of ML models through hyperparameter tuning is crucial, often necessitating exploration across an extensive spectrum of potential combinations. Such intricate optimization problems can be solved with the use of metaheuristics: versatile optimization techniques agnostic to specific problems. Nonetheless, the NFL theorem stipulates that no single optimization algorithm universally outperforms others across all scenarios. Consequently, researchers have devised numerous metaheuristic algorithms, each tailored to address specific sets of circumstances. The NFL principle underscores the influence of dataset features and learning tasks on the efficacy of an algorithm. Hence, the unique nuances of each problem should inform the choice of an algorithm, as different algorithms may excel under disparate conditions.</p>
<p>Many optimization algorithms draw inspiration from animal and insect species, aiming to mimic their natural behaviors. To encapsulate the essence of these biological processes, algorithms leverage mathematical models, e.g., the Firefly algorithm (FA) [<xref ref-type="bibr" rid="ref-24">24</xref>], Particle swarm optimizer (PSO) [<xref ref-type="bibr" rid="ref-25">25</xref>], Whale optimization algorithm (WOA) [<xref ref-type="bibr" rid="ref-26">26</xref>], Ant colony optimization (ACO) [<xref ref-type="bibr" rid="ref-27">27</xref>], and Artificial bee colony (ABC) [<xref ref-type="bibr" rid="ref-28">28</xref>], just to name few. Given their exceptional performance in general optimization tasks, metaheuristic algorithms find extensive application across various domains.</p>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>SHAP (Shapley Additive Explanations)</title>
<p>SHAP is a method used in explainable artificial intelligence (XAI) to clarify the output of ML models. It aims to provide interpretable explanations for individual predictions made by complex models. The SHAP framework is based on cooperative game theory, specifically the concept of Shapley values. One key advantage of SHAP is its ability to provide local explanations for individual predictions, allowing users to understand why a specific instance was classified or predicted in a certain way. Additionally, SHAP values can be combined to provide global insights into feature importance and model behavior across the entire dataset.</p>
<p>In the context of SHAP, Shapley values represent the average marginal contribution of a feature value to the prediction across all possible coalitions of features. These values capture the importance of each feature in determining the model&#x2019;s output. The SHAP values can be applied to a wide range of machine learning models, including tree-based models, neural networks, and linear models. Shapley value can be represented as:
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:msub><mml:mi>&#x03C6;</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>v</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>n</mml:mi><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:munder><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:munder><mml:mrow><mml:mo>[</mml:mo><mml:mi>v</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x22C3;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>v</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:math></disp-formula>where sum ranges over all <italic>n</italic>! orders <italic>R</italic> of the players, <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the set of players in <italic>N</italic> which precede <italic>i</italic> in the order <italic>R</italic>.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Introduced Modified Metaheuristics and Proposed Framework</title>
<p>This section first gives insights into the inner workings of the basic COA metaheuristics, then lists its disadvantages and provides details of the devised modified algorithm used for XGBoost tuning for sentiment classification. Finally, the section concludes with an overview of the proposed NLP framework for Twitter sexist harassment identification.</p>
<sec id="s3_1">
<label>3.1</label>
<title>The Basic COA Algorithm</title>
<p>The COA is a metaheuristic optimization approach inspired by the hunting behavior of coyotes [<xref ref-type="bibr" rid="ref-11">11</xref>]. It mimics a cooperative hunting strategy, where individuals work together in groups to search for prey. As with every other metaheuristic approach, the COA tries to improve the population of solutions over a predefined number of iterations.</p>
<p>The COA offers some advantages compared to other metaheuristic optimization algorithms. Firstly, it integrates pack behavior, promoting collaboration and information-sharing among individuals, which aids in the thorough exploration of the search space. It strikes a balance between exploration and exploitation, preventing premature convergence and ensuring robust performance across diverse problem types. Moreover, the COA is flexible and adaptable to different optimization tasks, with the ability to handle complex, high-dimensional problems effectively. Despite its effectiveness, COA maintains a simple implementation, making it accessible and easy to understand for practitioners, who can readily customize it to suit specific needs.</p>
<p>The population is described by <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mi>&#x03F5;</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">N</mml:mi></mml:mrow></mml:math></inline-formula> and consists of groups that have <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mi>&#x03F5;</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">N</mml:mi></mml:mrow></mml:math></inline-formula> solutions in them. The social condition (<italic>soc</italic>) for the <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:msup><mml:mi>c</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> individual of the <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>group at <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> time can be written as:
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">&#x2192;</mml:mo></mml:mover></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mtext>x</mml:mtext></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mtext>x</mml:mtext></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mtext>x</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mtext>D</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>The reproduction behavior, otherwise describable as the <italic>survival ratio</italic>, is modeled according to Algorithm 1 to tackle the size of populations, while the population is initialized according to <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref>:</p>
<fig id="fig-21">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-21.tif"/>
</fig>
<p><disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace" /><mml:mrow><mml:mo>&#x2217;</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>u</mml:mi><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>l</mml:mi><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where the <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:mi>l</mml:mi><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the lower bound, <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mi>u</mml:mi><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the upper bound, <italic>D</italic> represents the dimension of the search space, and <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is a random number from the [0, 1] range. <xref ref-type="disp-formula" rid="eqn-5">Eq. (5)</xref> evaluates the adaptation to the current soc.
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<p>The probability of solutions eviction from the group is given by <xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref>.
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.005</mml:mn><mml:mo>&#x2217;</mml:mo><mml:msubsup><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></disp-formula></p>
<p>The <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> group&#x2019;s alpha (best solution) in the <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> instance of time is defined as per <xref ref-type="disp-formula" rid="eqn-7">Eq. (7)</xref>, while the cultural tendency is described by <xref ref-type="disp-formula" rid="eqn-8">Eq. (8)</xref>.
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>p</mml:mi><mml:mi>h</mml:mi><mml:msup><mml:mi>a</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>|</mml:mo><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where the <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:msup><mml:mi>O</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> shows the ranked social conditions for all solutions. New solutions are born with a combination of the socs of both parents according to <xref ref-type="disp-formula" rid="eqn-8">Eq. (8)</xref>.
<disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>l</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msubsup><mml:mi>O</mml:mi><mml:mrow><mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:mfrac></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mspace width="1em" /><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>d</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>O</mml:mi><mml:mrow><mml:mfrac><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>O</mml:mi><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mn>2</mml:mn></mml:mfrac><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>w</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where the random solution of the <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> group is given as <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, the two random dimensions are <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, the scatter probability is given as <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, described in <xref ref-type="disp-formula" rid="eqn-10">Eq. (10)</xref>, while the association probability is <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, described in <xref ref-type="disp-formula" rid="eqn-9">Eq. (9)</xref>, a random number in the bounds of the <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:msup><mml:mi>j</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> dimension is <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, while a random number in the range [0, 1] is given as <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:mi>r</mml:mi><mml:mi>n</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>.
<disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mi>r</mml:mi><mml:mi>n</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mi>r</mml:mi><mml:mi>n</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>w</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>
<disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mn>1</mml:mn><mml:mi>D</mml:mi></mml:mfrac></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<p>The alpha influence is described by <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> in <xref ref-type="disp-formula" rid="eqn-12">Eq. (12)</xref>, and the group influence by <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> in <xref ref-type="disp-formula" rid="eqn-13">Eq. (13)</xref>. By using these two parameters, the influence of both parameters is described by <xref ref-type="disp-formula" rid="eqn-14">Eq. (14)</xref>.
<disp-formula id="eqn-12"><label>(12)</label><mml:math id="mml-eqn-12" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>p</mml:mi><mml:mi>h</mml:mi><mml:msup><mml:mi>a</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-13"><label>(13)</label><mml:math id="mml-eqn-13" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>l</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-14"><label>(14)</label><mml:math id="mml-eqn-14" display="block"><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2217;</mml:mo><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2217;</mml:mo><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:math></disp-formula>where the weights of the alpha and pack influence are respectively <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>. The new social condition is derived from <xref ref-type="disp-formula" rid="eqn-15">Eq. (15)</xref>, while <xref ref-type="disp-formula" rid="eqn-16">Eq. (16)</xref> describes the adaptation mechanism.
<disp-formula id="eqn-15"><label>(15)</label><mml:math id="mml-eqn-15" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mi>i</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-16"><label>(16)</label><mml:math id="mml-eqn-16" display="block"><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mi>i</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x003C;</mml:mo><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi><mml:mi>o</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>w</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula></p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Proposed Modified Algorithm</title>
<p>Besides its obvious advantages, COA also presents some drawbacks. First, it lacks a robust theoretical foundation compared to other metaheuristic algorithms, making it challenging to analyze its convergence behavior. Moreover, COA&#x2019;s performance can be sensitive to parameter settings, requiring extensive tuning for optimal results. There is a risk of premature convergence, where the algorithm settles on suboptimal solutions too early. Scaling COA to larger or more complex problems may pose difficulties in maintaining effective exploration. Additionally, COA has received less benchmarking than established algorithms. Despite these limitations, due to its unique strengths COA remains a promising optimization approach.</p>
<p>In this research, the basic COA was evaluated using the comprehensive Congress on Evolutionary Computation (CEC) 2020 benchmark suite. Deficiencies in exploration were observed, especially in early iterations of the algorithm run. Namely, in the early phases of some runs, the COA entirely overlooks sections of the search space containing the optimal solution, resulting in slower convergence and an insufficient balance between exploration and intensification.</p>
<p>To address the above drawbacks and further improve exploration, as well as the intensification-diversification balance, the following mechanisms were incorporated:
<list list-type="bullet">
<list-item>
<p>the quasi-reflexive learning population (QRL) initialization and</p></list-item>
<list-item>
<p>the adoption of a self-adjusted control parameter that tunes exploration, as well as its trade-off with exploitation throughout the iterations.</p></list-item>
</list></p>
<p>The goal of the QRL&#x2019;s initialization procedure is to increase diversification in the initial population so that the larger part of the search space is covered. This mechanism is executed in the following way: first <italic>N/2</italic> individuals from the population are generated in the standard way according to <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref>; afterward, the quasi-reflexive opposite solutions of all <italic>N/2</italic> individuals are created, and, in this way, an initial population of <italic>N</italic> solutions is generated. The algorithm for the QRL initialization procedure, as well as the expression for generating quasi-reflexive opposite individuals, can be found in [<xref ref-type="bibr" rid="ref-22">22</xref>].</p>
<p>In the early iterations, the exploration of the search area should be more intensive so that the algorithm could converge to the optimal (or suboptimal) domain. To achieve this, the <italic>nrs</italic> (number of replaced solutions) random individuals from the population are replaced in every iteration with randomly generated solutions according to <xref ref-type="disp-formula" rid="eqn-3">Eq. (3)</xref>. The solutions that are replaced are chosen based on the roulette-wheel selection, where the solutions with higher fitness have a lower chance of being replaced. The current best solution is preserved, however, and it is not considered in the replacement process. In this way, the information about the best-discovered region so far is sustained.</p>
<p>In later iterations, however, with the logical presumption that the search has converged toward an optimum, such intensive exploration is not required, and, to control this, an additional control parameter &#x2126; is introduced. Therefore, for each solution from the population that was chosen for replacement, the above replacement mechanism is triggered only if the following condition is met:</p>
<p><disp-formula id="eqn-17"><label>(17)</label><mml:math id="mml-eqn-17" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">&#x03A9;</mml:mi><mml:mo>&#x2265;</mml:mo><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <italic>rand</italic>() represents a pseudo-random number drawn from a uniform distribution between [0, 1].</p>
<p>Since the exploration should be decreasing throughout the runs, the &#x2126; is decreasing from its initial value &#x2126;<sub>0</sub> according to the following equation:</p>
<p><disp-formula id="eqn-18"><label>(18)</label><mml:math id="mml-eqn-18" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi mathvariant="normal">&#x03A9;</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>=</mml:mo></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="normal">&#x03A9;</mml:mi><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mi>t</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>T</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <italic>t</italic> and <italic>t &#x002B; 1</italic> denote the current and next iteration, respectively, while <italic>T</italic> represents the total number of iterations in a run.</p>
<p>According to <xref ref-type="disp-formula" rid="eqn-18">Eq. (18)</xref>, as the run progresses toward the end, the replacement mechanism is triggered more rarely, and the exploration power decreases. Also, with the aid of this control parameter, in early phases, the exploitation&#x2013;exploration trade-off is set in favor of exploration, while later it gradually moves toward exploitation, boosting intensification, while depressing diversification.</p>
<p>Considering all modifications of the original COA, the modified method was named iterative boosting COA (IBCOA), and its pseudo-code is given in Algorithm 2:</p>
<fig id="fig-22">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-22.tif"/>
</fig>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Solution Encoding and Proposed XGBoost Tuning Framework</title>
<p>The text-based Twitter sexist harassment dataset was divided into training and testing portions. Afterward, it was transformed into a numerical representation to be input into the XGBoost model using the TF-IDF and BERT techniques.</p>
<p>Each agent from the IBCOA population represents one set of XGBoost hyperparameters. Six parameters were subjected to the optimization process; therefore, each IBCOA individual is represented as a vector with six dimensions (<italic>D</italic> &#x003D; 6). Some parameters, which are shown in <xref ref-type="sec" rid="s4_1">Section 4.1</xref>, are of an integer, while others are of a float data type. Therefore, this NP-hard challenge falls into the group of mixed continuous-integer problems. After the algorithm&#x2019;s execution, the best-performing solution (XGBoost model) was saved and further investigated using the SHAP technique. The block diagram of the proposed framework is depicted in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Block diagram of proposed XGBoost framework for Twitter sexism detection</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-2.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Experimental Setup and Simulation Outcomes</title>
<p>In the proposed research, two experiments were conducted, one with TF-IDF encoded input and the second with BERT encoded input for XGBoost tuning. This section gives experimental setup and employs dataset details, simulation outcomes with comparative analysis, statistical analysis, and best model interpretation using SHAP technique.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Experimental Setup and Dataset Overview</title>
<p>The proposed study uses the Twitter sexist harassment dataset. This dataset comprises various collections from the Twitter social-networking platform, all related to the automatic detection of cyberbullying and sexist harassment. The dataset consists of 14,878 instances (observations), where each observation represents textual-based content (tweet), which was grabbed from the Twitter social network, and relates to potential sexism harassment. Labels that are used in the dataset are 0 (no sexism harassment) and 1 (sexism harassment).</p>
<p>The employed dataset is highly imbalanced, with 11,501 and 3377 observations belonging to classes 0 and 1, respectively. The visual representation of class distribution within the Twitter sexist harassment dataset is given in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>. The dataset used is freely available from the following Kaggle URL: <ext-link ext-link-type="uri" xlink:href="https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset">https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset</ext-link> (accessed on 26 May 2024). Additionally, at the provided Kaggle repository link, more details regarding the dataset can be found.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Distribution of classes in Twitter sexist harassment dataset</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-3.tif"/>
</fig>
<p>The data in the dataset were split into a training set containing 70% data, while the test set held 30% of the data. The experiments were conducted using a standard set of Python machine libraries, including scikit learn, numpy, pandas, and seaborn. To split the dataset, scikit learn train test split with random seed was used to allow the reproducibility of the simulations.</p>
<p>The experimental setup for both simulations was the same. Hyperparameter bounds that were optimized were provided to allow for the reproduction of experiments. The ranges in which the hyperparameters for XGBoost optimization were selected were 0.1&#x2013;0.9 for learning rate (type: float), 1&#x2013;10 for minimum child weight (type: integer), 0.01&#x2013;1 for subsample (type: float), 0.01&#x2013;1 for Colsample by tree (type: float), 3&#x2013;10 for maximum depth (type: integer), and 0&#x2013;0.8 for gamma (type: float).</p>
<p>Since the employed dataset was imbalanced, the Cohen kappa coefficient was used as the objective function, while the classification error rate, precision, recall, F1-score, macro, and weighted averages per each class were also captured. These indicators were used because, together, these metrics offer a holistic assessment of classifier performance across various dimensions: overall accuracy (measured by Cohen&#x2019;s kappa and classification error), the equilibrium between precision and recall (F1-score), the capability to reduce false positives (precision), the ability to capture all positives (recall) and effectiveness in handling class imbalances (micro and macro weighted averages). They assist researchers and practitioners in evaluating how well classification models perform for particular tasks and datasets, providing insights into their effectiveness and appropriateness. Considering all these indicators together is also crucial for sexist-harassment cyberbullying identification, where maximizing true positive identifications of harassment cases and minimizing false positives and false negatives are the cornerstones of establishing an effective and efficient automated sexist harassment detection system.</p>
<p>Each metaheuristics approach was evaluated with the number of units in the population of 10 (<italic>N</italic> &#x003D; 10) and a maximum iteration number of 10 (<italic>T</italic> &#x003D; 10) throughout 30 independent runs. Moreover, best, worst, mean, median, standard deviation and variance of objective function, and classification error rate over 30 runs were also captured. To account for the stochastic nature of metaheuristics, it is important not only to focus on the best results obtained but also to gain insight into the average results across independent runs, where each run is executed with its own random sequence. The devised IBCOA was validated against other contemporary optimizers, which were tested under the same experimental conditions, with the goal of establishing rigid comparative analysis: COA [<xref ref-type="bibr" rid="ref-11">11</xref>], GA [<xref ref-type="bibr" rid="ref-29">29</xref>], PSO [<xref ref-type="bibr" rid="ref-25">25</xref>], FA [<xref ref-type="bibr" rid="ref-24">24</xref>], Sine cosine algorithm (SCA) [<xref ref-type="bibr" rid="ref-30">30</xref>], Sinh cosh algorithm (SCHA) [<xref ref-type="bibr" rid="ref-31">31</xref>], and Reptile search algorithm (RSA) [<xref ref-type="bibr" rid="ref-32">32</xref>]. All metaheuristics were employed for XGBoost tuning, in the results tables, and in the graphs; they are represented with the prefix &#x2018;XG&#x2019;. Also, the best-captured metrics in results tables are marked in bold type.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Simulation Outcomes, Comparative Analysis, and Discussion</title>
<p>The outcomes of the performed simulations are provided for both experiments. Firstly, the experiments employing TF-IDF are reported, followed by BERT experiments.</p>
<sec id="s4_2_1">
<label>4.2.1</label>
<title>The TF-IDF Simulation Results</title>
<p>A solid foundational tool for analyzing the performance of a classification model is the confusion matrix since it plays a crucial role in classification tasks by providing a detailed breakdown of how a model&#x2019;s predictions compare to actual class labels across different categories. It is essential for assessing model performance, revealing the accuracy of classifications, and exposing any biases toward particular classes in datasets with uneven distributions. Derived from the matrix are key metrics, such as accuracy, precision, recall, specificity, and the F1-score, which offer nuanced insights into the model&#x2019;s effectiveness beyond overall accuracy. By analyzing patterns of misclassifications and errors identified in the confusion matrix, practitioners can refine models, adjust thresholds, or optimize features to enhance predictive accuracy. This thorough evaluation not only aids in refining models but also informs strategic decisions, ensuring that classification models are tailored to meet the specific challenges and requirements of real-world applications.</p>
<p>The IBCOA with TF-IDF technique achieved a 95.8% true negative rate and a 4.2% false positive rate, as observable from the confusion matrix, presented in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>, exhibiting exceptional performance in classifying the no-sexism class. The classification of the sexism class, however, is not of the same quality. The proposed solution with the TF-IDF technique provides around a 40.5% false negative rate, with a true positive rate of 59.5%. The performance is noticeably worse for the sexism class, as many positive cases are classified as the no-sexism class. Because the dataset is highly imbalanced toward the no-sexism class, however, these results are satisfactory.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>The IBCOA XGBoost tuning with TF-IDF confusion matrix</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-4.tif"/>
</fig>
<p>The error box plot diagrams for classification error for all metaheuristics over 30 runs are shown in <xref ref-type="fig" rid="fig-5">Fig. 5</xref>, while the violin plot for the objective function is provided in <xref ref-type="fig" rid="fig-6">Fig. 6</xref>. From those figures it can be observed that all methods exhibit consistent performance since tight groupings can be noticed in both plots. It can be also noticed that the proposed IBCOA established the best results compared to all other approaches.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>The TF-IDF simulations error box-plot diagram</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-5.tif"/>
</fig><fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>The TF-IDF simulations objective violin-plot diagram</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-6.tif"/>
</fig>
<p>The error convergence graphs for all methods in the best runs (<xref ref-type="fig" rid="fig-7">Fig. 7</xref>) show admirable performance for the XG-IBCOA, as it is rapidly and consistently descending along the <italic>y</italic>-axis, which represents the error. After the fourth iteration, the algorithm slightly regresses and stabilizes immediately. Interesting is the performance in convergence speed for the XG-RSA solution as well. Namely, the algorithm shows significantly worse performance during the first iterations but after a short regression from the second to the fourth iteration, the algorithm outputs an even lower error value than the XG-IBCOA. The objective convergence graph reported in <xref ref-type="fig" rid="fig-8">Fig. 8</xref> indicates an even higher performance of the XG-IBCOA, where it obtains the highest objective values. Satisfying performance was also exhibited by the solutions optimized by GA, SCA, and FA, although they do not outperform the proposed IBCOA metaheuristics.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>The TF-IDF simulations error convergence graphs in the best run of all methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-7.tif"/>
</fig><fig id="fig-8">
<label>Figure 8</label>
<caption>
<title>The TF-IDF simulations objective convergence graphs in the best run of all methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-8.tif"/>
</fig>
<p>The diversity of the population in the final iteration of the best run for all methods in terms of error and objective is shown in <xref ref-type="fig" rid="fig-9">Figs. 9</xref> and <xref ref-type="fig" rid="fig-10">10</xref>, respectively. It should be noted that the IBCOA population exhibits the lowest diversity, meaning that most individuals have converged to the right part of the search area.</p>
<fig id="fig-9">
<label>Figure 9</label>
<caption>
<title>The TF-IDF simulations error swarm-plot diversity</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-9.tif"/>
</fig><fig id="fig-10">
<label>Figure 10</label>
<caption>
<title>The TF-IDF simulations objective swarm-plot diversity</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-10.tif"/>
</fig>
<p>The precision-recall (PR) curve for the best model XGBoost model generated by IBCOA in <xref ref-type="fig" rid="fig-11">Fig. 11</xref> indicates 94% average precision for the no-sexism class, 75% average precision in detecting the sexism class, and a micro-average precision of 92%. The PR curve indicates a very high performance of the proposed solution for sexism identification but, as previously pointed out by the confusion matrix in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>, the improvements need to be made in classifying sexist content to raise the micro-average precision further.</p>
<fig id="fig-11">
<label>Figure 11</label>
<caption>
<title>TF-IDF simulations PR curve obtained by XG-IBCOA</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-11.tif"/>
</fig>
<p>The results of the objective function (Cohen kappa score) in terms of best, worst, mean, median, standard deviation, and variance over 30 runs are reported in <xref ref-type="table" rid="table-1">Table 1</xref>, while the same metrics for classification error are shown in <xref ref-type="table" rid="table-2">Table 2</xref> for the TF-IDF experiments. The proposed solution had the best results for the best, worst, mean, and median categories, indicating robust performance. Only the XG-SCHA solution had lower standard deviation and variance, but this approach did not provide even the second-best performance, indicating that, while it has a tighter grouping of predictions, they are still not close to other optimizers. The lowest score for the objective value was obtained by the XG-COA in the worst category and had the second worst score for the standard deviation, confirming the results of improvements to the original solution.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Objective function for all metaheuristics over 30 runs&#x2013;TF-IDF simulations</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Best</th>
<th>Worst</th>
<th>Mean</th>
<th>Median</th>
<th>Std</th>
<th>Var</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td><bold>0.609572</bold></td>
<td><bold>0.599569</bold></td>
<td><bold>0.603591</bold></td>
<td><bold>0.602332</bold></td>
<td>0.003415</td>
<td>1.17E&#x2212;05</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.603079</td>
<td>0.579654</td>
<td>0.592961</td>
<td>0.592062</td>
<td>0.006514</td>
<td>4.24E&#x2212;05</td>
</tr>
<tr>
<td>XG-GA</td>
<td>0.606643</td>
<td>0.583354</td>
<td>0.599186</td>
<td>0.599735</td>
<td>0.006005</td>
<td>3.61E&#x2212;05</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.602477</td>
<td>0.588515</td>
<td>0.595468</td>
<td>0.596709</td>
<td>0.004400</td>
<td>1.94E&#x2212;05</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.603927</td>
<td>0.584998</td>
<td>0.597999</td>
<td>0.599937</td>
<td>0.006591</td>
<td>4.34E&#x2212;05</td>
</tr>
<tr>
<td>XG-SCA</td>
<td>0.604881</td>
<td>0.579241</td>
<td>0.593759</td>
<td>0.594028</td>
<td>0.006877</td>
<td>4.73E&#x2212;05</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.596576</td>
<td>0.589105</td>
<td>0.592621</td>
<td>0.592797</td>
<td><bold>0.002128</bold></td>
<td><bold>4.53E&#x2212;06</bold></td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.602988</td>
<td>0.586096</td>
<td>0.594563</td>
<td>0.594742</td>
<td>0.005900</td>
<td>3.48E&#x2212;05</td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Classification error for all metaheuristics over 30 runs&#x2013;TF-IDF simulations</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Best</th>
<th>Worst</th>
<th>Mean</th>
<th>Median</th>
<th>Std</th>
<th>Var</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td>0.124328</td>
<td>0.129032</td>
<td><bold>0.125090</bold></td>
<td><bold>0.124552</bold></td>
<td>0.001883</td>
<td>3.54E&#x2212;06</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.127464</td>
<td>0.130152</td>
<td>0.128226</td>
<td>0.127800</td>
<td>0.002182</td>
<td>4.76E&#x2212;06</td>
</tr>
<tr>
<td>XG-GA</td>
<td><bold>0.123432</bold></td>
<td>0.133289</td>
<td>0.127666</td>
<td>0.126792</td>
<td>0.002746</td>
<td>7.54E&#x2212;06</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.126344</td>
<td>0.127912</td>
<td>0.128203</td>
<td>0.127800</td>
<td>0.001709</td>
<td>2.92E&#x2212;06</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.127240</td>
<td>0.130376</td>
<td>0.127688</td>
<td>0.127016</td>
<td>0.001922</td>
<td>3.69E&#x2212;06</td>
</tr>
<tr>
<td>XG-SCA</td>
<td>0.125000</td>
<td>0.127912</td>
<td>0.126994</td>
<td>0.126904</td>
<td>0.002257</td>
<td>5.09E&#x2212;06</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.126344</td>
<td><bold>0.126120</bold></td>
<td>0.127599</td>
<td>0.126792</td>
<td>0.001974</td>
<td>3.90E&#x2212;06</td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.123656</td>
<td>0.128360</td>
<td>0.126523</td>
<td>0.127016</td>
<td><bold>0.001703</bold></td>
<td><bold>2.90E&#x2212;06</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="table-2">Table 2</xref> reports the lowest scores of the XG-IBCOA for the mean and median categories exhibiting stability. The XG-GA had the best results for the best category, the second best was XG-SCHA, and the XG-IBCOA provided the third best results. In the worst category, the XG-IBCOA was placed behind the XG-PSO and XG-SCA, which had the same results, and the XG-SCHA, which had the best obtained result in this category. Standard deviation and variance were dominated by the RSA algorithm.</p>

<p>The best-obtained parameter sets for each applied metaheuristic are reported in <xref ref-type="table" rid="table-3">Table 3</xref> to enable experiment repetition.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>The TF-IDF simulations best XGBoost model parameters</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Learning rate</th>
<th>Min. child W.</th>
<th>Subsample</th>
<th>Col. by tree</th>
<th>Max depth</th>
<th>Gamma</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td>0.900000</td>
<td>1.000000</td>
<td>0.855027</td>
<td>0.519424</td>
<td>10</td>
<td>0.623164</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.900000</td>
<td>1.000000</td>
<td>0.919342</td>
<td>0.957529</td>
<td>10</td>
<td>0.326100</td>
</tr>
<tr>
<td>XG-GA</td>
<td>0.823549</td>
<td>3.284613</td>
<td>1.000000</td>
<td>1.000000</td>
<td>8</td>
<td>0.453332</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.900000</td>
<td>3.240547</td>
<td>1.000000</td>
<td>1.000000</td>
<td>9</td>
<td>0.716250</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.900000</td>
<td>3.208292</td>
<td>1.000000</td>
<td>1.000000</td>
<td>6</td>
<td>0.800000</td>
</tr>
<tr>
<td>XG-SCA</td>
<td>0.900000</td>
<td>1.000000</td>
<td>0.773855</td>
<td>0.833346</td>
<td>10</td>
<td>0.800000</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.900000</td>
<td>2.301816</td>
<td>0.770476</td>
<td>0.462451</td>
<td>10</td>
<td>0.040814</td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.833338</td>
<td>1.178497</td>
<td>0.762641</td>
<td>0.739878</td>
<td>9</td>
<td>0.800000</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Detailed metrics per each class for the best run are shown in <xref ref-type="table" rid="table-4">Table 4</xref>. The best precision for the no-sexism class is obtained by XG-FA, while the recall and F1-score categories had the best results with the XG-RSA solution. The original COA had better precision than the proposed solution only in the precision category for the no-sexism class. The best score for precision on the harassment class was obtained by the XG-RSA, while the XG-FA had the best recall and the XG-IBCOA had the best F1-score. A better recall score was obtained by the XG-COA than the XG-IBCOA, but the proposed solution had a better F1-score. The best score for accuracy across all three categories was provided by the XG-GA, but the IBCOA outperforms the original COA optimizer across all three categories. The best recall and F1-score were obtained by the XG-IBCOA for the macro-average metric, while the best precision for this category was obtained by the XG-RSA, with the XG-GA coming in second place. For the weighted average metric, the XG-RSA had the best precision, the XG-GA had the best recall, and the XG-IBCOA the best F1-score. Finally, the XG-IBCOA obtained the best F1-score for the weighted average category.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>The TF-IDF simulations detailed metrics captured in the best run</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Algorithm</th>
<th>Method</th>
<th>Non-sexism</th>
<th>Sexism</th>
<th>Accuracy</th>
<th>Macro avg.</th>
<th>Weighted avg.</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="3">XG-IBCOA</td>
<td>Precision</td>
<td>0.889666</td>
<td>0.80615</td>
<td>0.875672</td>
<td>0.847908</td>
<td>0.870714</td>
</tr>
<tr>
<td>Recall</td>
<td>0.957983</td>
<td>0.595262</td>
<td>0.875672</td>
<td><bold>0.776622</bold></td>
<td>0.875672</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.922562</td>
<td><bold>0.684838</bold></td>
<td>0.875672</td>
<td><bold>0.8037</bold></td>
<td><bold>0.868616</bold></td>
</tr>
<tr>
<td rowspan="3">XG-COA</td>
<td>Precision</td>
<td>0.890092</td>
<td>0.788312</td>
<td>0.872536</td>
<td>0.839202</td>
<td>0.866995</td>
</tr>
<tr>
<td>Recall</td>
<td>0.952767</td>
<td>0.59921</td>
<td>0.872536</td>
<td>0.775989</td>
<td>0.872536</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.920364</td>
<td>0.680875</td>
<td>0.872536</td>
<td>0.800619</td>
<td>0.866017</td>
</tr>
<tr>
<td rowspan="3">XG-GA</td>
<td>Precision</td>
<td>0.886255</td>
<td>0.825352</td>
<td><bold>0.876568</bold></td>
<td>0.855803</td>
<td>0.872434</td>
</tr>
<tr>
<td>Recall</td>
<td>0.964068</td>
<td>0.57848</td>
<td><bold>0.876568</bold></td>
<td>0.771274</td>
<td><bold>0.876568</bold></td>
</tr>
<tr>
<td>F1-score</td>
<td>0.923525</td>
<td>0.680209</td>
<td><bold>0.876568</bold></td>
<td>0.801867</td>
<td>0.86831</td>
</tr>
<tr>
<td rowspan="3">XG-PSO</td>
<td>Precision</td>
<td>0.887933</td>
<td>0.802153</td>
<td>0.873656</td>
<td>0.845043</td>
<td>0.868468</td>
</tr>
<tr>
<td>Recall</td>
<td>0.957404</td>
<td>0.588351</td>
<td>0.873656</td>
<td>0.772878</td>
<td>0.873656</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.921361</td>
<td>0.678815</td>
<td>0.873656</td>
<td>0.800088</td>
<td>0.866321</td>
</tr>
<tr>
<td rowspan="3">XG-FA</td>
<td>Precision</td>
<td><bold>0.890333</bold></td>
<td>0.788586</td>
<td>0.87276</td>
<td>0.83946</td>
<td>0.867244</td>
</tr>
<tr>
<td>Recall</td>
<td>0.952767</td>
<td><bold>0.600197</bold></td>
<td>0.87276</td>
<td>0.776482</td>
<td>0.87276</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.920493</td>
<td>0.681614</td>
<td>0.87276</td>
<td>0.801054</td>
<td>0.866285</td>
</tr>
<tr>
<td rowspan="3">XG-SCA</td>
<td>Precision</td>
<td>0.88749</td>
<td>0.811218</td>
<td>0.875</td>
<td>0.849354</td>
<td>0.870182</td>
</tr>
<tr>
<td>Recall</td>
<td>0.960012</td>
<td>0.58539</td>
<td>0.875</td>
<td>0.772701</td>
<td>0.875</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.922327</td>
<td>0.680046</td>
<td>0.875</td>
<td>0.801187</td>
<td>0.867347</td>
</tr>
<tr>
<td rowspan="3">XG-SCHA</td>
<td>Precision</td>
<td>0.884012</td>
<td>0.81844</td>
<td>0.873656</td>
<td>0.851226</td>
<td>0.869132</td>
</tr>
<tr>
<td>Recall</td>
<td>0.962909</td>
<td>0.569595</td>
<td>0.873656</td>
<td>0.766252</td>
<td>0.873656</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.921775</td>
<td>0.671711</td>
<td>0.873656</td>
<td>0.796743</td>
<td>0.865029</td>
</tr>
<tr>
<td rowspan="3">XG-RSA</td>
<td>Precision</td>
<td>0.884177</td>
<td><bold>0.833575</bold></td>
<td>0.876344</td>
<td><bold>0.858876</bold></td>
<td><bold>0.872694</bold></td>
</tr>
<tr>
<td>Recall</td>
<td><bold>0.966676</bold></td>
<td>0.568608</td>
<td>0.876344</td>
<td>0.767642</td>
<td>0.876344</td>
</tr>
<tr>
<td>F1-score</td>
<td><bold>0.923588</bold></td>
<td>0.676056</td>
<td>0.876344</td>
<td>0.799822</td>
<td>0.867417</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4_2_2">
<label>4.2.2</label>
<title>BERT Simulation Results</title>
<p>The XG-IBCOA BERT-based approach achieved slightly worse results compared to those obtained by applying the TF-IDF technique according to the confusion matrix reported in <xref ref-type="fig" rid="fig-12">Fig. 12</xref>. The true negative rate was 95.2%, while the false positive rate was 4.8%. The classification of the sexism class was the issue, just like with the TF-IDF approach. The false negative rate was 43%, and the true positive rate was 57%, again providing slightly worse results than with the TF-IDF-based approach. This proves that the harmful content of this type is tough to distinguish, but when it is absent, the classification of negative cases is precise.</p>
<fig id="fig-12">
<label>Figure 12</label>
<caption>
<title>The IBCOA XGBoost tuning with BERT confusion matrix</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-12.tif"/>
</fig>
<p>The distribution of classification errors in the form of box and whiskers and objectives in the form of violin plot diagrams over 30 runs are depicted in <xref ref-type="fig" rid="fig-13">Figs. 13</xref> and <xref ref-type="fig" rid="fig-14">14</xref>, respectively. From the presented figures can be seen that the IBCOA and SCA managed to establish the best values for the error indicator, while the basic COA proved the most robust approach managing to generate the lowest mean value. The IBCOA outperformed other methods in terms of objective function.</p>
<fig id="fig-13">
<label>Figure 13</label>
<caption>
<title>The BERT simulations error box-plot diagram</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-13.tif"/>
</fig><fig id="fig-14">
<label>Figure 14</label>
<caption>
<title>The BERT simulations objective violin-plot diagram</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-14.tif"/>
</fig>
<p>The error convergence graph in <xref ref-type="fig" rid="fig-15">Fig. 15</xref> and the objective convergence graph in <xref ref-type="fig" rid="fig-16">Fig. 16</xref> for the best run indicate the overall stable performance of the proposed solution. Regarding XG-IBCOA, it can be observed that the model gradually improves solutions over iterations and that it exhibits a solid convergence rate. Other methods also converge during 10 iterations, albeit at a slower pace than the IBCOA.</p>
<fig id="fig-15">
<label>Figure 15</label>
<caption>
<title>The BERT simulations error convergence graphs in the best run of all methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-15.tif"/>
</fig><fig id="fig-16">
<label>Figure 16</label>
<caption>
<title>The BERT simulations objective convergence graphs in the best run of all methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-16.tif"/>
</fig>
<p>The diversity of population in the final iteration of the best run for both objective and error is shown in <xref ref-type="fig" rid="fig-17">Figs. 17</xref> and <xref ref-type="fig" rid="fig-18">18</xref>, respectively. It is interesting to notice that, conversely to TF-IDF experimentation, the population diversity of IBCOA is higher, and, from this, a conclusion can be drawn that not all individuals managed to converge toward an optimum. Nonetheless, the diversity of IBCOA is still better than those of other metaheuristics.</p>
<fig id="fig-17">
<label>Figure 17</label>
<caption>
<title>The BERT simulations error swarm-plot diversity</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-17.tif"/>
</fig><fig id="fig-18">
<label>Figure 18</label>
<caption>
<title>The BERT simulations objective swarm-plot diversity</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-18.tif"/>
</fig>
<p>Finally, the PR curve for XG-IBCOA, shown in <xref ref-type="fig" rid="fig-19">Fig. 19</xref>, displays a higher score than with the TF-IDF solution for the no-sexism average precision of 95.6%, marginally lower average precision with sexism class of 73.8%, and a slightly better value for micro-average precision of 92.7%.</p>
<fig id="fig-19">
<label>Figure 19</label>
<caption>
<title>BERT simulations PR curve obtained by XG-IBCOA</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-19.tif"/>
</fig>
<p>The results of the objective function (Cohen kappa score) in terms of best, worst, mean, median, standard deviation, and variance over 30 runs are reported in <xref ref-type="table" rid="table-5">Table 5</xref>, while the same metrics for classification error are shown in <xref ref-type="table" rid="table-6">Table 6</xref>, for BERT experiments. The best objective function value was achieved by the proposed IBCOA metaheuristics, while for all other indicators, the basic COA proved to be the best optimizer, as seen in the provided table. This stems from the NFL theorem&#x2013;the IBCOA managed to overcome some deficiencies of the original COA, while, at the same time, some capabilities of the original method were worsened.</p>
<table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Objective function for all metaheuristics over 30 runs&#x2013;BERT simulations</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Best</th>
<th>Worst</th>
<th>Mean</th>
<th>Median</th>
<th>Std</th>
<th>Var</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td><bold>0.575694</bold></td>
<td>0.546466</td>
<td>0.557293</td>
<td>0.557961</td>
<td>0.008389</td>
<td>7.04E&#x2212;05</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.571761</td>
<td><bold>0.558589</bold></td>
<td><bold>0.565057</bold></td>
<td><bold>0.564806</bold></td>
<td><bold>0.00346</bold></td>
<td><bold>1.20E&#x2212;05</bold></td>
</tr>
<tr>
<td>XG-GA</td>
<td>0.565709</td>
<td>0.544712</td>
<td>0.556083</td>
<td>0.557324</td>
<td>0.007588</td>
<td>5.76E&#x2212;05</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.560971</td>
<td>0.547078</td>
<td>0.554903</td>
<td>0.555613</td>
<td>0.004289</td>
<td>1.84E&#x2212;05</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.567541</td>
<td>0.546187</td>
<td>0.553446</td>
<td>0.552662</td>
<td>0.00544</td>
<td>2.96E&#x2212;05</td>
</tr>
<tr>
<td>XG-SCA</td>
<td>0.57207</td>
<td>0.545305</td>
<td>0.55508</td>
<td>0.5539</td>
<td>0.006718</td>
<td>4.51E&#x2212;05</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.56221</td>
<td>0.544574</td>
<td>0.553697</td>
<td>0.552451</td>
<td>0.004791</td>
<td>2.30E&#x2212;05</td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.562925</td>
<td>0.543464</td>
<td>0.554582</td>
<td>0.554704</td>
<td>0.005246</td>
<td>2.75E&#x2212;05</td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>Classification error for all metaheuristics over 30 runs&#x2013;BERT simulations</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Best</th>
<th>Worst</th>
<th>Mean</th>
<th>Median</th>
<th>Std</th>
<th>Var</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td><bold>0.134857</bold></td>
<td>0.143369</td>
<td>0.140726</td>
<td>0.142025</td>
<td>0.0031</td>
<td>9.61E&#x2212;06</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.137993</td>
<td><bold>0.138889</bold></td>
<td><bold>0.138239</bold></td>
<td><bold>0.137993</bold></td>
<td><bold>0.00171</bold></td>
<td><bold>2.93E&#x2212;06</bold></td>
</tr>
<tr>
<td>XG-GA</td>
<td>0.136649</td>
<td>0.142921</td>
<td>0.139964</td>
<td>0.139561</td>
<td>0.002506</td>
<td>6.28E&#x2212;06</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.141577</td>
<td>0.146057</td>
<td>0.141129</td>
<td>0.141017</td>
<td>0.002177</td>
<td>4.74E&#x2212;06</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.138665</td>
<td>0.147177</td>
<td>0.142361</td>
<td>0.141913</td>
<td>0.002619</td>
<td>6.86E&#x2212;06</td>
</tr>
<tr>
<td>XG-SCA</td>
<td><bold>0.134857</bold></td>
<td>0.140009</td>
<td>0.139113</td>
<td>0.139561</td>
<td>0.002188</td>
<td>4.79E&#x2212;06</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.139785</td>
<td>0.140457</td>
<td>0.141308</td>
<td>0.141129</td>
<td>0.002849</td>
<td>8.12E&#x2212;06</td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.137097</td>
<td>0.143145</td>
<td>0.141443</td>
<td>0.141913</td>
<td>0.00262</td>
<td>6.87E&#x2212;06</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The indicator function (classification error) shows similar outcomes as for the objective, and those results are reported in <xref ref-type="table" rid="table-6">Table 6</xref>.</p>

<p>The best-selected sets of hyperparameters for the best models are exhibited in <xref ref-type="table" rid="table-7">Table 7</xref>.</p>
<table-wrap id="table-7">
<label>Table 7</label>
<caption>
<title>The BERT simulations best XGBoost model parameters</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Learning rate</th>
<th>Min. child W.</th>
<th>Subsample</th>
<th>Col. by tree</th>
<th>Max depth</th>
<th>Gamma</th>
</tr>
</thead>
<tbody>
<tr>
<td>XG-IBCOA</td>
<td>0.789339</td>
<td>7.181111</td>
<td>0.970619</td>
<td>0.765819</td>
<td>7</td>
<td>0.403707</td>
</tr>
<tr>
<td>XG-COA</td>
<td>0.838975</td>
<td>6.182381</td>
<td>1.000000</td>
<td>0.749402</td>
<td>6</td>
<td>0.311540</td>
</tr>
<tr>
<td>XG-GA</td>
<td>0.624359</td>
<td>6.354616</td>
<td>0.771590</td>
<td>0.699189</td>
<td>9</td>
<td>0.000000</td>
</tr>
<tr>
<td>XG-PSO</td>
<td>0.900000</td>
<td>1.000000</td>
<td>0.796688</td>
<td>0.556163</td>
<td>5</td>
<td>0.000000</td>
</tr>
<tr>
<td>XG-FA</td>
<td>0.900000</td>
<td>9.375733</td>
<td>1.000000</td>
<td>0.280164</td>
<td>10</td>
<td>0.000000</td>
</tr>
<tr>
<td>XG-SCA</td>
<td>0.507031</td>
<td>8.505178</td>
<td>0.609536</td>
<td>0.977069</td>
<td>10</td>
<td>0.032961</td>
</tr>
<tr>
<td>XG-SCHA</td>
<td>0.900000</td>
<td>10.000000</td>
<td>1.000000</td>
<td>0.588163</td>
<td>9</td>
<td>0.574114</td>
</tr>
<tr>
<td>XG-RSA</td>
<td>0.900000</td>
<td>10.000000</td>
<td>1.000000</td>
<td>0.707192</td>
<td>10</td>
<td>0.145915</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Detailed metrics per each class for the best run are visible in <xref ref-type="table" rid="table-8">Table 8</xref>. The proposed solution had the best scores for sexism class F1-score, the best accuracy across all three reported metrics, the best F1-score for the macro average, and the recall and F1-score for the weighted average. The best scores for the no-sexism class are obtained by the XG-FA for the precision metric, the best recall by the XG-RSA, and the XG-SCA for the F1-score. The best results for the sexism class are obtained by the XG-COA for the recall category, and by the XG-SCA for precision. The XG-SCA obtains equal performance as the XG-IBCOA for all categories for accuracy. The best recall for the macro-average is provided by the XG-COA, while the best precision is by XG-SCA. The best precision in the weighted average is obtained by the XG-SCA, while it shares the best score for the recall metric with the XG-IBCOA.</p>
<table-wrap id="table-8">
<label>Table 8</label>
<caption>
<title>The BERT simulations detailed metrics captured in the best run</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Algorithm</th>
<th>Method</th>
<th>No sexism</th>
<th>Sexism</th>
<th>Accuracy</th>
<th>Macro avg.</th>
<th>Weighted avg.</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="3">XG-IBCOA</td>
<td>Precision</td>
<td>0.882827</td>
<td>0.776581</td>
<td><bold>0.865143</bold></td>
<td>0.829704</td>
<td>0.858717</td>
</tr>
<tr>
<td>Recall</td>
<td>0.951898</td>
<td>0.569595</td>
<td><bold>0.865143</bold></td>
<td>0.760747</td>
<td><bold>0.865143</bold></td>
</tr>
<tr>
<td>F1-score</td>
<td>0.916062</td>
<td><bold>0.657175</bold></td>
<td><bold>0.865143</bold></td>
<td><bold>0.786619</bold></td>
<td><bold>0.857314</bold></td>
</tr>
<tr>
<td rowspan="3">XG-COA</td>
<td>Precision</td>
<td><bold>0.884668</bold></td>
<td>0.754814</td>
<td>0.862007</td>
<td>0.819741</td>
<td>0.8552</td>
</tr>
<tr>
<td>Recall</td>
<td>0.944654</td>
<td><bold>0.580454</bold></td>
<td>0.862007</td>
<td><bold>0.762554</bold></td>
<td>0.862007</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.913677</td>
<td>0.65625</td>
<td>0.862007</td>
<td>0.784964</td>
<td>0.85526</td>
</tr>
<tr>
<td rowspan="3">XG-GA</td>
<td>Precision</td>
<td>0.879103</td>
<td>0.781032</td>
<td>0.863351</td>
<td>0.830068</td>
<td>0.856848</td>
</tr>
<tr>
<td>Recall</td>
<td>0.954506</td>
<td>0.552813</td>
<td>0.863351</td>
<td>0.75366</td>
<td>0.863351</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.915254</td>
<td>0.647399</td>
<td>0.863351</td>
<td>0.781327</td>
<td>0.854471</td>
</tr>
<tr>
<td rowspan="3">XG-PSO</td>
<td>Precision</td>
<td>0.882704</td>
<td>0.743918</td>
<td>0.858423</td>
<td>0.813311</td>
<td>0.85121</td>
</tr>
<tr>
<td>Recall</td>
<td>0.942046</td>
<td>0.573544</td>
<td>0.858423</td>
<td>0.757795</td>
<td>0.858423</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.91141</td>
<td>0.647715</td>
<td>0.858423</td>
<td>0.779562</td>
<td>0.851571</td>
</tr>
<tr>
<td rowspan="3">XG-FA</td>
<td>Precision</td>
<td>0.88291</td>
<td>0.75718</td>
<td>0.861335</td>
<td>0.820045</td>
<td>0.854378</td>
</tr>
<tr>
<td>Recall</td>
<td>0.946103</td>
<td>0.572557</td>
<td>0.861335</td>
<td>0.75933</td>
<td>0.861335</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.913414</td>
<td>0.652052</td>
<td>0.861335</td>
<td>0.782733</td>
<td>0.854104</td>
</tr>
<tr>
<td rowspan="3">XG-SCA</td>
<td>Precision</td>
<td>0.880577</td>
<td><bold>0.785021</bold></td>
<td><bold>0.865143</bold></td>
<td><bold>0.832799</bold></td>
<td><bold>0.858893</bold></td>
</tr>
<tr>
<td>Recall</td>
<td>0.955085</td>
<td>0.558736</td>
<td><bold>0.865143</bold></td>
<td>0.756911</td>
<td><bold>0.865143</bold></td>
</tr>
<tr>
<td>F1-score</td>
<td><bold>0.916319</bold></td>
<td>0.652826</td>
<td><bold>0.865143</bold></td>
<td>0.784572</td>
<td>0.856526</td>
</tr>
<tr>
<td rowspan="3">XG-SCHA</td>
<td>Precision</td>
<td>0.8811</td>
<td>0.757616</td>
<td>0.860215</td>
<td>0.819358</td>
<td>0.853078</td>
</tr>
<tr>
<td>Recall</td>
<td>0.946972</td>
<td>0.564659</td>
<td>0.860215</td>
<td>0.755816</td>
<td>0.860215</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.912849</td>
<td>0.647059</td>
<td>0.860215</td>
<td>0.779954</td>
<td>0.852534</td>
</tr>
<tr>
<td rowspan="3">XG-RSA</td>
<td>Precision</td>
<td>0.878029</td>
<td>0.782793</td>
<td>0.862903</td>
<td>0.830411</td>
<td>0.856418</td>
</tr>
<tr>
<td>Recall</td>
<td><bold>0.955375</bold></td>
<td>0.547878</td>
<td>0.862903</td>
<td>0.751626</td>
<td>0.862903</td>
</tr>
<tr>
<td>F1-score</td>
<td>0.915071</td>
<td>0.644599</td>
<td>0.862903</td>
<td>0.779835</td>
<td>0.853694</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Overall Conclusion, Statistical Validation and Best Model Results Interpretation</title>
<p>In summary, the proposed IBCOA consistently outperformed all other cutting-edge metaheuristics in both experiments. It is noteworthy that most classifiers showed improved performance when using the TF-IDF technique for text processing. The highest accuracy of 87.66% was achieved by XG-IBCOA with TF-IDF, slightly surpassing the accuracy obtained with BERT (86.51%). Accuracy alone can sometimes be misleading, however, especially with imbalanced datasets like the one used here. Interestingly, similar conclusions were drawn when comparing Cohen&#x2019;s kappa scores, which consider class imbalance. In this regard, the best scores achieved were 0.6096 with TF-IDF and 0.5757 with BERT experiments.</p>
<p>Statistical tests were conducted to evaluate whether the outcomes attained by the suggested IBCOA method were statistically significant. A Shapiro&#x2013;Wilk test was applied to both experiments, and it was determined that the results did not originate from the normal distribution. Thus, it was not safe to proceed with parametric tests. Instead, the Wilcoxon non-parametric test was conducted, and the resulting outcomes are shown in <xref ref-type="table" rid="table-9">Table 9</xref>. The outcomes show that the performance of introduced IBCOA is statistically significantly better than other algorithms in the case of TF-IDF simulations, as obtained <italic>p</italic>-values are less than threshold of 0.05. In the case of the BERT experiments, IBCOA is significantly better than all algorithms except COA (<italic>p</italic>-value 0.058).</p>
<table-wrap id="table-9">
<label>Table 9</label>
<caption>
<title>Wilcoxon test outcomes (IBCOA <italic>vs.</italic> others)</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>COA</th>
<th>GA</th>
<th>PSO</th>
<th>FA</th>
<th>SCA</th>
<th>SCHA</th>
<th>RSA</th>
</tr>
</thead>
<tbody>
<tr>
<td>TF-IDF</td>
<td>0.021</td>
<td>0.041</td>
<td>0.034</td>
<td>0.037</td>
<td>0.028</td>
<td>0.024</td>
<td>0.031</td>
</tr>
<tr>
<td>BERT</td>
<td>0.058</td>
<td>0.039</td>
<td>0.031</td>
<td>0.025</td>
<td>0.034</td>
<td>0.022</td>
<td>0.030</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Considering both conducted experiments, the best accuracy was obtained by the XG-IBCOA in the TF-IDF simulations. Also, overall for both simulations, proposed IBCOA metaheuristics outscored all other methods in terms of most performance indicators and convergence speed, including the original COA. It is also necessary to state that all metaheuristics algorithms included in the experiments obtained respectable results, in terms of high accuracy, recall, and other metrics. When observing all metrics together, it can be concluded that the proposed approach can successfully identify cyberbullying accurately, with considerable potential for practical use.</p>
<p>Finally, to get more insights into the feature&#x2019;s effect on the model performance, the best model generated by XG-IBCOA with the TF-IDF technique was subjected to results&#x2019; interpretation using the SHAP methodology.</p>
<p>The most significant features according to the SHAP analysis, provided in <xref ref-type="fig" rid="fig-19">Fig. 19</xref> (left), are &#x201C;sexist,&#x201D; &#x201C;rt,&#x201D; &#x201C;kat,&#x201D; and &#x201C;co,&#x201D; while the features with a moderate influence are &#x201C;mkr,&#x201D; &#x201C;notsexist,&#x201D; and &#x201C;girls.&#x201D; Features with high influence can sway model classification in a more significant way. The presence or absence of a feature influences a model&#x2019;s decision more the higher the importance is. Analysis outcomes are dataset and model-specific, and, in this case, the presence of terms like &#x201C;sexist&#x201D; suggests that a comment has a higher probability of being classified as &#x201C;sexist.&#x201D; Terms like &#x201C;rt,&#x201D; &#x201C;mkr,&#x201D; and &#x201C;rt&#x201D; are dataset-specific. Namely, the &#x201C;mkr&#x201D; is a hashtag associated with a popular Australian cooking show, &#x201C;My Kitchen Rules,&#x201D; with Kat being one of the contestants. The presence of these terms suggest that a comment is not considered sexist harassment. The &#x201C;co&#x201D; token is often associated with URL links present in Twitter posts. The presence of this keyword is often associated with advertisements in posts and the presence of this keyword decreases the probability of a post&#x2019;s being sexist from the model&#x2019;s perspective. The rest of the features provide a lower influence on the prediction.</p>
<p>The individual prediction local analyses are provided in <xref ref-type="fig" rid="fig-20">Fig. 20</xref> (right). In the first prediction, the outcome of the prediction is positive being classified as sexist. The &#x201C;sexist&#x201D; feature had the most influence on this prediction, while &#x201C;rt&#x201D; and &#x201C;to&#x201D; follow behind. The second prediction indicates similar results where the &#x201C;rt&#x201D; feature had the most influence, followed by the &#x201C;sexist&#x201D; feature. The third prediction indicates once again the highest influence of the same features as previously. The fourth prediction reported shows a negative classification, indicating the no-sexism class. The fifth prediction indicates that the features &#x201C;this,&#x201D; &#x201C;there,&#x201D; and &#x201C;sexist&#x201D; contributed most to the positive prediction. The final prediction that is reported shows that the features like &#x201C;islam,&#x201D; &#x201C;muslims,&#x201D; and &#x201C;understand&#x201D; have a high influence on the prediction.</p>
<fig id="fig-20">
<label>Figure 20</label>
<caption>
<title>SHAP analysis of feature impact for the best model (XG-IBCOA for TF-IDF)</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_54459-fig-20.tif"/>
</fig>
<p>Global importance interpretation can improve data-collection and-screening systems. Running models on all the generated data can be taxing and computationally expensive. Focusing on comments that contain significant keywords, however, can help address higher-priority comments earlier while reducing processing costs for comments with terms that are unlikely to be flagged. Local interpretation can help shed insight on the importance of each term in the context of a single comment&#x2019;s helping moderators justify their decision to flag a certain comment in cases of an appeal.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Conclusion</title>
<p>The primary objective of the research presented in this manuscript was to address the growing challenge of cyberbullying in the form of sexist harassment. For this purpose, the Twitter sexist-harassment dataset, which includes tweets about sexual harassment, was used for NLP. Two algorithms were employed to transform text into meaningful numerical representations for ML input: TF-IDF and BERT. The well-known XGBoost ML model was used to classify whether specific tweets fall into the category of sexual harassment. Additionally, to achieve better performance, several XGBoost models were developed with hyperparameter tuning using metaheuristics. Moreover, for the purpose of the presented research, the recently proposed COA metaheuristic was modified and adapted for XGBoost model optimization. Inspired by the incorporated changes, the proposed algorithm was named IBCOA.</p>
<p>Two experiments were performed, one with XGBoost tuning using TF-IDF and the other by using the BERT MLP technique. Other cutting-edge metaheuristic approaches were also implemented, and a rigorous comparative analysis of classification metrics (accuracy, Cohen&#x2019;s kappa score, precision, recall, and F1-score) was conducted. As an overall conclusion, the proposed IBCOA achieved on average the best performance and outscored all other approaches included in the comparative analysis. Also, the best-generated model was interpreted using the SHAP methodology, providing valuable insights into the behavioral patterns of individuals who engage in social harassment.</p>
<p>The classification research results shown in this study contribute significantly to the detection and prevention of sexist-harassment cyberbullying in practical ways, including: (a) models trained on sexist cyberbullying and other cyberbullying datasets can accurately identify instances of cyberbullying, distinguishing them from normal online interactions. This capability enables timely detection and intervention, preventing the escalation of harmful behaviors; (b) automated classification systems, like the one proposed in this study, can process large volumes of textual data from social-media platforms, messaging apps, and forums in almost real time. This scalability allows for continuous monitoring and a prompt response to sexist cyberbullying incidents across diverse online environments; (c) by flagging potentially harmful content early, classification models facilitate swift intervention by moderators, parents, educators, or platform administrators. Early intervention is crucial for supporting victims, educating offenders, and mitigating the effect of cyberbullying. The most important limitations of the proposed research, which also represent potential directions for upcoming work in this area, include validation on other datasets, which are freely available on, e.g., the Kaggle and UCL repositories, optimization of other standard ML and DL models for this challenge, and simulations with other variants of COA metaheuristics. There are also, however, other limitations worth mentioning. For example, detecting nuanced forms of sexist cyberbullying harassment often requires understanding context, sarcasm, irony, or cultural references, which can be challenging for ML models trained on text data alone. Also, ML models trained on user-generated content may raise privacy concerns, as they involve analyzing personal communications and behaviors. Finally, models trained on data from one platform or language may not generalize well to others due to differences in user behavior, language nuances, cultural norms, and platform-specific features. Some of the mentioned challenges and limitations will be addressed as part of future research endeavors in this area.</p>
</sec>
</body>
<back>
<ack>
<p>Research was supported by the Science Fund of the Republic of Serbia.</p>
</ack>
<sec><title>Funding Statement</title>
<p>This research was supported by the Science Fund of the Republic of Serbia, Grant No. 7373, Characterizing Crises-Caused Air Pollution Alternations Using an Artificial Intelligence-Based Framework-crAIRsis and Grant No. 7502, Intelligent Multi-Agent Control and Optimization applied to Green Buildings and Environmental Monitoring Drone Swarms-ECOSwarm.</p>
</sec>
<sec><title>Author Contributions</title>
<p>Methods implementation and simulations: Nebojsa Bacanin, Miodrag Zivkovic, Tamara Zivkovic and Luka Jovanovic; study conception and design: Milos Dobrojevic, Nebojsa Bacanin, Miroslav Cajic and Suresh Muthusamy; analysis and interpretation of results: Lepa Babic and Suresh Muthusamy; draft manuscript preparation: Milos Antonijevic, Luka Jovanovic and Miroslav Cajic; review and editing: Nebojsa Bacanin, Tamara Zivkovic, Luka Jovanovic and Miroslav Cajic. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability"><title>Availability of Data and Materials</title>
<p>The data that supports the findings of this study is openly available on Kaggle: <ext-link ext-link-type="uri" xlink:href="https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset">https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset</ext-link> (accessed on 13 May 2024).</p>
</sec>
<sec><title>Ethics Approval</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement"><title>Conflicts of Interest</title>
<p>The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Oksanen</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Oksa</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Savela</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Kaakinen</surname></string-name>, and <string-name><given-names>N.</given-names> <surname>Ellonen</surname></string-name></person-group>, &#x201C;<article-title>Cyberbullying victimization at work: Social media identity bubble approach</article-title>,&#x201D; <source>Comput. Hum. Behav.</source>, vol. <volume>109</volume>, <year>Aug. 2020, Art. no. 106363</year>. doi: <pub-id pub-id-type="doi">10.1016/j.chb.2020.106363</pub-id>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>O.</given-names> <surname>Stetsyk</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Terenchuk</surname></string-name></person-group>, &#x201C;<article-title>Model development of the system for avoiding Echo Chambers in social networks</article-title>,&#x201D; <source>Manag. Develop. Complex Syst.</source>, vol. <volume>57</volume>, pp. <fpage>77</fpage>&#x2013;<lpage>82</lpage>, <year>Mar. 2024</year>. doi: <pub-id pub-id-type="doi">10.32347/2412-9933.2024.57.77-82</pub-id>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Kim</surname></string-name>, <string-name><given-names>S. R.</given-names> <surname>Colwell</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Kata</surname></string-name>, <string-name><given-names>M. H.</given-names> <surname>Boyle</surname></string-name>, and <string-name><given-names>K.</given-names> <surname>Georgiades</surname></string-name></person-group>, &#x201C;<article-title>Cyberbullying victimization and adolescent mental health: Evidence of differential effects by sex and mental health problem type</article-title>,&#x201D; <source>J. Youth Adolesc.</source>, vol. <volume>47</volume>, no. <issue>3</issue>, pp. <fpage>661</fpage>&#x2013;<lpage>672</lpage>, <year>2018</year>. doi: <pub-id pub-id-type="doi">10.1007/s10964-017-0678-4</pub-id>; <pub-id pub-id-type="pmid">28434092</pub-id></mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Kota</surname></string-name> and <string-name><given-names>E.</given-names> <surname>Selkie</surname></string-name></person-group>, &#x201C;<chapter-title>Cyberbullying and mental health</chapter-title>,&#x201D; in <source>Technology and Adolescent Mental Health</source>, <person-group person-group-type="editor"><string-name><given-names>M.</given-names> <surname>Moreno</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Radovic</surname></string-name></person-group>, eds, <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer</publisher-name>, <year>2018</year>, pp. <fpage>89</fpage>&#x2013;<lpage>99</lpage>. doi: <pub-id pub-id-type="doi">10.1007/978-3-319-69638-6_7</pub-id>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. M.</given-names> <surname>Gim&#x00E9;nez Gualdo</surname></string-name>, <string-name><given-names>S. C.</given-names> <surname>Hunter</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Durkin</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Arnaiz</surname></string-name> and <string-name><given-names>J. J.</given-names> <surname>Maquil&#x00F3;n</surname></string-name></person-group>, &#x201C;<article-title>The emotional impact of cyberbullying: Differences in perceptions and experiences as a function of role</article-title>,&#x201D; <source>Comput. Educ.</source>, vol. <volume>82</volume>, no. <issue>2</issue>, pp. <fpage>228</fpage>&#x2013;<lpage>235</lpage>, <year>2015</year>. doi: <pub-id pub-id-type="doi">10.1016/j.compedu.2014.11.013</pub-id>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N.</given-names> <surname>Agustiningsih</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Yusuf</surname></string-name>, and <string-name><given-names>A.</given-names> <surname>Ahsan</surname></string-name></person-group>, &#x201C;<article-title>Relationships among self-esteem, bullying, and cyberbullying in adolescents: A systematic review</article-title>,&#x201D; <source>J. Psychosoc. Nurs. Ment. Health Serv.</source>, vol. <volume>62</volume>, no. <issue>5</issue>, pp. <fpage>11</fpage>&#x2013;<lpage>17</lpage>, <year>May 2024</year>. doi: <pub-id pub-id-type="doi">10.3928/02793695-20231013-01</pub-id>; <pub-id pub-id-type="pmid">37879085</pub-id></mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. E.</given-names> <surname>Fahy</surname></string-name>, <string-name><given-names>S. A.</given-names> <surname>Stansfeld</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Smuk</surname></string-name>, <string-name><given-names>N. R.</given-names> <surname>Smith</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Cummins</surname></string-name> and <string-name><given-names>C.</given-names> <surname>Clark</surname></string-name></person-group>, &#x201C;<article-title>Longitudinal associations between cyberbullying involvement and adolescent mental health</article-title>,&#x201D; <source>J. Adolesc. Health</source>, vol. <volume>59</volume>, no. <issue>5</issue>, pp. <fpage>502</fpage>&#x2013;<lpage>509</lpage>, <year>2016</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jadohealth.2016.06.006</pub-id>; <pub-id pub-id-type="pmid">27528471</pub-id></mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Hinduja</surname></string-name> and <string-name><given-names>J. W.</given-names> <surname>Patchin</surname></string-name></person-group>, &#x201C;<article-title>Bullying, cyberbullying, and suicide</article-title>,&#x201D; <source>Arch. Suicide Res.</source>, vol. <volume>14</volume>, no. <issue>3</issue>, pp. <fpage>206</fpage>&#x2013;<lpage>221</lpage>, <year>Jul. 2010</year>. doi: <pub-id pub-id-type="doi">10.1080/13811118.2010.494133</pub-id>; <pub-id pub-id-type="pmid">20658375</pub-id></mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Nikolaou</surname></string-name></person-group>, &#x201C;<article-title>Does cyberbullying impact youth suicidal behaviors?</article-title>&#x201D; <source>J. Health Econ.</source>, vol. <volume>56</volume>, no. <issue>5</issue>, pp. <fpage>30</fpage>&#x2013;<lpage>46</lpage>, <year>Dec. 2017</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jhealeco.2017.09.009</pub-id>; <pub-id pub-id-type="pmid">28968528</pub-id></mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. H.</given-names> <surname>Wolpert</surname></string-name> and <string-name><given-names>W. G.</given-names> <surname>Macready</surname></string-name></person-group>, &#x201C;<article-title>No free lunch theorems for optimization</article-title>,&#x201D; <source>IEEE Trans. Evol. Comput.</source>, vol. <volume>1</volume>, no. <issue>1</issue>, pp. <fpage>67</fpage>&#x2013;<lpage>82</lpage>, <year>Apr. 1997</year>. doi: <pub-id pub-id-type="doi">10.1109/4235.585893</pub-id>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Pierezan</surname></string-name> and <string-name><given-names>L. D. S.</given-names> <surname>Coelho</surname></string-name></person-group>, &#x201C;<article-title>Coyote optimization algorithm: A new metaheuristic for global optimization problems</article-title>,&#x201D; in <conf-name>2018 IEEE Congr. Evol. Comput. (CEC)</conf-name>, <publisher-loc>Rio de Janeiro, Brazil</publisher-loc>, <publisher-name>IEEE</publisher-name>, <year>2018</year>, pp. <fpage>1</fpage>&#x2013;<lpage>8</lpage>. doi: <pub-id pub-id-type="doi">10.1109/CEC.2018.8477769</pub-id>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Chen</surname></string-name> and <string-name><given-names>C.</given-names> <surname>Guestrin</surname></string-name></person-group>, &#x201C;<article-title>XGBoost: A scalable tree boosting system</article-title>,&#x201D; in <conf-name>Proc. 22nd ACM SIGKDD Int. Conf. Know. Dis. Data Min.</conf-name>, <publisher-loc>San Francisco, CA, USA</publisher-loc>, <year>Aug. 2016</year>, pp. <fpage>785</fpage>&#x2013;<lpage>794</lpage>. doi: <pub-id pub-id-type="doi">10.1145/2939672.2939785</pub-id>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. W.</given-names> <surname>Patchin</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Hinduja</surname></string-name></person-group>, &#x201C;<article-title>2023 cyberbullying data</article-title>,&#x201D; <source>Cyberbull. Res. Center</source>. <comment>Accessed: May 18, 2024</comment>. [Online]. Available: <ext-link ext-link-type="uri" xlink:href="https://cyberbullying.org/2023-cyberbullying-data">https://cyberbullying.org/2023-cyberbullying-data</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N. A.</given-names> <surname>Azeez</surname></string-name>, <string-name><given-names>S. O.</given-names> <surname>Idiakose</surname></string-name>, <string-name><given-names>C. J.</given-names> <surname>Onyema</surname></string-name>, and <string-name><given-names>C.</given-names> <surname>Van Der Vyver</surname></string-name></person-group>, &#x201C;<article-title>Cyberbullying detection in social networks: Artificial intelligence approach</article-title>,&#x201D; <source>J. Cyber Secur. Mobil.</source>, vol. <volume>10</volume>, no. <issue>4</issue>, pp. <fpage>745</fpage>&#x2013;<lpage>774</lpage>, <year>2021</year>. doi: <pub-id pub-id-type="doi">10.13052/jcsm2245-1439.1046</pub-id>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Al-Marghilani</surname></string-name></person-group>, &#x201C;<article-title>Artificial intelligence-enabled cyberbullying-free online social networks in smart cities</article-title>,&#x201D; <source>Int. J. Comput. Intell. Syst.</source>, vol. <volume>15</volume>, no. <issue>1</issue>, <year>2022</year>, Art. no. 9. doi: <pub-id pub-id-type="doi">10.1007/s44196-022-00063-y</pub-id>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N.</given-names> <surname>Yuvaraj</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>Automatic detection of cyberbullying using multi-feature based artificial intelligence with deep decision tree classification</article-title>,&#x201D; <source>Comput. Electr. Eng.</source>, vol. <volume>92</volume>, no. <issue>6</issue>, <year>2021, Art. no. 107186</year>. doi: <pub-id pub-id-type="doi">10.1016/j.compeleceng.2021.107186</pub-id>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. T.</given-names> <surname>Hasan</surname></string-name>, <string-name><given-names>M. A. E.</given-names> <surname>Hossain</surname></string-name>, <string-name><given-names>M. S. H.</given-names> <surname>Mukta</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Akter</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Ahmed</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Islam</surname></string-name></person-group>, &#x201C;<article-title>A review on deep-learning-based cyberbullying detection</article-title>,&#x201D; <source>Fut. Internet</source>, vol. <volume>15</volume>, no. <issue>5</issue>, <year>2023, Art. no. 179</year>. doi: <pub-id pub-id-type="doi">10.3390/fi15050179</pub-id>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Qaiser</surname></string-name> and <string-name><given-names>R.</given-names> <surname>Ali</surname></string-name></person-group>, &#x201C;<article-title>Text mining: Use of TF-IDF to examine the relevance of words to documents</article-title>,&#x201D; <source>Int. J. Comput. Appl.</source>, vol. <volume>181</volume>, no. <issue>1</issue>, pp. <fpage>25</fpage>&#x2013;<lpage>29</lpage>, <year>Jul. 2018</year>. doi: <pub-id pub-id-type="doi">10.5120/ijca2018917395</pub-id>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Kim</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Seo</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Cho</surname></string-name>, and <string-name><given-names>P.</given-names> <surname>Kang</surname></string-name></person-group>, &#x201C;<article-title>Multi-co-training for document classification using various document representations: TF-IDF, LDA, and Doc2Vec</article-title>,&#x201D; <source>Inf. Sci.</source>, vol. <volume>477</volume>, pp. <fpage>15</fpage>&#x2013;<lpage>29</lpage>, <year>Mar. 2019</year>. doi: <pub-id pub-id-type="doi">10.1016/j.ins.2018.10.006</pub-id>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N.</given-names> <surname>Bacanin</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>Application of natural language processing and machine learning boosted with swarm intelligence for spam email filtering</article-title>,&#x201D; <source>Mathematics</source>, vol. <volume>10</volume>, no. <issue>22</issue>, <year>Nov. 2022, Art. no. 4173</year>. doi: <pub-id pub-id-type="doi">10.3390/math10224173</pub-id>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Devlin</surname></string-name>, <string-name><given-names>M. W.</given-names> <surname>Chang</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Lee</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Toutanova</surname></string-name></person-group>, &#x201C;<article-title>BERT: Pre-training of deep bidirectional transformers for language understanding</article-title>,&#x201D; in <conf-name>Proc. NAACL HLT, 2019 Conf. North Am. Chap. Ass. Computat. Linguist.: Human Lang. Technol.</conf-name>, <publisher-loc>Minneapolis, MN, USA</publisher-loc>, <year>Jun. 2&#x2013;7 2019</year>, vol. <volume>1</volume>, pp. <fpage>4171</fpage>&#x2013;<lpage>4186</lpage>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Minaee</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Kalchbrenner</surname></string-name>, <string-name><given-names>E.</given-names> <surname>Cambria</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Nikzad</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Chenaghlu</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Gao</surname></string-name></person-group>, &#x201C;<article-title>Deep learning&#x2013;based text classification</article-title>,&#x201D; <source>ACM Comput. Surv.</source>, vol. <volume>54</volume>, no. <issue>3</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>40</lpage>, <year>Apr. 2021</year>. doi: <pub-id pub-id-type="doi">10.1145/3439726</pub-id>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Podkorytov</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Bi&#x015B;</surname></string-name>, and <string-name><given-names>X.</given-names> <surname>Liu</surname></string-name></person-group>, &#x201C;<article-title>How can the [MASK] know? The sources and limitations of knowledge in BERT</article-title>,&#x201D; in <conf-name>2021 Int. Joint Conf. Neural Netw. (IJCNN)</conf-name>, <publisher-loc>Shenzhen, China</publisher-loc>, <year>2021</year>, pp. <fpage>1</fpage>&#x2013;<lpage>8</lpage>. doi: <pub-id pub-id-type="doi">10.1109/IJCNN52387.2021.9534299</pub-id>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X. S.</given-names> <surname>Yang</surname></string-name> and <string-name><given-names>X.</given-names> <surname>He</surname></string-name></person-group>, &#x201C;<article-title>Firefly algorithm: Recent advances and applications</article-title>,&#x201D; <source>Int. J. Swarm Intell.</source>, vol. <volume>1</volume>, no. <issue>1</issue>, <year>2013</year>. doi: <pub-id pub-id-type="doi">10.1504/IJSI.2013.055801</pub-id>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Tan</surname></string-name>, and <string-name><given-names>L.</given-names> <surname>Liu</surname></string-name></person-group>, &#x201C;<article-title>Particle swarm optimization algorithm: An overview</article-title>,&#x201D; <source>Soft Comput.</source>, vol. <volume>22</volume>, no. <issue>2</issue>, pp. <fpage>387</fpage>&#x2013;<lpage>408</lpage>, <year>Jan. 2017</year>. doi: <pub-id pub-id-type="doi">10.1007/s00500-016-2474-6</pub-id>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Mirjalili</surname></string-name> and <string-name><given-names>A.</given-names> <surname>Lewis</surname></string-name></person-group>, &#x201C;<article-title>The whale optimization algorithm</article-title>,&#x201D; <source>Adv. Eng. Softw.</source>, vol. <volume>95</volume>, no. <issue>12</issue>, pp. <fpage>51</fpage>&#x2013;<lpage>67</lpage>, <year>May 2016</year>. doi: <pub-id pub-id-type="doi">10.1016/j.advengsoft.2016.01.008</pub-id>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Dorigo</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Birattari</surname></string-name>, and <string-name><given-names>T.</given-names> <surname>Stutzle</surname></string-name></person-group>, &#x201C;<article-title>Ant colony optimization</article-title>,&#x201D; <source>IEEE Comput. Intell. Mag.</source>, vol. <volume>1</volume>, no. <issue>4</issue>, pp. <fpage>28</fpage>&#x2013;<lpage>39</lpage>, <year>Nov. 2006</year>. doi: <pub-id pub-id-type="doi">10.1109/MCI.2006.329691</pub-id>.</mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Karaboga</surname></string-name> and <string-name><given-names>B.</given-names> <surname>Basturk</surname></string-name></person-group>, &#x201C;<article-title>A powerful and efficient algorithm for numerical function optimization: Artificial Bee Colony (ABC) algorithm</article-title>,&#x201D; <source>J. Glob. Optim.</source>, vol. <volume>39</volume>, no. <issue>3</issue>, pp. <fpage>459</fpage>&#x2013;<lpage>471</lpage>, <year>Apr. 2007</year>. doi: <pub-id pub-id-type="doi">10.1007/s10898-007-9149-x</pub-id>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Mirjalili</surname></string-name></person-group>, &#x201C;<article-title>Genetic algorithm</article-title>,&#x201D; <source>Evolut. Algorithms Neural Netw.. Stud. Computat. Intell.</source>, vol. <volume>780</volume>, no. <issue>2</issue>, pp. <fpage>43</fpage>&#x2013;<lpage>55</lpage>, <year>Jun. 2018</year>. doi: <pub-id pub-id-type="doi">10.1007/978-3-319-93025-1_4</pub-id>.</mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Mirjalili</surname></string-name></person-group>, &#x201C;<article-title>SCA: A sine cosine algorithm for solving optimization problems</article-title>,&#x201D; <source>Knowl. Based Syst.</source>, vol. <volume>96</volume>, no. <issue>63</issue>, pp. <fpage>120</fpage>&#x2013;<lpage>133</lpage>, <year>2016</year>. doi: <pub-id pub-id-type="doi">10.1016/j.knosys.2015.12.022</pub-id>.</mixed-citation></ref>
<ref id="ref-31"><label>[31]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Bai</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>A sinh cosh optimizer</article-title>,&#x201D; <source>Know.-Based Syst.</source>, vol. <volume>282</volume>, no. <issue>1</issue>, <year>2023, Art. no. 111081</year>. doi: <pub-id pub-id-type="doi">10.1016/j.knosys.2023.111081</pub-id>.</mixed-citation></ref>
<ref id="ref-32"><label>[32]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Abualigah</surname></string-name>, <string-name><given-names>M. Abd</given-names> <surname>Elaziz</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Sumari</surname></string-name>, <string-name><given-names>Z. W.</given-names> <surname>Geem</surname></string-name>, and <string-name><given-names>A.</given-names> <surname>H. Gandomi</surname></string-name></person-group>, &#x201C;<article-title>Reptile search algorithm (RSA): A nature-inspired meta-heuristic optimizer</article-title>,&#x201D; <source>Expert. Syst. Appl.</source>, vol. <volume>191</volume>, no. <issue>11</issue>, <year>Apr. 2022, Art. no. 116158</year>. doi: <pub-id pub-id-type="doi">10.1016/j.eswa.2021.116158</pub-id>.</mixed-citation></ref>
</ref-list>
</back></article>