Hybrid AI Pipeline Aligns Cross-Framework Cybersecurity Controls with 98.5 | #hacking | #cybersecurity | #infosec | #comptia | #pentest | #ransomware

A newly developed artificial intelligence pipeline combining dense and sparse semantic retrieval, automated ontology reasoning, and large language model aggregation has demonstrated that complex cybersecurity regulatory frameworks can be cross-mapped with up to 98.5 percent top-ranked precision. Published in the Journal of King Saud University Computer and Information Sciences by researcher Hashem Alaidaros, the peer-reviewed investigation addresses the mounting compliance friction faced by organizations that must simultaneously satisfy divergent regional and international security mandates. Evaluated through a rigorous bidirectional mapping between the Saudi Essential Cybersecurity Controls, established by the National Cybersecurity Authority, and the globally recognized ISO/IEC 27001:2022 standard, the hybrid architecture achieved a top-one precision of 98.0 percent when mapping from the national controls to the international baseline, and 98.5 percent in the reverse direction during independent domain expert evaluations. By formulating cross-framework crosswalking as an interpretable bidirectional ranking challenge, the study establishes an automated methodology that replaces error-prone, static manual crosswalks with auditable machine-assisted compliance workflows.
Modern regulatory landscapes place an intense administrative and operational burden on enterprises, requiring adherence to multiple overlapping, partially redundant, and independently structured compliance regimes. Industry surveys and systematic reviews have identified dozens of active security frameworks and widely adopted national standards, ranging from the NIST Cybersecurity Framework to COBIT, that codify best practices for safeguarding digital assets and managing operational risk. Because these frameworks are authored by separate standards bodies using distinct technical vocabularies, varying structural hierarchies, and disparate levels of abstraction, organizations routinely expend substantial time and resources performing redundant audits for equivalent security measures. Previous manual crosswalking efforts published by domain specialists have proven difficult to scale, costly to maintain, and prone to rapid obsolescence whenever underlying specifications are revised. Meanwhile, fully generative large language models applied as unconstrained black-box matching engines often introduce hallucinations, display unstable output consistency across prompt variations, and fail to provide the granular traceability required by formal compliance auditors and security governance officers.
To overcome these structural limitations, the research introduces an architecture designed around standard-agnostic data ingestion and modular, feed-forward analytical stages. The system processes regulatory source materials using a minimal, uniform representation schema comprising only a unique control identifier and the full normative natural-language requirement statement, avoiding framework-specific hardcoding or bespoke rule engineering. The empirical demonstration analyzed the second edition of Saudi Arabia’s Essential Cybersecurity Controls, designated ECC 2-2024, alongside ISO/IEC 27001:2022. The ECC corpus spans four principal domains—Cybersecurity Governance, Cybersecurity Defense, Cybersecurity Resilience, and Third-Party and Cloud Computing Security—and was partitioned into 200 discrete units encompassing 108 main controls and 92 subcontrols written in normative modal language such as shall and must. Correspondingly, the ISO/IEC 27001:2022 dataset was organized into 202 individual control items, comprising 109 clause-level management requirements alongside 93 Annex A operational security controls. By structuring both corpora identically, the pipeline establishes a standardized operational baseline capable of processing diverse regulatory standards without structural modifications.

The initial phase of the hybrid pipeline executes automated linguistic metadata extraction to convert unstructured normative statements into structured informational triplets. Utilizing the open-weight gpt-oss-120b model purely as a schema-constrained extraction engine, the system parses each control statement into its core subject, its primary operational actions, and its contextual qualifiers, such as organizational scopes, mandatory approvals, or technical constraints. To ensure deterministic stability, the author conducted repeated-run validation across a randomized sample of 60 controls drawn from both standards; across three distinct executions, the model achieved 100 percent identical metadata extractions that were subsequently confirmed as accurate by independent cybersecurity specialists. Once extracted, these structured representations are retained as permanent intermediate artifacts. These records feed into downstream embedding and retrieval mechanisms, ensuring that subsequent matching stages operate on consistent grammatical foundations rather than unstructured raw sentences that obscure technical actions beneath complex legal and regulatory sentence phrasing.
Following metadata extraction, candidate alignment pairs are generated through a two-stage hybrid retrieval mechanism designed to maximize recall across differing terminologies. Each control is encoded using BGE-M3, an openly available transformer-based embedding model that natively generates both dense continuous vector representations and sparse lexical vectors across inputs of up to 8,192 tokens without requiring proprietary cloud endpoints. The dense embeddings capture high-level contextual semantics through cosine similarity calculations, while the sparse embeddings preserve salient domain-specific terminology through lexical-weighted dot products. To reconcile these complementary ranking signals without manual score re-scaling, the pipeline merges the resulting candidate lists using Reciprocal Rank Fusion, applying a standard smoothing parameter of kappa equals 60. This retrieval step searches the target index for each source control to yield an initial candidate set, prioritizing candidates that place near the top of both semantic and lexical lists while ensuring that controls sharing identical functional objectives are not overlooked due to superficial variations in phrasing.
To provide concept-level reasoning that transcends surface text matching, the framework automatically constructs independent, intra-standard ontologies directly from the control texts. Unlike traditional knowledge-graph approaches that rely on labor-intensive manual authoring, the pipeline derives its concept set by aggregating deduplicated entities, actions, and contextual elements from the extracted metadata fields. Relationships between these concepts are subsequently inferred across five complementary families: co-occurrence edges linking terms that frequently appear together across controls, hierarchical is-a and part-of edges derived through substring containment, morphological subset-of edges connecting singular and collective variants, same-domain links capturing broad thematic groupings, and action edges binding operational verbs to their target subjects. In an illustrative control mandating secure configuration and hardening of network devices, the induced ontology links secure configuration to hardening via co-occurrence, attaches network security to security through hierarchical inheritance, connects singular device terms to plural forms, assigns the concepts to Cybersecurity Defense, and associates the implementation verb with configuration.
The structural graphs provide the foundation for an ontology-based scoring module that computes four distinct sub-scores for each candidate mapping pair. Domain similarity measures the Jaccard overlap between the standardized domain buckets of the controls, concept overlap quantifies exact substring intersections between lowercased concept sets, graph scoring calculates overlap across expanded one-hop and two-hop hierarchical neighbor networks, and relationship scoring aggregates typed edge strengths between shared concept pairs, capping the total at 1.0 to ensure a uniform scale. Through a manual parameter sweep conducted on a held-out development set of 30 representative mappings and adjudicated by independent domain reviewers who were excluded from the final evaluation, the mixing weights were established at 0.15 for domain similarity, 0.45 for concept overlap, 0.25 for graph scoring, and 0.15 for relationship scoring. This composite ontological score provides a reproducible, concept-aware metric that directly complements vector embeddings by measuring structural and relational proximity within the regulatory knowledge base.

Candidate pairs passing the retrieval and ontology screening stages are subsequently processed by an explanation and aggregation module that generates auditable justifications and categorical classifications. Using gpt-oss-120b in an inference-only setting, the pipeline generates two concise, source-grounded natural-language explanations capped at two sentences or approximately 50 words: a similarity justification explaining functional alignment and a difference justification highlighting scope divergences, accompanied by explicit lists of shared, source-only, and target-only concepts. The language model then aggregates the deterministic numerical scores and linguistic evidence to classify each mapping along two orthogonal axes: relationship scope, categorized as Superset, Subset, Equal, or Unrelated, and relationship degree, categorized as Primary or Secondary. The LLM operates strictly over the fixed candidate pool, meaning candidate recall remains governed by the deterministic retrieval phase. Testing across 60 sampled controls under repeated executions with default sampling temperatures yielded 100 percent exact label consistency, confirming that the aggregation module introduces no observable run-to-run variability.
The complete framework was evaluated through extensive domain expert validation involving three certified cybersecurity consultants holding CISSP, CISM, and ISO/IEC 27001 Lead Implementer and Lead Auditor credentials. The experts reviewed every proposed mapping across all 200 ECC controls and 202 ISO/IEC 27001 controls independently, assessing semantic alignment, scope coverage, practical compliance relevance, and the accuracy of the assigned scope and degree labels, with majority voting determining final correctness. The proposed framework achieved a Precision@1 of 98.0 percent and Mean Reciprocal Rank of 0.982 in the ECC-to-ISO direction, and a Precision@1 of 98.5 percent and Mean Reciprocal Rank of 0.987 in the reverse direction. Precision@3 reached 92.0 percent and 93.6 percent, while Precision@10 measured 79.0 percent and 82.0 percent, respectively. A detailed error analysis revealed that 59 percent of incorrect classifications occurred when the target control was functionally relevant but the fine-grained scope or degree label was misassigned by the aggregation model, while only 41 percent stemmed from non-relevant target selections.
To complement human review with automated benchmarking, the author conducted an equal-budget evaluation judged by Gemini 2.5 Flash, which scored raw control texts across semantic alignment, actionability match, and scope coverage without access to internal justifications. Because the framework prunes unrelated candidates, retaining an average recommendation budget of 7.5 controls per item with zero percent abstention, baseline systems were scored on their top-matching candidates at identical budget depths. The complete framework achieved Precision@X of 90.5 percent for ECC-to-ISO and 91.9 percent for ISO-to-ECC, substantially outperforming standalone BGE-M3 retrieval (77.0 percent and 78.9 percent) and lexical baselines including TF-IDF and Jaccard similarity (68.7 percent and 66.7 percent). Controlled ablation of the ontology layer caused Precision@X to drop to 85.0 percent and 83.0 percent, confirming the measurable contribution of concept graphs. Future research plans include expanding evaluations to the NIST Cybersecurity Framework, CIS Controls, and COBIT, releasing the expert-annotated corpus as an open benchmark, and incorporating blinded review protocols with formal inter-rater agreement metrics.
Subject of Research: Automated cross-framework cybersecurity control mapping using hybrid natural language processing
Article Title: Leveraging artificial intelligence for cross-framework cybersecurity control mapping: a hybrid natural language processing approach
Article References: Alaidaros, H. (2026). Leveraging artificial intelligence for cross-framework cybersecurity control mapping: a hybrid natural language processing approach. Journal of King Saud University Computer and Information Sciences, 38(9), Article 983. https://doi.org/10.1007/s44443-026-01427-6
Image Credits: AI Generated
DOI: 10.1007/s44443-026-01427-6
Keywords: cybersecurity control mapping, natural language processing, ISO/IEC 27001, Essential Cybersecurity Controls, ontology reasoning, dense sparse retrieval, BGE-M3, large language models, Reciprocal Rank Fusion, explainable artificial intelligence, compliance automation, regulatory governance, semantic similarity, expert validation, information security management, cross framework alignment

——————————————————-
Click Here For The Original Source.