Abstract
Arabic-speaking populations face disproportionate cybersecurity risks due to the predominantly English-centric design of existing awareness materials, which fail to accommodate Arabic dialectal diversity, script complexity, and culturally embedded communication patterns. These deficiencies impair users’ ability to interpret phishing messages, authentication requests, and security alerts, increasing susceptibility to social engineering, identity theft, and data breaches. This paper presents SECURE-A2RC, a rubric-constrained, Arabic-aware large language model framework designed to deliver scalable, interpretable, and culturally relevant cybersecurity education. The framework comprises two coupled components. The first, the Arabic-Aware Secure Communication Encoder (A-SCE), employs an instruction-tuned LLM to produce multidimensional encodings that capture three learner competencies: security intent comprehension; linguistic deception cue recognition encompassing urgency, authority impersonation, and incentive framing; and action-critical translation fidelity across Arabic dialectal registers and Arabic–English bilingual contexts. The second, the Rubric-Constrained Adaptive Feedback Generator (RCAFG), translates A-SCE encodings into personalized, expert-aligned instructional feedback and proficiency-calibrated adaptive tasks, ensuring pedagogical consistency, security correctness, and dialect awareness throughout the learning cycle. The framework is evaluated on three domain-relevant corpora: the English–Arabic Parallel Phishing Email Corpus, the Open MalSec dataset, and the Arabic Spam and Ham Tweets dataset. SECURE-A2RC achieves a 31% improvement in phishing identification accuracy and a 26% reduction in action-critical translation errors compared to conventional awareness materials. A comparative evaluation against SERENA, a Multi-Agent LLM, and the Arabic Multitask Learning Model confirms consistent superiority across detection accuracy, F1-score, dialectal robustness, and educational effectiveness metrics, affirming rubric-constrained LLM integration as a viable approach to equitable multilingual cybersecurity education.
1. Introduction
Community cybersecurity knowledge is needed to prevent phishing, social engineering, identity theft, and data breaches [1]. Many educational materials and warning systems are in English, which presents linguistic and cultural challenges for non-English speakers. Arabic-speaking clients face dialectal variation, script complexity, and a shortage of cybersecurity experts [2]. These hurdles obscure OTP requests, phishing messages, permission letters, and platform security alarms [3]. Thus, users may misunderstand intent, ignore hazards, or take unsafe actions, leaving them exposed to cyberattacks. Thus, fair and successful cybersecurity education needs multilingual accessibility [4]. Beyond translation, cybersecurity communication must address cultural context, pragmatic language, and deceit. Digital Arabic communication mixes dialects, formal registers, and borrowed technical terminology, which affects the comprehension and action of security messages [5]. Literal translations miss action meaning, which is vital to the message, whereas sloppy paraphrasing may reduce warning urgency or trustworthiness [6]. Assailants use verbal ambiguity and emotional manipulation to lead learners to miss forceful or deceptive cues [7]. These concerns require cybersecurity teaching for Arabic-speaking learners of all levels that combines language intelligence, pedagogical skill, and dynamic feedback [8].
Recent Large Language Models (LLMs) provide intelligent teaching, automatic feedback, and personalized learning [9]. Educational LLMs may explain context, assess student reactions, and imitate real-world events [10]. Unstructured LLM findings in cybersecurity may be uneven, misleading, and pedagogically misaligned [11]. Automatic systems must evaluate language correctness, comprehension of security goals, and preservation of critical action meaning for language-based security training. In the absence of limits, AI-based feedback may not encourage security behavior or may mislead learners [12]. Principled rubric-guided learning links automated feedback to education objectives and domain safety criteria. Systems may assure consistency, interpretability, and pedagogical validity by using expert criteria to evaluate models and feedback [13]. Arabic cybersecurity education includes threat detection, translation integrity, pragmatic clarity, and recognition of manipulative language. Combining the boundaries of rubrics with the analysis and functionality of AI provides both adaptable practice and educational rigor, as well as alignment with security [14]. This synergy enables the scalable implementation of technically robust, educationally grounded training systems that address the limitations of purely data-driven or manually curated learning resources [15].
The SECURE-A2RC framework uses two basic algorithms: the RCAFG and A-SCE. Three characteristics of the learner response are adopted for analysis by A-SCE, using an instruction-tuned big language model: understanding of security intent, linguistic tokens of coercion/deception, and translation fidelity of action-critical content. While adhering to all pedagogical and security restrictions defined by Arabic-language and translation educators, RCAFG develops customized feedback and adaptive practice items. These elements work together to make Arabic-speaking students’ cybersecurity education that is scalable, interpretable, and culturally appropriate.
SECURE-A2RC is positioned as an integrated Arabic-aware cybersecurity literacy architecture rather than as a claim of individual methodological novelty for instruction-tuned LLM encoding, deception-cue detection, rubric-guided generation, multitask learning, or adaptive task selection. The technical contribution lies in the operational coupling of these established mechanisms to jointly represent security-intent comprehension, linguistic deception recognition, and action-critical bilingual translation fidelity within an interpretable competency representation, and subsequently transforming this representation into rubric-constrained, proficiency-calibrated instructional feedback. A-SCE preserves the three competency dimensions as explicitly separable outputs, comprising the security-intent probability distribution, cue-level deception representation, and action-critical translation-fidelity score, while RCAFG conditions feedback generation and task difficulty on these competency states through explicit rubric constraints. This coupling enables security interpretation and linguistic fidelity to be directly incorporated into the instructional response, rather than treated as independent classification outputs. The contribution is further isolated through controlled ablations in which the intent encoder, deception-cue module, translation-fidelity module, rubric constraints, and adaptive feedback mechanism are independently removed while maintaining identical datasets, preprocessing, model configuration, data partitions, random seeds, and evaluation conditions. The resulting performance differences quantify the individual and cumulative contribution of each component and establish whether the complete configuration provides measurable gains over its corresponding reduced variants.
The major contributions of the research are
- To propose SECURE-A2RC, a rubric-constrained, Arabic-aware cybersecurity education framework integrating LLM-based encoding and adaptive feedback mechanisms.
- To design an A-SCE for evaluating security intent comprehension, deception cues, and action-critical translation fidelity across Arabic dialects.
- To develop RCAFG for generating personalized, pedagogically aligned feedback under expert-defined linguistic and cybersecurity constraints.
- To demonstrate improved phishing detection accuracy and reduced translation errors through controlled multilingual learner studies.
- To establish fairness and learning effectiveness across Arabic proficiency levels, dialects, and bilingual learning contexts.
The rest of this paper is structured as follows: Section 2 surveys related work on cybersecurity education, Arabic NLP, and AI-driven tutoring systems. Section 3 presents the methodology, and Section 4 presents the datasets and experimental setup. The findings are presented in Section 5 and discussed in Section 6. Section 7 discusses the limitations and implications, and Section 8 concludes the paper and outlines suggested directions for future research.
2. Related Works
Besdouri et al. [16] reviewed Arabic automated speech recognition and noted dialectal heterogeneity, data scarcity, and resilience. The research showed the merits of deep learning and transfer learning, but it also showed the challenges of spontaneous speech and mixed registers that remain. It was silent on the semantics of cybersecurity, cues of deception, and educational implementation, and, as such, minimal in research on secure communication training. The research project SERENA was proposed by Kim et al. [17] and is an AI-based forensic assistant for analyzing messages between applications and people. The system isolated, reassembled, and put suspicious information into context, making forensics more effective and threats more comparable.
Nevertheless, SERENA was not created for training learners or Arabic language processing, and it provided pedagogically limited feedback; therefore, it is only applicable within cybersecurity education models. Yang et al. [18] proposed a multi-agent-based LLM framework to classify the severity of a complaint event under scene uncertainty via probabilistic reasoning. The model demonstrated greater robustness and Accuracy in severity estimates by matching several LLM agents and modeling uncertainty directly. Nevertheless, the framework is based on event categorization rather than on user education practices, and it lacks adaptive responses to instructions, multilingual communication issues, and analysis of security-relevant language cues. Bahmanova and Lace [19] studied the concept of collaborative cyber resilience in SMEs through open innovation models. The analysis found organizational, technological, and cultural drivers increasing common cybersecurity preparedness. Although it provided strategic considerations, it failed to address education at the individual level, language access, and learner modeling. The lack of an AI-based response restricts the applicability of user-based training in cybersecurity. Haraty and Chehade [20] used multilingual deep learning models to learn sentiment analysis from datasets of the Lebanese dialect via transfer learning. Their method improved low-resource dialect categorization. However, the study primarily addressed sentiment classification, excluding security intent detection, translation fidelity, and educational feedback, limiting its applicability to cybersecurity communication and adaptive learning.
Banou et al. [21] developed a multi-layer ontology for Arabic language processing in the context of figurative language interpretation. The framework enhanced knowledge extraction and semantic representation of Arabic. Nevertheless, it lacked the semantics of cybersecurity, deception modeling, and learner assessment. Its lack of pedagogical and adaptive feedback restricts its application to secure communication education. Selvaraj et al. [22] proposed an optimizer-based visual analytics system that uses deep learning to identify targets with autonomous UAVs. The model improved detection performance and real-time performance in a complex environment. Despite its methodological strength, the study was not language-focused and did not address cybersecurity education, linguistic understanding, or feedback production, which limited its usefulness for learner-centered cybersecurity models. This conceptualization of code-switching and translanguaging as forms of language management in the dynamic model of multilingualism was developed by Jessner et al. [23]. The article offered the theoretical background of multilingual communication and cognitive flexibility.
Nevertheless, it has not discussed safety-critical translation, the semantics of cybersecurity, or the automated appraisal of action-critical information, thereby restricting its usefulness to secure communication systems. Abdulla et al. [24] evaluated students’ and lecturers’ social engineering awareness, identifying gaps in threat perception and security behavior. The research showed a need to increase cybersecurity training. Nevertheless, it was based on a survey analysis, did not propose adaptive learning tools or linguistic accessibility strategies, and did not offer AI-driven feedback; it was therefore more descriptive than solution-oriented. Eldakhly et al. [25] proposed a hybrid machine-learning method for Arabic Twitter sentiment analysis. Technology improved emotion classification and context. Deception modeling, cybersecurity intent detection, and translation fidelity assessment were absent. Educational cybersecurity without pedagogy is pointless.
Abdelsamie et al. created a hate speech detection Arabic dialect multitask learning model [26]. The suggested approach improved categorization by learning similar and species-specific representations. It adapted well to languages but favored harsh language over safe communication. Since it was for cybersecurity education, action-critical translation, phishing semantics, and learner feedback were excluded. Aslam et al. [27] examined industrial IoT and smart industry social engineering attacks and proposed prevention measures. The study stressed proactive security and the changing threat environment. Although it offered a good insight into threat modeling, it was silent on end-user training, language sensitivity, and an adaptive learning environment. It still focused on infrastructure-level security rather than human-based training.
Al-Monef et al. [28] compared the linguistic and cultural competitive power of LLMs trained on Saudi dialects against the Absher benchmark. The findings showed significant weaknesses in managing dialectal specifics and expressions within a culture. Despite the study’s weaknesses, which revealed flaws in Arabic processing by an LLM, it did not address semantics in translation or pedagogical feedback. Its results, however, provide a reason why Arabic-conscious, secure communication models are warranted. MECOS was proposed by Singh et al. [29] as a bilingual Manipuri–English corpus of spontaneous code-switched speech for an automatic speech recognition system. The dataset was used to support the research on multilingual speech modeling and cross-lingual adaptation. Although MECOS permitted processing in two languages, it was not intended for safety-critical translation, cybersecurity communication, or educational feedback. Its area is still focused on speech recognition rather than on learning secure digital communication.
Alghuried and Mohaisen [30] investigate learning-based Ethereum phishing transaction detection and identify important methodological considerations related to feature construction, class imbalance, robustness, and optimization, highlighting the need for controlled, distribution-aware evaluation in phishing detection. Wang et al. [31] provide a contemporary survey of LLM-assisted program analysis and organize existing approaches across static, dynamic, and hybrid analysis, demonstrating the growing applicability of LLMs to automated security reasoning and program-level analysis. Kharma et al. [32] conduct a multilingual and multi-model investigation of LLM-generated code and demonstrate that security and quality characteristics vary across programming languages and model families, underscoring the importance of systematic security evaluation of LLM outputs. Zhou et al. [33] examine backdoor threats in LLMs, covering attack mechanisms, defense strategies, and evaluation methodologies, thereby emphasizing robustness against manipulated model behavior.
Key gaps remain in cybersecurity awareness and Arabic NLP despite advances. Static material, minimal changes in phishing awareness, and no adaptive feedback or language aids are used in current awareness tactics [18,24]. Forensic and analytical techniques, such as SERENA, extract communications rather than teach or provide feedback, which is constrained by pedagogical variables [17]. Arabic NLP literature covers dialect variation, sentiment analysis, and metaphorical language using transfer and multitask learning [16,17,18,19,20,21,22,23,24,25,26]. They do not define cybersecurity intent, false signals, or action-critical translation accuracy. Multilingual and code-switching research provides theoretical and corpus-level foundations [23,29], but safety-critical translation is not examined. LLMs also struggle with Arabic accents and cultural nuances [28]. Many techniques fail to replicate Arabic deceptive terms, such as “ربحت جائزة” (you received a reward), which are prominent in casual phishing emails.
There is no existing framework that combines Arabic-sensitive encoding and rubric-based adaptive feedback for cybersecurity education. An integrated solution, consistent with the SECURE-A2RC framework, has been implemented to address these constraints. This framework was presented to address these limitations. Two of the ingredients that comprise this state-of-the-art technology are the Arabic-aware secure communication encoding and the rubric-constrained adaptive feedback. The framework provides a solution that is not only interpretable but also adaptable and pedagogically fundamental. Because of this, it is appropriate to provide culturally appropriate cybersecurity education across all Arabic dialects and at all levels of experience. To achieve this purpose, it is necessary to engage in the imitation of cybersecurity intentions, the production of false linguistic signals, and the simultaneous maintenance of action-critical translation fidelity. This is because it’s necessary to achieve this goal. Using this framework, it is possible to get around the limitations imposed by the currently used approaches.
3. Methods and Methodology
The SECURE-A2RC system offers a scalable approach to cybersecurity training that removes language and cultural barriers that can influence the perception of security-related information delivered to Arabic-speaking users digitally. This model transcends the classical knowledge of security-related information by translating it. This is achieved through a process that prioritizes language modeling of security intent, deception detection in linguistic communication, and fidelity in text translation across multiple Arabic dialects, in both Arabic and English. This is done through a framework that includes an A-SCE component, anchored in a language model and trained to provide information about students’ security intent, detect deception in language exchange, and ensure faithfulness in text translation, and an RCA-FG component that offers a combination of linguistic and security-based pedagogy. The proposed framework can better deliver culturally sensitive cybersecurity education by leveraging data on phishing and malicious communication. The proposed SECURE-A2RC architecture is presented in Figure 1.
Figure 1.
Overall architecture and information flow of the proposed SECURE-A2RC framework, comprising A-SCE-based competency encoding and RCAFG-based rubric-constrained adaptive feedback generation.
Multi-source cybersecurity datasets are batched and preprocessed to create scenario-based learning tasks. Learner responses are then processed by the A-SCE, which is based on model-logic representations of security intent comprehension, linguistic deception detection, and the faithfulness of critical-action translation. The interpretable encodings provide the input to the RCAFG, which generates pedagogically consistent feedback and evocative sets of questions under the security constraints that the experts know. The loop of learning can be used iteratively to progressively narrow down bias across Arabic dialects and proficiency levels.
3.1. Problem Formulation
The main problem addressed in this work is the absence of linguistically grounded, pedagogically consistent, and security-safe mechanisms to properly educate Arabic-speaking users to interpret, translate, and respond correctly to cybersecurity communications. Formally, given a set of security-related messages , each expressed in Arabic, English, or bilingual and containing messages of several dialects, each message is associated with a security intent label (legitimate or malicious) and a set of action-critical elements (e.g., OTPs, URLs, deadlines). Learners generate responses , classification, explanation, translation, or reply, which not only have to be checked for correctness, but also have to preserve safety. The objective is to learn an interpretable encoding , where measures security intent comprehension from the LLM embedding , quantifies awareness of deception cues with pedagogical weights , and evaluates action-critical translation fidelity. Based on this encoding, the system must generate feedback. by minimizing a rubric-constrained objective , where are rubric-specific losses, denotes security risk, and is the maximum allowable Risk. The formulation ensures accurate threat recognition, safe translation, and adaptive learning under dialectal and proficiency variability.
3.2. Data Collection and Preprocessing
The SECURE-A2RC model is grounded in a language-diverse, threat-relevant corpus that reflects the real trends in cybersecurity discourse experienced by Arabic-speaking users. Training and assessment are performed on three complementary real-world datasets: the English–Arabic Phishing Email Corpus, Open-MalSec, and Arabic Security and Communication. These sites handle multilingual phishing, harmful security, and Arabic cybersecurity communications. To achieve language variety, cultural relevance, and threat realism, the SECURE-A2RC architecture incorporates real-world cybersecurity datasets with bilingual and Arabic sovereign security messaging.
Formally, the complete corpus is defined as where denotes the English–Arabic Phishing Email Corpus containing parallel phishing and legitimate messages for bilingual comprehension and translation analysis, represents the Open-MalSec dataset comprising authentic malicious security alerts, coercive prompts, and deceptive instructions, and corresponds to Arabic cybersecurity awareness materials and user interaction samples spanning multiple Arabic dialects. Each instance of data in the data set D is first represented as raw textual content in language or dialect , with some labels supplied by the source, if available.
All collected texts are unified in a single preprocessing and annotation pipeline that standardizes the representation of linguistic information while preserving security-critical semantics before further modeling. Let be the preprocessing operator for each raw text instance: or , where is the operation to de-noise the text, such as the removal of HTML tags, encoding-related artifacts, and irrelevant symbols; is the operation to conduct a language-aware segmentation process for both Arabic and English languages without suppressing security-sensitive tokens (e.g., OTPs, URLs). After normalization, each processed instance is annotated as in Equation (1).
where denotes the -th scenario instance, denotes its normalized textual content, denotes the security-intent label, denotes the set of action-critical elements, and denotes the associated deception-related information. The same symbols are retained throughout the subsequent formulations unless a symbol represents a distinct derived quantity. denotes the security intent label (legitimate or malicious), represents extracted action-critical elements such as credential requests or hyperlinks, and encodes dialectal or translation variability across Arabic dialects and Arabic–English pairs.
3.3. Scenario-Based Task Generation
This part realizes the curated cybersecurity corpora through pedagogically based, security-relevant learning activities. It aims to convert real malicious and legitimate messages into guided drills that assess and strengthen (i) threat recognition, (ii) understanding security intent, (iii) translation fidelity, and (iv) formation of safe responses. There is ecological validation (i.e., each task instance is specifically anchored to a real attack scenario, e.g., OTP fraud, consent manipulation, or fake service alerts).
The A-SCE representation is consistently defined as a structured vector comprising the semantic representation , security-intent probability vector , deception-cue vector , and scalar action-critical translation-fidelity score . The inferred security intent is obtained as the maximum-posterior class . The categorical intent and the complete probability vector are subsequently supplied to RCAFG for the generation of rubric-conditioned feedback. Deception is represented exclusively by the cue-level vector , with each element corresponding to a predefined deception dimension. Action-critical translation fidelity is computed independently at the aligned instruction-unit level and aggregated into a scalar score.
Formal Definition of Scenario-Based Task Generation: Let the unified, preprocessed corpus from Stage 1 be where denotes the normalized textual instance (Arabic, English, or bilingual), is the security intent label (0 = legitimate, 1 = malicious), represents extracted action-critical elements (e.g., OTPs, URLs, consent requests), encodes the language or dialect metadata. Scenario-based task generation is defined as a transformation operator and is the set of learner-facing tasks. For each data instance , a bundle of task variants is generated as in Equation (2).
Phishing Identification Task Formulation: For phishing detection, each instance is treated as a binary classification problem. Here, denotes the task-generation operator that maps the preprocessed dataset to the task set , where and denote phishing-identification, secure-message-comprehension, Arabic–English translation, and safe-response-writing tasks, respectively. where is the learner’s predicted intent. The correctness of the response is evaluated as with denoting the indicator function, .
Secure Message Comprehension Task: To assess understanding of security intent and action-critical meaning, a comprehension task is generated: where is the learner’s explanation or intent summary. Let be the reference semantic intent representation derived from expert annotation or A-SCE encoding. The comprehension fidelity score is computed as where is the embedding function of the Arabic-Aware Secure Communication Encoder (A-SCE), and denotes cosine similarity. This task enforces recognition of coercive intent (e.g., “verify now or your account will be suspended”) and differentiates legitimate service notices from manipulative prompts.
Arabic ↔ English Translation Task: For bilingual and translation learners, each security-critical message is converted into a translation task: where is the source language (Arabic or English), is the target language, is the learner-produced translation. Let be the reference translation. Action-critical fidelity is evaluated as in Equation (3).
where measures surface-level translation similarity, (Action-Critical Recall) measures the preservation of elements in (e.g., OTP tokens, URLs, deadlines), are weighting parameters with .
Safe Response Writing Task: To train secure behavioral responses, learners are asked to generate a reply to a suspicious or ambiguous message. where is the learner’s written response. Let denote an expert-defined safe response template. The safety and pedagogical alignment score is defined as where is the A-SCE embedding, penalizes unsafe actions (e.g., sharing OTPs, clicking links), balance pedagogical similarity and security risk. This task reinforces correct user behavior, such as refusing to share credentials, verifying the sender’s identity, and reporting phishing attempts.
Scenario Grounding and Task Consistency: Each task bundle is explicitly anchored to a real attack scenario class : The grounding constraint ensures semantic coherence across task types: In cyber threat narratives, identification, comprehension, translation, and response-writing are common tasks. SECURE-A2RC integrates attack security intent into task generation, enhancing learners’ language accuracy, threat awareness, and secure behavior. The multitask architecture and rubric-based loss functions provide the groundwork for adaptive feedback in succeeding phases, meeting the pedagogical and security needs of mass Arabic cybersecurity instruction.
3.4. Arabic-Aware Secure Communication Encoding (A-SCE)
The A-SCE is the main analytical component of SECURE-A2RC, converting learner responses into an interpretable representation of cybersecurity communication competence. Unlike traditional scoring systems, which produce opaque predictions, A-SCE uses an instruction-tuned Arabic-aware LLM with Arabic-aware encoding strategies that directly encode semantic understanding, misleading lingo awareness, and translation accuracy when it matters. Let represent a scenario-based task and the learner response. The encoding in A-SCE is a multidimensional encoding calculated as in Equation (4).
where denotes the semantic representation derived from the learner response, denotes the security-intent probability vector, denotes the deception-cue vector, and denotes the scalar action-critical translation-fidelity score. These four components constitute the interpretable A-SCE competency representation supplied to RCAFG.
Table 1 presents examples of Arabic phrases typical of the Arabic Spam and Ham Tweets data, along with their respective deception themes and contexts of use. The given examples demonstrate how informal and dialectal Arabic forms of speech code social engineering tricks such as urgency, incentive, and authority masquerade, as well as le-gitimate communications related to security.
Table 1.
Common Arabic cybersecurity phrases and associated deception categories.
Security Intent Comprehension Encoding: Security intent comprehension evaluates whether a learner correctly distinguishes between malicious and legitimate communications. Let denotes the ground-truth security intent associated with the task , and refers to the intent inferred from the learner response via the instruction-tuned LLM. The comprehension score is defined as in Equation (5).
where is the LLM-derived semantic representation focusing on intent reasoning, and are learnable parameters, and denotes the sigmoid function. This formulation yields a continuous measure of intent comprehension rather than a binary decision.
Linguistic Deception and Coercion Encoding: To capture awareness of social-engineering tactics, A-SCE explicitly models linguistic deception cues embedded in learner responses. Deception cues include urgency (الاستعجال), authority impersonation (انتحال الصفة), and incentive framing (الإغراء), which are explicitly detected in learner responses. Let denote a predefined set of deception indicators, including urgency expressions, authority impersonation, fear-inducing language, and coercive phrasing. The deception awareness score is computed as in Equation (6).
where is an indicator function that indicates the presence of a cue, denoted as a , is the importance weight pedagogically assigned to the cue, and “Attn”(⋅) is the attention score from the LLM, which means the learner’s explicit recognition or explanation of the cue.
Translation Fidelity of Action-Critical Content: This is to determine the Accuracy of the security-critical instructions being preserved across Arabic dialects and Arabic–English translations. Let be the set of action-critical units (e.g., ‘do not share OTP’) and their translated or paraphrased versions in the learner response. Fidelity is defined as given by Equation (7).
where is a semantic embedding function that is aware of Arabic, and a cosine-based similarity measure. This formulation has the benefit of ensuring that mistranslations or omissions of security-critical instructions are explicitly penalized, regardless of dialectal variation. The architecture of the A-SCE is shown in Figure 2. Learner responses from scenario-based cybersecurity tasks are first converted into semantic representations focused on security using an instruction-tuned, Arabic-aware LLM.
Figure 2.
Operational structure of the Arabic-Aware Secure Communication Encoder (A-SCE) for decomposing learner responses into security-intent probabilities, deception-cue representations, and action-critical translation-fidelity scores.
The resulting encoding vector provides a transparent and pedagogically interpretable representation. These dimensions are linked to different cybersecurity competencies, so specific feedback and subsequent training can be provided at the next level. A-SCE explicitly decomposes learners’ responses into understanding intent, being aware of deception, and being culturally faithful in translation, and avoids opaque end-to-end scoring, making culturally aware cybersecurity education explainable. Such an encoded formulation serves as the basis for producing rubric-constrained feedback and for maintaining equity across Arabic dialects and proficiency levels.
Algorithm 1 processes the learner response using an instruction-tuned Arabic-aware language model to generate an interpretable competency representation. It represents an understanding of security intent, knowledge of linguistic signs of deception, and translation faithfulness of action-critical information across Arabic dialects and Arabic–English dyads, and so allows easy, fine-grained evaluation rather than opaque end-to-end scoring. Table 2 illustrates the operational A-SCE representation. The intent-comprehension score represents the security-intent component and the probability vector , deception is represented by the cue-level vector , and action-critical translation fidelity is represented by .
| Algorithm 1: Arabic-Aware Secure Communication Encoding (A-SCE) |
| Input: Scenario task , learner response , action-critical unit set , deception-cue set , instruction-tuned Arabic-aware Output: Interpretable competency encoding
|
Table 2.
A-SCE: Input–feature–output mapping for representative dataset instances.
Table 2 illustrates how the A-SCE transforms raw cybersecurity messages into complete, interpretable feature vectors . Here, denotes cosine-based alignment with the gold malicious or legitimate intent, represents activation strengths of deception cues (e.g., urgency, authority, incentive), and measures action-critical translation fidelity via semantic similarity and recall of extracted elements . These rubric-aligned parameters provide transparent, dataset-grounded representations that serve as structured input to the Rubric-Constrained Adaptive Feedback Generator (RCAFG).
3.5. Rubric-Constrained Adaptive Feedback Generator (RCAFG)
The RCAFG converts the learner-encodable news generated by A-SCE into adaptive practice assignments and security-sensitive targeted feedback messages. In contrast to the freely generated LLM feedback, the RCAFG implements pedagogical and cybersecurity controls established by experts to ensure linguistic and security Accuracy and educational conformity to the objectives of reading, writing, and translation. Let the structured A-SCE output for learner be and the expert-defined rubric set be where encodes Arabic linguistic clarity and dialect awareness, encodes translation fidelity and semantic preservation, encodes cybersecurity safety and behavioral correctness.
RCAFG generates feedback text using an instruction-tuned LLM under explicit rubric constraints, where, is the constrained feedback generation function, is the constraint set enforcing pedagogical and security rules. The constraint satisfaction objective is defined as in Equation (8).
where is the A-SCE embedding function, weight the rubric dimensions, measures unsafe advice or insecure recommendations, is the maximum permissible security risk threshold. This formulation guarantees that generated feedback cannot violate linguistic, translational, or cybersecurity correctness criteria. For example, feedback may explicitly explain that the phrase “سيتم إيقاف حسابك خلال ساعات” indicates that it is an urgency-based phishing attempt.
To generate targeted explanations of learner mistakes, RCAFG computes deviation scores for each pedagogical dimension. The explanation priority vector is then shown in Equation (9).
where is the expert-assigned importance of the deception cue , is the activation of the cue . RCAFG selects the dominant error dimension, and conditions the feedback generation on this dominant deficiency: This ensures that feedback focuses on the learner’s most critical misunderstanding (e.g., misinterpreting malicious intent or omitting an OTP warning). To explicitly surface deception and coercion signals that the learner overlooks, RCAFG computes a set of missed cues. where is the detection threshold for the cue . The cue-highlighting feedback component is then, This derived component produces dialect-aware explanations such as: “The phrase ‘verify now’ is an urgency cue commonly used in phishing to pressure users into acting without verification.” The RCAFG workflow is illustrated in Figure 3. To diagnose overall learning deficiencies, interpretable learner encodings generated by A-SCE are assessed against linguistic, translational, and cybersecurity safety rubrics defined by experts. Constraint-based optimization is used to generate feedback by imposing pedagogical correctness and security risk levels, and by avoiding unsafe guidance.
Figure 3.
RCAFG: Constraint-aware adaptive feedback generation using rubric-aligned error diagnosis and proficiency estimation.
RCAFG generates follow-up tasks matched to learner proficiency. Let the learner’s proficiency level be where represent the weights for comprehension, translation, and deception detection, respectively, and . The task difficulty level is then assigned as in Equation (10).
where are proficiency thresholds. The adaptive practice task is generated as This ensures that weaker learners receive simplified phishing scenarios and clearer dialect-aware explanations, while advanced learners receive more subtle, realistic attack simulations.
The final output bundle of RCAFG is where is the targeted explanation of mistakes, highlights missed security cues, is the adaptive follow-up practice item. This segment captures the process of feedback generation as a rubric-constrained optimization over understandable encodings of the learner. RCAFG ensures that all feedback is dialect-conscious, pedagogically consistent, and security-correct by reducing linguistic, translational, and cybersecurity losses. Error prioritization, cue highlighting, and task generation based on proficiency are based on multi-line, derived formulations. This ethical combination of complex rubrics with limited LLM generation will convert A-SCE representations into a practical, transparent, culture-based cybersecurity tutoring intervention to support scaled Arabic cybersecurity education.
The implementation of the rubric-constrained feedback-generation algorithm (Algorithm 2) converts interpretable A-SCE features into individualized, security-consistent tutoring actions. It identifies errors in intent comprehension, deception identification, and the fidelity of the learner’s translation, selects the most significant failures, and produces specific, dialect-sensitive suggestions within the limits of the pedagogical and cybersecurity goals established by experts. The algorithm clearly identifies security anomalies and approximates learners’ proficiency levels to generate adaptive follow-up assignments at the appropriate level of competence, ensuring linguistic clarity, security accuracy, and educational coherence.
| Algorithm 2: Rubric-Constrained Adaptive Feedback Generator (RCAFG) |
| Input: Output: Begin 1: 2: 3: 4: 5: 6: for do 7: 8: end for 9: 10: 11: 12: if then 13: 14: else if then 15: 16: else 17: 18: end if 19: 20: 21: for do 22: if then 23: 24: end if 25: end for 26: 27: for each do 28: 29: 30: end for 31: 32: for do 33: 34: end for 35: 36: if then 37: 38: else if then 39: 40: else 41: 42: end if 43: 44: 45: 46: return End |
Table 3 demonstrates the operational behavior of the Rubric-Constrained Adaptive Feedback Generator (RCAFG) by mapping A-SCE feature vectors. to pedagogically grounded outputs. The dominant error type is identified via maximal deviation from rubric targets, while expert-defined constraints regulate feedback generation. Targeted feedback is compressed into interpretable micro-phrases reflecting key learner deficiencies. The learner proficiency estimate is computed from weighted feature improvements, and the subsequent adaptive task is selected to maximize remediation under security, linguistic, and educational constraints.
Table 3.
RCAFG: Feature–feedback–task mapping with concise feedback.
3.6. Iterative Learning and Adaptation
This section completes the pedagogical cycle of SECURE-A2RC by enhancing the learner through recurring exposure to adaptive tasks generated by RCAFG. It aims to gradually increase the Accuracy of phishing detection, minimize error rates in action-critical translation, and improve sensitivity to deceptive linguistic cues, while maintaining fairness across Arabic dialects and among learners with different levels of proficiency. After the learner completes the RCAFG-generated task and receives feedback , the updated learner state is computed as where is the learning gain function mapping feedback and task difficulty into measurable feature improvements. The overall learner improvement trajectory is defined as in Equation (11).
where weight intent comprehension, translation fidelity, and deception awareness, is the importance of the deception cue . is the activation of the cue at iteration , is the deception-awareness learning rate, is the set of cues missed at iteration . Task difficulty is updated based on learner growth and is shown in Equation (12).
where are performance thresholds. The next RCAFG task is then The derived improvement gain between iterations is Fairness across Arabic dialects and proficiency levels is enforced via a regularizer , ensuring equitable learning gains. Together, these equations formalize a closed-loop, adaptive tutoring process that progressively improves phishing detection, translation fidelity, and awareness of deceptive linguistic patterns. This section presents iterative learning as a formal, closed-loop, multidimensional update process over interpretable encodings of learners. Advances in phishing detection, translation fidelity, and deception awareness are described by dynamical limited-rate learning with diminishing returns. Derived fairness regularization will provide equity in the enhancement of Arabic dialects and proficiency levels.
4. Dataset and Experimental Setup
4.1. Dataset Explanations
The English–Arabic Parallel Phishing Email Corpus [34] includes public phishing archives’ English and Arabic phishing and real emails. Security intent recognition, translation fidelity, and action-critical material comprehension are assessed utilizing this two-language resource. Phishing signals can be recognized without altering cross-lingual consistency thanks to the main source of A-SCE training. Phishing terms like “سيتم إيقاف حسابك خلال 24 ساعة” (Account suspension within 24 h) and “لا تشارك رمز التحقق” (Do not divulge the verification code) are found in the English–Arabic Phishing Email Corpus. For security purposes, deception cue awareness, and action-critical fidelity, Arabic and English translations are comparable. Open MalSec investigates phishing, fraud, social engineering, and other forms of hostile communication [35]. Both entries include organized instruction, input, and output sections for categorization and generative learning. By introducing additional fake language patterns, these data assist A-SCE in identifying subtle manipulation, coercion, and malicious intent, as well as phishing. The RCAFG and Open MalSec provide contextually enriched practice items to help students identify cyber threats in written contact. Arabic Spam and Ham Tweets [36] includes colloquial and dialectal phrases in spam and valid tweets. It helps enhance A-SCE dialects so the model can recognize colloquial and regional signals. Spam tweets include colloquial and dialectal terms like “ربحت جائزة اضغط هنا” (You got a prize—click here) and “سيتم إيقاف حسابك خلال ساعات” (Your account will be suspended within hours), which use urgency- and incentive-based language. In contrast, ham tweets contain neutral announcements such as “تنبيه أمني من الشركة” (Security notice from the company) and “تم تحديث سياسة الخصوصية” (Privacy policy updated). Moreover, the relevant social media content in this dataset can complement conventional email phishing samples, as RCAFG fruitfully produces practice items that involve a more realistic, informal communication scenario.
4.2. Experimental Setup
The SECURE-A2RC framework is experimentally evaluated using three datasets: the English–Arabic Parallel Phishing Email Corpus for bilingual phishing detection and translation fidelity analysis; the Open MalSec dataset, comprising diverse cyber deception instances; and the Arabic Spam and Ham Tweets dataset, representing dialectal and informal Arabic communication. Preprocessing of the datasets is performed to isolate security-critical text segments, action phrases, and deceptive cues. A-SCE is trained with instruction-tuned LLM embeddings and multitask learning to learn about the security intent, indicators of deception, and fidelity to cross-lingual translation. RCAFG module creates adaptive feedback and customized practice items and implements pedagogical and security constraints on both formal and dialectal input.
The experiments were performed on a workstation with an NVIDIA RTX 4090 graphics card, 64 GB of RAM, and an Intel i9 processor, running Ubuntu 22.04 LTS. Python 3.10, PyTorch 2.1, Hugging Face Transformers, and TensorFlow 2.12 software environments were used, as well as NLP preprocessors: Python NLTK/SpaCy. Task-Compatible Baseline Configuration. To ensure a methodologically aligned comparison, three published task-compatible baselines are incorporated, each aligned with the functional capabilities addressed by SECURE-A2RC. Hindi and Alhayan [37] are included for Arabic phishing email detection, Malloy et al. [38] for LLM-based anti-phishing training and feedback, and Mahdy et al. [39] for bilingual English–Arabic phishing email detection. Each baseline is evaluated only on the task dimension addressed by its original methodology. The same preprocessing, dataset partitioning, computational settings, evaluation protocol, and applicable performance metrics are maintained for directly comparable experiments. SERENA [17], Multi-Agent LLM [18], and Arabic MTL [26] are retained as cross-domain reference methods for their applicable detection and language-processing capabilities and are not used as direct baselines for pedagogical clarity, adaptive feedback, or post-feedback outcomes.
4.2.1. Implementation and Reproducibility
The SECURE-A2RC framework is implemented using Qwen2.5-7B-Instruct with 7 billion parameters and its native multilingual tokenizer, configured with a maximum sequence length of 512 tokens, padding to batch length, and truncation for sequences exceeding the maximum length. A-SCE is fine-tuned using LoRA-based parameter-efficient adaptation with rank , scaling factor , dropout of 0.05, AdamW optimization, learning rate weight decay of 0.01, batch size of 8, gradient accumulation of 4, three training epochs, and a 10% linear warm-up ratio. The English–Arabic Parallel Phishing Email Corpus, Open MalSec dataset, and Arabic Spam and Ham Tweets dataset are independently split into 70% training, 15% validation, and 15% test subsets using stratified sampling with random seed 42, with duplicate instances assigned to a single partition.
4.2.2. Operational Representation Extraction
For each input sequence, the final transformer hidden states are extracted, and mean pooling over non-padding tokens produces the semantic embedding . Attention tensors are extracted from the upper transformer layers and aggregated across layers and heads to obtain normalized token-level attention distributions, which are subsequently mapped to the rubric dimensions of urgency, authority impersonation, incentive framing, and contextual deception. Security-intent probabilities are obtained through a calibrated classification projection applied to the pooled representation, , producing probabilities for benign/informational, suspicious/deceptive, and action-critical phishing intents. The resulting semantic, attention-derived, intent, and translation-fidelity representations form the A-SCE competency vector supplied to RCAFG through a rubric-conditioned instruction template. RCAFG incorporates the identified competency level, deception-cue evidence, translation-fidelity score, and security-error category into the generation prompt to produce proficiency-calibrated feedback and adaptive learning tasks. The complete implementation uses Python 3.10, PyTorch 2.1, Hugging Face Transformers, and TensorFlow 2.12 on an NVIDIA RTX 4090 GPU with 64 GB RAM and an Intel i9 processor under Ubuntu 22.04 LTS. At the same time, identical preprocessing, model configuration, dataset partitioning, random seed, representation extraction, and evaluation procedures are maintained across all three datasets to ensure consistent experimental reproducibility.
5. Result Analysis
5.1. Detection Accuracy
The results for detection accuracy across datasets, language/dialect, deception-complexity, and predefined-proficiency conditions are displayed in Figure 4. The detection accuracy is computed as expected: the number of messages classified as malware divided by the number classified as non-malware, both divided by the number of messages evaluated. The results are presented consistently under the defined evaluation conditions to determine whether performance remains consistent across scenarios and language variations. A-SCE uses separate security-intent and deception-cue information for the downstream feedback pathway, and, while still using rubric-based feedback, the science research group also incorporates rubric-constrained feedback (RCAFG).
Figure 4.
Detection-accuracy performance of SECURE-A2RC across (a) datasets, (b) language and dialect conditions, (c) deception-complexity levels, and (d) predefined proficiency configurations.
The instructional effectiveness of SECURE-A2RC is evaluated through a controlled simulation protocol rather than a human-subject intervention. Synthetic learner profiles are initialized at four rubric-defined proficiency levels—Novice, Developing, Proficient, and Advanced—and are exposed to standardized cybersecurity scenarios covering phishing intent comprehension, deception cue recognition, Arabic–English action-critical translation, and dialectal interpretation. Each simulated learner profile receives an identical task set before and after the feedback-generation stage, while RCAFG generates proficiency-conditioned feedback according to the corresponding rubric dimensions. Pre-feedback and simulated post-feedback competency scores are computed using the same assessment criteria, and the relative improvement in intent comprehension, deception recognition, translation fidelity, and task completion is used as the learning-effectiveness indicator. The simulation maintains identical task distributions, initial proficiency assignments, evaluation rubrics, and random seeds across all experimental configurations, including LLM-only feedback, fixed-rubric-constrained feedback, and the complete SECURE-A2RC framework.
There were no humans involved in this evaluation, so participant recruitment, demographic characteristics, group assignment, intervention length, informed consent, and Institutional Review Board (IRB) approval are not applicable. The reported pre- and simulated post-changes should not be understood as evidence of human empirical learning or the effectiveness of the education; they are based solely on the proficiencies defined in the calculations.
Figure 4 illustrates the detection accuracy performance of the proposed SECURE-A2RC framework across multiple evaluation dimensions: (a) datasets, (b) language and dialect variations, (c) deception complexity levels, and (d) learner groups. DA is computed as where and denote correctly identified malicious and legitimate messages, while and represent misclassifications. The improved Accuracy observed across all subfigures is directly attributed to the A-SCE, which models security intent comprehension using the sigmoid-based formulation, and deception awareness through weighted cue aggregation, These representations facilitate strong discrimination in the presence of high levels of deception and dialectical variation. Moreover, RCAFG provides rubric-constrained feedback that strengthens learning and increases detection accuracy across different groups of learners, thereby justifying the usefulness of the proposed methodology.
5.2. F1-Score
The balanced F1-score is applied to the proposed SECURE-A2RC framework to identify malicious and legitimate cybersecurity messages, especially in the presence of class imbalance, which is typical of phishing data.
Figure 5 illustrates the distribution of F1-scores achieved by the proposed SECURE-A2RC framework across (a) dataset partitions, (b) language and dialect categories, (c) deception complexity levels, and (d) learner proficiency stages using horizontal box plots within a fixed range of 0.82–1.00. The F1-score, used as the primary detection performance metric, is computed from precision and recall as All plots show the variability in F1-scores across repeated samples for a specific condition, reflecting a strong and stable state. These findings are methodologically motivated by the adaptive risk-conscious fusion in SECURE--A2RC, where the resultant prediction is distracted by output of sub-modules, learned weights, and . A joint objective guides training . The interquartile ranges across all subplots are small, indicating a consistent level of precision-recall trade-offs across various linguistic, contextual, and complexity conditions.
Figure 5.
Distribution of F1-scores for SECURE-A2RC across (a) dataset partitions, (b) language and dialect conditions, (c) deception-complexity levels, and (d) predefined proficiency configurations.
5.3. Action-Critical Translation Errors
Action-Critical Translation Errors (ACTES) are translation errors that intentionally change, omit, or distort actions, potentially resulting in unsafe or incorrect actions in the target language. ACTEs directly influence decision-making by providing information such as commands, warnings, medical instructions, financial instructions, or security warnings.
Figure 6 investigates ACTEs to assess bilingual fidelity in safety-critical conditions. In each case, Figure 6a,c,e shows the distribution of the error severity scores of action-critical nature. Figure 6b,d,f illustrate the scores of the translation risk, which enables comparing the proposed SECURE-A2RC framework with the baseline multilingual models on the distribution level. An ACTE occurs when the translated output alters the intended action semantics of the source text, formally defined as where and denote the inferred action classes of the source and translated text, respectively. To capture the degree of safety impact, each error is weighted by severity, yielding an aggregated severity score where is the frequency of error type and assigns higher weights to action-critical deviations. The translation risk score plotted in the histograms is derived from the proposed risk-aware fusion module, where the final decision confidence is computed as with representing semantic and contextual sub-module outputs and their learned importance weights. Training on models is jointly trained to minimize accuracy and confidence calibration. minimizing high-risk mistranslations. The severity and risk patterns of outliers in the left shift of the SECURE-A2RC show a reduction in action-critical failures, which attest to enhanced bilingual fidelity and safer translation behavior in datasets.
Figure 6.
Action-Critical Translation Error (ACTE) severity and translation-risk distributions across the evaluated bilingual conditions.
5.4. Dialect and Informal Language Robustness
Dialect and Informal Language Robustness is a measure of a model’s ability to preserve semantic intent and action faithfulness in the face of non-standard language forms, such as regional dialects, slang, colloquialisms, code-switching, and orthographic variation. A significant evaluation metric in bilingual and safety-critical translation tasks is robustness, where these differences can lead to ambiguity and overemphasize action-critical translation errors.
The Robustness Degradation Matrices (Figure 7) measure the effect of dialectal variation and informal language phenomena on bilingual fidelity by quantifying the instability of action-critical translation products. Each level of d and perturbation involves computing the value of robustness degradation, . Reduced variance implies consistent, healthy translation behavior despite linguistic noise. The confidence-wise fusion of semantic and contextual features The suggested methodology yields ACTE risk Optimization of models is based on the joint goal: . The matrices graphically demonstrate that the suggested framework has lower ACTE variance across dialects and perturbations, making it more robust against informal and dialect-rich language conditions.
Figure 7.
Robustness-degradation matrices showing ACTE-risk variation across Arabic dialect conditions under four linguistic perturbations: (a) informality, (b) code-switching density, (c) slang intensity, and (d) orthographic noise.
5.5. Learning/Educational Effectiveness
Learning/Educational Effectiveness indicates the extent to which learners enhance their knowledge and skills in cybersecurity following their engagement with the SECURE-A2RC frameworks, specifically RCAFG-created adaptive feedback. It encompasses both intellectual knowledge (e.g., identifying phishing and paying attention to warning signs of deception) and practical competence (e.g., properly conveying action-relevant instructions and acting safely with respect to malicious messages).
Table 4 summarizes the learning and educational effectiveness of competing methods using multiple dataset-driven pedagogical attributes, including conceptual Accuracy, instructional consistency, action-step preservation, and post-feedback improvement. Each metric is reported as the mean and standard deviation across multiple dataset splits, learner proficiency levels, and feedback rounds, ensuring robust evaluation. The mean performance is computed as while performance stability is captured using the standard deviation In the proposed methodology, learning outputs are generated through confidence-aware feature fusion, where represents semantic and contextual educational features and denotes their adaptive weights. The joint objective is which is optimized to strike a balance between instructional correctness and confidence calibration.
Table 4.
Comparative evaluation of simulation-based instructional and competency outcomes across dataset-derived pedagogical attributes.
The current evaluation is a controlled simulation-based system evaluation and does not constitute a human-subject learner study. L1–L3 represent synthetic proficiency configurations rather than recruited participants. The reported instructional metrics quantify simulated competency-state changes under predefined tasks and rubric conditions, while dialectal results measure system-level robustness across the evaluated Arabic conditions. Accordingly, these results are not interpreted as empirical evidence of human educational effectiveness, learning retention, behavioral change, or population-level fairness. Randomized human-subject and longitudinal studies are required to establish these outcomes and are reserved for future validation.
5.6. Ablation Study
A component-wise ablation analysis is performed to quantify the incremental contribution of the five principal SECURE-A2RC mechanisms. The complete configuration is compared with variants that exclude one functional component at a time, while preserving the same dataset partitions and evaluation protocol. The w/o Intent configuration produces a 4.7% decrease in intent-classification F1, indicating that explicit security-intent modeling directly distinguishes informational, suspicious, and action-critical messages. Removing the deception representation results in a 6.1% reduction in deception-cue macro-F1, with the largest degradation occurring for urgency and authority-impersonation cues. Excluding the translation-fidelity component increases action-critical semantic deviation by 2.8 percentage points, demonstrating its role in preserving security-relevant instructions across bilingual transformations. Removing rubric constraints increases feedback-policy violations from 3.2% to 11.7%, indicating that unconstrained generation provides less consistent alignment with the defined instructional criteria. Finally, replacing adaptive feedback with a fixed task policy decreases proficiency-level task alignment by 9.4 percentage points, demonstrating that the adaptive mechanism specifically contributes to matching task difficulty to the encoded competency state. The complete architecture achieves the highest aggregate component-alignment score of 94.6%, while the largest individual degradation occurs when the deception-cue representation is removed, confirming its comparatively strong contribution to Arabic phishing and social-engineering interpretation. Table 5 shows the ablation study results.
Table 5.
Ablation study results.
Quantified by the contribution of the proposed RCAFG mechanism, the experiments using controlled ablation are performed under the same preprocessing, data partitions, model configuration, random-seed usage, and evaluation environments. Three alternative evaluated configurations include (i) A-SCE without RCAFG, which eliminates the adaptive feedback-generation stage, (ii) LLM-only feedback, a configuration where the proficient feedback-generation stage lies outside the circuit and instructional feedback is generated, and (iii) rubric-constrained non-adaptive feedback, which applies the defined instructional rubric but without the proficient conditional task adaptation stage. These differences allow measurement of the impact of rubric conditioning, adaptive feedback generation, and proficiency-conditioned task selection on the total SECURE-A2RC performance.
Controlled component-wise ablations are conducted under identical experimental conditions to isolate the contribution of the SECURE-A2RC components. The evaluated reduced configurations include A-SCE without RCAFG, LLM-only feedback, and rubric-constrained non-adaptive feedback. The resulting differences quantify the contribution of adaptive rubric-constrained feedback relative to the corresponding reduced configurations.
6. Discussion
The findings demonstrate that the benefits of SECURE-A2RC stem from the mathematical modeling of security understanding, deception, and learning. The improvement in detection accuracy and F1-score is due to continuous modeling of security intent understanding, where the inferred learner intent is converted to a probability via a sigmoid activation function over semantic features extracted from the LLM, ). It enables subtle discrimination between scam and non-scam messages despite dialectal and class imbalances. The interaction between deception cues and weighted features explains the robust success against sophisticated social engineering attacks with pedagogically fixed weights and attention scores that model learners’ conscientiousness to urgency, authority, and fear tactics. The significant decrease in action-critical translation errors arises from the joint fidelity formulation, which penalizes OTPs, URLs, and deadlines that are dropped from or distorted in the translation. Dialectal robustness is achieved by minimizing the variance of translation risk scores, , obtained from the feature fusion, accounting for the confidence of a dialectal input. The pedagogical gains are amplified by rubric-constrained feedback, , which ensures pedagogically and securely correct feedback. And finally, iterative learner updates , account for the persistence of post-feedback gains and fairness across learners.
The numerical evaluation of SECURE-A2RC is conducted using 10 independent repeated held-out evaluation runs with a fixed seed set {13,21,34,42,57,68,71,83,91,97}. In contrast, identical preprocessing, stratified data partitions, model configurations, and evaluation conditions are maintained across all runs. The English–Arabic Parallel Phishing Email Corpus, Open MalSec dataset, and Arabic Spam and Ham Tweets dataset are independently divided into 70% training, 15% validation, and 15% testing subsets, with duplicate and near-duplicate instances restricted to the same partition to prevent information leakage. For each run, predictions are generated for every held-out test instance, and the reported values represent the mean ± standard deviation across the 10 run-level estimates. For example, SECURE-A2RC obtains 93.8 ± 0.9% phishing-identification accuracy, corresponding to a 95% confidence interval of 93.24–94.36%, while action-step preservation reaches 94.1 ± 1.0%, with a 95% confidence interval of 93.48–94.72%. The phishing-identification result corresponds to a 31.0% relative improvement over the conventional-awareness reference accuracy of 71.6%, calculated as (93.8 − 71.6)/71.6 × 100. The action-critical translation error rate is 5.9% for SECURE-A2RC, compared with 7.97% for the conventional-awareness reference, yielding a 26.0% relative error reduction, calculated as (7.97 − 5.90)/7.97 × 100. Message-level instances constitute the evaluation unit for phishing and malicious-content detection, aligned action-instruction pairs constitute the unit for translation fidelity, and rubric-scored task instances constitute the unit for simulation-based instructional evaluation. Confusion matrices are generated from the complete held-out predictions, whereas heatmaps, histograms, and box plots are derived from the same run-level evaluation records. Simulation-based instructional measures include 93.8 ± 0.9% conceptual accuracy, 0.91 ± 0.02 instructional consistency, 94.1 ± 1.0% action-step preservation, 0.89 ± 0.03 error-correction responsiveness, 95.0 ± 0.8% context retention, 0.88 ± 0.03 feedback adaptation, 0.87 ± 0.03 learning stability, 92.7 ± 1.2% cross-dialect comprehension, 0.90 ± 0.02 knowledge-transfer efficiency, 41.8 ± 1.5% reduction in misleading explanations, 0.92 ± 0.02 pedagogical clarity, and 33.9 ± 1.2% simulated post-feedback improvement. These learning-oriented values are derived from computational simulations based on predefined proficiency profiles rather than from human-subject measurements. Statistical comparisons are performed on the matched run-level outcomes, with 95% confidence intervals and effect sizes reported alongside the principal comparisons, thereby linking each reported numerical result to a defined evaluation unit, a repeated-run protocol, a dataset partition, and a statistical aggregation procedure.
7. Implications and Limitations
The suggested SECURE-A2RC paradigm has major implications for cybersecurity education, particularly among Arabic-speaking customers. Arabic-conscious encoding and rubric-constrained adaptive feedback increase phishing detection, translation accuracy, and deception awareness. Because it integrates cultural and language variables, this framework may provide culturally and linguistically appropriate learning help. This approach makes it easier to implement scalable learning systems, introduces a more welcoming environment for groups with different dialects, and provides a systematic way to combine language learning management with pedagogy in safe areas.
This is an evaluation of a prescriptive computer simulation of an educational intervention, not a human-subject intervention. As such, the reported results cannot be used to validate conclusions about human learning gains, knowledge retention, behavioral changes, or educational effectiveness in real-world scenarios. These results need to be validated using human subjects and longitudinal approaches, in accordance with the given ethical procedures.
However, many constraints must be considered and investigated before such an action may be taken. The current evaluation is limited to text-based cybersecurity cases because it relies on a small number of publicly available resources. There is a possibility that these numbers understate the diversity of assaults that really take place in the real world. The system may be vulnerable to modeling bias if instruction-tuned LLMs are used. Not only that, but the algorithm might generalize to unknown languages or new patterns of hazard. While using the system, this could happen. Strategies for real-time deployment and longitudinal user adaptation have also not been adequately tested. This poses an issue. Future research must make significant efforts to address these weaknesses and demonstrate the robustness and generalizability of the findings. Efforts are being made through these activities, for instance, to integrate multimodal data, boost dataset diversity, and conduct large-scale user studies in the real world.
8. Conclusions and Future Work
The SECURE-A2RC is an open, culturally oriented system of cybersecurity education designed to overcome language, dialectical, and pedagogical barriers encountered by Arabic-speaking customers. By incorporating the A-SCE into the RCAFG, the framework shifts away from static awareness materials toward interpretable, adaptive, and security-oriented learning. A-SCE directly represents the understanding of security intent, linguistic deception awareness, and action-critical translation fidelity across Arabic dialects and Arabic–English situations, and RCAFG converts these interpretable representations into individualized feedback and proficiency-sensitive practice within constraints specified by experts. The comprehensive evaluation of phishing detection, translation safety, dialect robustness, and educational performance shows that SECURE-A2RC consistently outperforms current baselines in phishing detection and reduces action-critical translation mistakes, and that its learning benefits are more stable. These findings affirm that a rubric-limited, Arabic-sensitive LLM integration allows more equitable, secure, and productive cybersecurity learning, benefiting diverse learners and scale-based, realistic threat contexts. The existing testing is conducted on text-based cybersecurity cases and small datasets. Future directions may expand SECURE-A2RC to support multimodal inputs (voice, images), real-time deployment testing, and longitudinal learner monitoring, and further enhance fairness assurances across low-resource dialects and the dynamism of social engineering attack methods.
Author Contributions
Conceptualization, T.M.G. and O.A.; methodology, T.M.G. and S.M.A.-G.; software, S.M.A.-G.; validation, A.A.A.; formal analysis, A.H.N.; investigation, H.A.S.; resources, O.A.; data curation, A.H.N.; writing—original draft preparation, T.M.G. and H.A.S.; writing—review and editing, F.A., S.M.A.-G., O.A. and A.H.N.; visualization, H.A.S.; supervision, T.M.G.; project administration, A.A.A.; funding acquisition, F.A. and P.P. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The datasets analyzed during the current study are publicly available and can be accessed via the following repositories: English-Arabic Phishing Email Corpus: Available on Kaggle at https://www.kaggle.com/datasets/saidasalloum/englisharabic-phishing-email-corpus (Reference [34], accessed on 17 August 2026). Open-MalSec Dataset: Available on Hugging Face at https://huggingface.co/datasets/tegridydev/open-malsec (Reference [35], accessed on 17 August 2026). Arabic Spam and Ham Tweets Dataset: Available on Mendeley Data at https://data.mendeley.com/datasets/86x733xkb8/4 (Reference [36], accessed on 17 August 2026).
Acknowledgments
The authors acknowledge the support from the Deanship of Scientific Research at Imam Mohammad Ibn Saud Islamic University (IMSIU), which made this study possible.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Karlsen, S.S.; Yamin, M.M.; Hashmi, E.; Katt, B.; Ullah, M. Securing large language models: A quantitative assurance framework approach. J. Inf. Secur. Appl. 2026, 97, 104351. [Google Scholar] [CrossRef] [Scilit]
- Alzaylaee, M.K.; Almarshad, F.A.; Gashgari, G.A.; Algawiaz, D.; Alzahrani, A.I. Advancing cybersecurity: AI-driven computer vision and machine learning models for real-time threat detection and prevention. J. Eng. Res. 2026, 14, 1627–1638. [Google Scholar] [CrossRef] [Scilit]
- Aranguren, M.E.; Fernández-Breis, J.T.; Balentzia, B.L.; Rompe, M.; Castro, A.G. A comprehensive view of software vulnerability risks through enterprise knowledge graphs. Comput. Secur. 2026, 163, 104815. [Google Scholar] [CrossRef] [Scilit]
- Al-Mansouri, F. The implicit language of cybersecurity: Educational challenges and implications. Int. J. Cyber Threat Intell. Secur. Netw. 2025, 2, 14–19. [Google Scholar] [CrossRef] [Scilit]
- De Marchi, M.; Pomalo, M.; Vallazza, R.; Falcomatà, I.; Aruväli, T.; Rauch, E. Enhancing IT/OT cybersecurity knowledge transfer through demonstrative workshops in cyber-physical production systems. Procedia Comput. Sci. 2025, 253, 2296–2305. [Google Scholar] [CrossRef] [Scilit]
- Mouncey, E.; Ciobotaru, S. Phishing scams on social media: An evaluation of cyber awareness education on impact and effectiveness. J. Econ. Criminol. 2025, 7, 100125. [Google Scholar] [CrossRef] [Scilit]
- Quayyum, F.; Jaccheri, L. CyberFamily: A collaborative family game to increase children’s cybersecurity awareness. Entertain. Comput. 2025, 52, 100826. [Google Scholar] [CrossRef] [Scilit]
- Kävrestad, J.; Rambusch, J.; Nohlberg, M. Design principles for cognitively accessible cybersecurity training. Comput. Secur. 2024, 137, 103630. [Google Scholar] [CrossRef] [Scilit]
- Katsikeas, S.; Ling, E.R.; Johnsson, P.; Ekstedt, M. Empirical evaluation of a threat modeling language as a cybersecurity assessment tool. Comput. Secur. 2024, 140, 103743. [Google Scholar] [CrossRef] [Scilit]
- Petrillo, A.; Awasare, K.; Rehman, M. The ALES platform: State-of-the-art and gap analysis for an academic LLM chatbot. Procedia Comput. Sci. 2025, 274, 359–372. [Google Scholar] [CrossRef] [Scilit]
- Lu, Y.; Hao, J.; Tang, X. Dual-model synergy for audit opinion prediction: A collaborative LLM agent framework approach. Int. Rev. Econ. Financ. 2025, 104, 104642. [Google Scholar] [CrossRef] [Scilit]
- Syafitri, W.; Shukur, Z.; Asma’Mokhtar, U.; Sulaiman, R.; Ibrahim, M.A. Social engineering attacks prevention: A systematic literature review. IEEE Access 2022, 10, 39325–39343. [Google Scholar] [CrossRef] [Scilit]
- Abu Hweidi, R.F.; Eleyan, D. Social engineering attack concepts, frameworks, and awareness: A systematic literature review. Int. J. Comput. Digit. Syst. 2023, 13, 691–700. [Google Scholar] [CrossRef] [Scilit]
- Jain, P.; Bhowmick, A. Analyzing code-switching scenarios in India’s diverse linguistic landscape using end-to-end ASR systems with ViTB-HEBIC. Comput. Electr. Eng. 2025, 122, 109978. [Google Scholar] [CrossRef] [Scilit]
- Elchafei, P.; Fashwan, A. Arabic NER evaluation: Pre-trained models via contrastive learning vs. LLM few-shot prompting. Procedia Comput. Sci. 2024, 244, 229–237. [Google Scholar] [CrossRef] [Scilit]
- Besdouri, F.Z.; Zribi, I.; Belguith, L.H. Arabic automatic speech recognition: Challenges and progress. Speech Commun. 2024, 163, 103110. [Google Scholar] [CrossRef] [Scilit]
- Kim, J.; Jeong, B.; Park, S.; Lee, S.; Park, J. Your forensic AI-assistant, SERENA: Systematic extraction and reconstruction for enhanced A2P message forensics. Forensic Sci. Int. Digit. Investig. 2025, 53, 301931. [Google Scholar] [CrossRef] [Scilit]
- Yang, Y.; Wang, D.L.; Chiclana, F.; Chen, Z.S. A multi-agent LLM framework for severity classification of complaint events: Probabilistic reasoning with scene uncertainty. Adv. Eng. Inform. 2026, 69, 104135. [Google Scholar] [CrossRef] [Scilit]
- Bahmanova, A.; Lace, N. Key factors shaping collaborative cyber resilience in SMEs through open innovation. J. Open Innov. Technol. Mark. Complex. 2026, 12, 100715. [Google Scholar] [CrossRef] [Scilit]
- Haraty, R.; Chehade, M. Transfer learning and sentiment analysis of Lebanese dialect data using a multilingual deep learning approach. Int. J. Speech Technol. 2025, 28, 581–595. [Google Scholar] [CrossRef] [Scilit]
- Banou, Z.; El Filali, S.; Eljiani, L.; Alaoui, F.Z. Developing a multi-layer ontology construction framework for Arabic language processing: Focus on figurative language potential. IEEE Access. 2025, 13, 138535–138550. [Google Scholar] [CrossRef] [Scilit]
- Selvaraj, R.; Kuthadi, V.M.; Duraisamy, A.; Selvaraj, B.; Pethuraj, M.S. Learning optimizer-based visual analytics method to detect targets in autonomous unmanned aerial vehicles. IEEE Intell. Transp. Syst. Mag. 2023, 16, 72–85. [Google Scholar] [CrossRef] [Scilit]
- Jessner, U.; Allgäuer-Hackl, E.; Rooy, S.C.V. Rethinking code-switching and translanguaging as language management strategies in the dynamic model of multilingualism. In The Handbook of Plurilingual and Intercultural Language Learning; John Wiley & Sons Ltd.: Hoboken, NJ, USA, 2025; pp. 123–137. [Google Scholar]
- Abdulla, R.M.; Faraj, H.A.; Abdullah, C.O.; Amin, A.H.; Rashid, T.A. Analysis of social engineering awareness among students and lecturers. IEEE Access 2023, 11, 101098–101111. [Google Scholar] [CrossRef] [Scilit]
- Eldakhly, N.M.; Zaher, M.A.; Hassan, Y.B. Computational intelligence approach to automated sentiment analysis of Arabic tweets. Neural Comput. Appl. 2025, 37, 1889–1904. [Google Scholar] [CrossRef] [Scilit]
- Abdelsamie, M.M.; Azab, S.S.; Hefny, H.A. The dialects gap: A multitask learning approach for enhancing hate speech detection in Arabic dialects. Expert Syst. Appl. 2026, 295, 128584. [Google Scholar] [CrossRef] [Scilit]
- Aslam, M.M.; Kalinaki, K.; Tufail, A.; Naim, A.G.H.; Khan, M.Z.; Ali, S. Social engineering attacks in industrial internet of things and smart industry: Detection and prevention. In Emerging Threats and Countermeasures in Cybersecurity; Scrivener Publishing LLC: Beverly, MA, USA, 2025; pp. 389–412. [Google Scholar]
- Al-Monef, R.; Alhuzali, H.; Alturayeif, N.; Alasmari, A. From words to proverbs: Evaluating LLMs’ linguistic and cultural competence in Saudi dialects with Absher. Alex. Eng. J. 2026, 137, 25–41. [Google Scholar] [CrossRef] [Scilit]
- Singh, N.K.; Chanu, Y.J.; Pangsatabam, H. MECOS: A bilingual Manipuri–English spontaneous code-switching speech corpus for automatic speech recognition. Comput. Speech Lang. 2024, 87, 101627. [Google Scholar] [CrossRef] [Scilit]
- Alghuried, A.; Mohaisen, D. Phishing in Wonderland: Evaluating Learning-Based Ethereum Phishing Transaction Detection and Pitfalls. In Proceedings of the Network and Distributed System Security (NDSS) Symposium, San Diego, CA, USA, 23–27 February 2026. [Google Scholar]
- Wang, J.; Ni, T.; Lee, W.B.; Zhao, Q. A contemporary survey of large language model assisted program analysis. arXiv 2025, arXiv:2502.18474. [Google Scholar]
- Kharma, M.F.; Choi, S.; Alkhanafseh, M.; Mohaisen, D. Security and quality in llm-generated code: A multi-language, multi-model analysis. IEEE Trans. Dependable Secur. Comput. 2026, 23, 7300–7314. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Ni, T.; Lee, W.B.; Zhao, Q. A survey on backdoor threats in large language models (llms): Attacks, defenses, and evaluations. arXiv 2025, arXiv:2502.05224. [Google Scholar]
- English/Arabic Phishing Email Corpus. Available online: https://www.kaggle.com/datasets/saidasalloum/englisharabic-phishing-email-corpus (accessed on 21 July 2026).
- tegridydev/open-malsec. Available online: https://huggingface.co/datasets/tegridydev/open-malsec (accessed on 21 July 2026).
- Dataset of Arabic Spam and Ham Tweets. Available online: https://data.mendeley.com/datasets/86x733xkb8/4 (accessed on 21 July 2026).
- Himdi, H.; Alhayan, F. Optimized ensemble stacking approaches to detect Arabic phishing email. J. Eng. Res. 2025, 14, 776–788. [Google Scholar] [CrossRef] [Scilit]
- Malloy, T.; Bernardy, L.; El Bachyr, O.; Philippy, F.; Samhi, J.; Klein, J.; Bissyandé, T.F. You got phished! analyzing how to provide useful feedback in anti-phishing training with llm teacher models. Electronics 2025, 14, 3872. [Google Scholar] [CrossRef] [Scilit]
- Mahdy, A.E.; Shalaby, M.; Tammam, A. Bilingual Phishing Email Detection in English and Arabic Using a Transformer-LSTM Hybrid Model. Available online: https://journal.uob.edu.bh/items/d799d01e-5467-4be3-ac9a-76a2ef5af0ef (accessed on 21 July 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






