Abstract
Intrusion detection systems (IDS) play a crucial role in safeguarding Internet of Things (IoT) systems by detecting and identifying malicious or unauthorized activities. The rapid proliferation of IoT devices has increased the requirement for robust network security. IoT and advanced IoT technologies are essential for 6G networks, giving dense connectivity, low latency, ultra-reliability, and higher performance. Artificial intelligence (AI), including deep learning (DL) and machine learning (ML), presents solutions for enhancing and leveraging innovative technologies in next-generation radio communications. Moreover, security remains a demanding problem that is resolved using ML and DL-based intrusion detection models. In a world where 6G IoT infrastructure growth is a global priority, ensuring robust intrusion detection is vital to defend sensitive data and ensure the seamless process of critical models. In this paper, the Artificial Intelligence-Based Intrusion Detection and Secure Communication (AIBID-SCSA) technique is proposed. The main goal of the AIBID-SCSA technique is to enhance the accuracy and efficacy of attack recognition in an assisted 6G-IoT network. Initially, the AIBID-SCSA technique applies min-max normalization to measure the input data into a uniform format. Furthermore, improved sparrow search algorithm (ISSA)-based feature selection is employed to identify the most relevant feature from the network traffic data. For the classification of intrusion detection, the long short-term memory (MIX_LSTM) model is used. Finally, the rabbit optimization algorithm (ROA) model is implemented for the hyperparameter selection process to optimize the detection results of the MIX_LSTM model. The experimental validation of the AIBID-SCSA method is investigated under the TON_IoT_Train_Test_Network dataset. The comparison analysis of the AIBID-SCSA method portrayed a superior accuracy value of 99.63% over recent state-of-art techniques.
Similar content being viewed by others
Introduction
Wireless communication has served the globe with numerous technical developments, from the period of finding cellular frequency reusability1. The evolution of communication technologies from 1G to 4G has occurred due to improvements in antenna design technology, channel coding, and multiple access2. Latest progress in these technologies, along with the development of novel software systems and hardware devices, has given birth to the 5G wireless system methods that also permit understanding the IoT model and utilize smart abilities to guarantee good health, industrial production, enormous agricultural, and intelligent observing methods for effective electricity generation and traffic control, and so on3. Currently, IoT has become an essential part of the future Internet, receiving greater attention from both academia and industry due to its potential to provide customer services across various aspects of the modern world4. As 5G network methods approach complete standardization, multiple studies on the 6G wireless communication method have begun to deliver seamless connectivity to an increasing number of consumers and enhance IoT services5. In the 6G, AI becomes progressively significant6. AI relies on mining big data for learning and training, continually enhancing computing power to handle higher transmission rates, and gaining more flexibility through continuous learning. An IDS is a security measure designed to detect and prevent malicious activity or unauthorized access on a computer network or system7. For wireless IoT systems, it is essential to have a method that can identify intrusions in the real world and manage the higher volume of data. IDS-based recognition is an approach to identify malicious actions in a wireless 6G IoT system by associating network traffic with a dataset of identified malicious signatures or patterns8. The use of AI at the network and application layers of 6G networks enables the network to become automated and more intelligent, which will be an essential way to control and manage huge wireless big data9. Additionally, the 6G network supports multi-band hybrid transmission, large-scale antennas, and a large number of users, posing significant challenges to conventional physical layer transmission technology in terms of efficiency, performance, and complexity. Particularly, AI will play a crucial role in 6G networks. The developed AI approaches, which incorporate DL and ML, generate new methods for 6G. The 6G network operators will implement the developed DL and AI to improve their service, addressing security concerns10. The physical layer of 6G networks is susceptible to threats, like eavesdropping and jamming.
In this paper, the Artificial Intelligence-Based Intrusion Detection and Secure Communication (AIBID-SCSA) technique is proposed. The main goal of the AIBID-SCSA technique is to enhance the accuracy and efficacy of attack recognition in an assisted 6G-IoT network. Initially, the AIBID-SCSA technique applies min-max normalization to measure the input data into a uniform format. Furthermore, improved sparrow search algorithm (ISSA)-based feature selection is employed to identify the most relevant feature from the network traffic data. For the classification of intrusion detection, the long short-term memory (MIX_LSTM) model is used. Finally, the rabbit optimization algorithm (ROA) model is implemented for the hyperparameter selection process to optimize the detection results of the MIX_LSTM model. The experimental validation of the AIBID-SCSA method is investigated under the TON_IoT_Train_Test_Network dataset. The significant contribution of the AIBID-SCSA method is listed below.
-
The min-max normalization is used for scaling the input features to a uniform range, usually [0,1], which improves model stability, convergence during training, and compatibility across diverse models. The pre-processing also assists in mitigating bias caused by varying feature magnitudes and ensures more reliable results.
-
The feature selection process is performed by utilizing the ISSA technique to detect the most relevant input variables, which also mitigates data dimensionality, computational overhead, and improves model efficiency. This selective approach significantly enhances detection accuracy by eliminating redundant or irrelevant features, contributing to a more robust process.
-
The MIX_LSTM-based classification technique utilizes a hybrid LSTM method for effectually learning temporal dependencies in sequential network traffic data, enabling precise intrusion detection. This model also improves classification accuracy by capturing both short- and long-range patterns, facilitating real-time and adaptive threat detection in intrinsic network environments.
-
The ROA methodology is implemented by fine-tuning the hyperparameters of the MIX_LSTM model, ensuring optimal configuration for improved learning and generalization. By automating the tuning process, ROA enhances classification performance, reduces manual effort, and contributes to building a more accurate and efficient classification process.
-
The AIBID-SCSA methodology presents a novel technique by integrating ISSA, ROA, and MIX_LSTM. This unified DL model effectively handles the dynamic and intrinsic nature of modern network environments. The novelty lies in incorporating advanced optimization strategies into a sequential learning model to maximize detection accuracy and adaptability. Thus, the framework ensures a scalable, efficient, and intelligent attack recognition system.
Literature review
Ibrahim et al.11 proposed a fishnet method-based packet scheduling and resource allocation method, named Fishnet-6G. The quantum density peak clustering (QDPC) model is employed to attain a cluster. Moreover, traffic forecasts are obtained through the fair queue status, processes, and grouping, utilizing the improved deep deterministic policy gradient (IMPDDPG) technique. Afterwards, optimum packet scheduling is achieved by applying the Willow Catkin Optimisation (WCO) approach. Garg et al.12 presented an innovative AI-designed secure communication method for IoMT. Moreover, the security investigation of the presented method is delivered to demonstrate its security against diverse probable threats. Furthermore, a comparative work presents the method with other related methods. Du et al.13 introduced a QoS-aware UAV 3D coverage deployment algorithm (QUCDA) that depends on ML models. The QUCDA model builds on the classical genetic algorithm (GA) and contains two main phases. An innovative method was advanced to create the initial population, employing the K-means clustering model to enhance the quality of the solution. Afterwards, the K-means initialized grey wolf optimization (KIGWO) model is presented to improve the variety of random replacement strategies. In Sedjelmaci et al.14, a strong and innovative zero-trust architecture (ZTA) is presented, which includes an intrusion detection structure. The presented detection structure executes recognition methods based on ML models and security rules, as well as recognition approaches that utilize both collaborative and standalone processes, aiming to enhance security and identify threats precisely. Additionally, a dynamic ZTA depends on a non-cooperative game to ensure the additional safety of 6G edge computing systems. Nguyen et al.15 employed ML or AI, network slicing, and open radio access network (ORAN) to tackle the different tasks of non-terrestrial networks (NTN). This research presents a comprehensive survey on how ML or AI and network slicing are exploited to overcome the challenges faced by NTNs. Additionally, ORAN is employed for NTNs. Irshaid et al.16 presented an innovative energy-efficient multichannel cross-layer MAC structure that employs a non-persistent CSMA protocol in 6G-IoT systems. Depending on a composite variation of MAC and physical layer parameters, this structure focuses on enhancing the IoT system’s energy efficiency (EE). Particularly, this work solves and formulates the maximization subject to numerous design constraints.
Vel et al.17 aimed to identify the adversarial threats in IoT gadgets utilizing AI models. The adversarial instances are created by using a Jacobian-based saliency map, iterative fast gradient sign, projected gradient descent, and limited-memory Broyden-Fletcher-Goldfarb-Shanno models. The adversarial threats in the IoT method are identified efficiently by employing the fully deep connected CNN (FDCCNN) technique. Dai et al.18 proposed an enhanced intrusion detection model, XGBoost-Autoencoder (XGBoost-AE) and Random Forest (RF)-Autoencoder (RF-AE) technique. Baseer et al.19 presented a unified framework by combining an Adaptive trust consensus with long short-term memory (LSTM) behavioural modelling, a hybrid Cheon–Kim–Kim–Song (CKKS) secure multi-party computation encryption for differential privacy, and quantized deep reinforcement learning (DRL) to enhance security, privacy, and energy efficiency in UAV-assisted networks. Sana et al.20 presented a novel IDS system by utilizing optimized supervised ML models, including support vector machine (SVM), RF, ensemble bagged tree (EBT), and neural networks (NN), with DL models such as LSTM and Vision Transformer (ViT). Moreover, the Bayesian Optimisation (BO) method is utilized for the tuning process. Jithish et al.21 proposed a privacy-preserving Distributed Denial-of-Service (DDoS) attack detection approach for 6G-enabled smart grids by integrating Federated Learning (FL) with Amazon Web Services (AWS) cloud. He et al.22 introduced an epilepsy detection model by utilizing Tunable Q Wavelet Transform for signal decomposition, one-dimensional convolutional neural network (1DCNN) and spectral features for extraction, and Optimal Attention-based LSTM (OAT-LSTM) technique for classification. Feature fusion and hyperparameter tuning are performed by utilizing the Fuzzy Coyote Random Drift Algorithm (FC-RDA) methodology. Walia et al.23 proposed an AI-enabled IoTs (AIoT) use case powered by Non-Terrestrial Networks (NTNs) and 6th Generation (6G) technology. Islam et al.24 proposed a continuous authentication-based blockchain approach incorporated with a zero-trust architecture (ZTA) to secure UAVs acting as flying 5G base stations. Singamaneni et al.25 presented a hybrid cryptographic protocol incorporating Nth-degree Truncated Polynomial Ring Unit Encryption with Supersingular Isogeny Diffie–Hellman (NTRUEncrypt-SIDH) and Key-Policy Attribute-Based Encryption (KP-ABE) technique to improve privacy, security, and distributed denial-of-service mitigation in 6th Generation (6G) networks for Industry 5.0.
Kjwan and Ali26 presented an adaptive covert communication framework using quantum cryptography (BB84 protocol) and AI-based security for secure, high-speed, and energy-efficient 6G communication. Sadhwani et al.27 introduced a system by utilizing ML and DL techniques, including k-Nearest Neighbours (KNN), naïve bayes (NB), decision tree (DT), RF, multi-layer perceptron (MLP), convolutional neural network (CNN), LSTM, and a hybrid CNN-LSTM model. Binbusayyis and Sha28 proposed a blockchain-based federated learning framework with an Enhanced CNN with Squeeze-and-Excitation blocks (ECNNSE) technique. Furthermore, Butterfly Optimization Algorithm (BOA) integrated with Correlation-Based Feature Selection (CFS) was employed to achieve secure and efficient intrusion detection in smart networks. Tawfik29 developed a framework by utilizing stacked autoencoders (SAE), Categorical Boosting (CatBoost), and an optimized Transformer-CNN-Long Short-Term Memory (Transformer-CNN-LSTM) ensemble to effectually detect intrusions in fog and IoT networks. Sharma and Rani30 proposed a novel Stacked-Hybrid Model (SHM) incorporating RF, SVM, Logistic Regression (LR), and Extreme Gradient Boosting (XGBoost) technique to improve attack detection accuracy. Zhu et al.31 proposed an Improved Isolation Forest with Particle Swarm Optimization (IIF-PSO) technique combined with data fusion and blockchain technology for secure, real-time, and reliable analytics. Sakr et al.32 proposed a model by computing ML, RF, Gradient Boosting (GB), SVM, DT, and KNN, and hybrid ensemble models namely RF + KNN, GB + KNN, and GB + DT. Farooq and Khan33 evaluated ML techniques for improving the protection of smart devices and data. Soma et al.34 developed a Resilient Probabilistic Adversarial Network (Resi-PAN) methodology by integrating probabilistic adversarial networks, resilient optimization, and recurrent neural networks (RNN) with adversarial training. Gaurav, Gupta, and Chui35 proposed an optimal CNN model using Ant Lion Optimizer (ALO) for feature selection and Slime Mould Algorithm (SMA) for hyperparameter tuning. Li et al.36 introduced an Arithmetic Dragonfly Algorithm-optimized Bidirectional Long Short-Term Memory (ADM-BiLSTM) approach combined with Principal Component Analysis (PCA) method. Lilhore et al.37 addressed privacy and security challenges in sixth-generation (6G) IoT networks by exploring quantum-safe solutions, privacy-preserving technologies, and user-oriented controls for secure and sustainable network integration.
The existing studies highlight crucial improvements in 6G, IoT, and UAV security; however, various limitations still exist. Several techniques depend on limited datasets, which can mitigate generalizability in real-world scenarios. The integration of diverse advanced techniques often enhances computational complexity, affecting deployment in resource-constrained environments. Various models concentrate on accuracy and detection performance but often overlook real-time scalability, resource efficiency, and adaptability to dynamic 6G-IoT environments. Additionally, integration of privacy preservation, blockchain, and quantum-safe solutions remains limited. Furthermore, few studies address adaptive threat landscapes or growing attack vectors dynamically. Privacy preservation and efficient handling of heterogeneous and imbalanced data remain insufficiently explored. There is also a lack of comprehensive frameworks that integrate robust security, energy efficiency, and scalability in decentralized networks. Addressing these research gaps will improve the practical applicability and resilience of 6G-enabled systems. There is also a requirement for a unified, lightweight, and adaptive framework that simultaneously ensures high detection accuracy, low latency, resource efficiency, and robust security for heterogeneous 6G-IoT networks.
Proposed model
In this study, the AIBID-SCSA technique is proposed. The main goal of the AIBID-SCSA technique is to enhance the efficiency and accuracy of attack recognition in an assisted 6G-IoT network. It contains four distinct processes, such as data normalization, ISSA-based feature selection, MIX_LSTM-based classification, and ROA-based tuning. Figure 1 demonstrates the workflow of the AIBID-SCSA model.
Workflow of the AIBID-SCSA approach.
Stage I: min-max normalisation
At first, the AIBID-SCSA model applies min-max normalization to measure input data into a uniform format38. This model is chosen for its efficiency in scaling features to a uniform range, usually [0, 1]. This technique ensures that the overall features effectively contribute to the learning process without distorting their original distribution, unlike other complex scaling techniques. This model is also beneficial in neural network-based models where unscaled data can result in slow convergence or unstable training. The model also improves convergence and stability by maintaining relative relationships between data points. Furthermore, this technique is computationally inexpensive and preserves data sparsity, making it appropriate for real-time or resource-constrained environments. Its interpretability and ease of implementation additionally support its selection in this intrusion detection framework.
It is a data pre-processing model employed in IDS for 6G-IoT networks to measure input features within a stable range, typically between 0 and 1. This safeguards equality across dissimilar features, which is vital when working with varied network data that might have fluctuating ranges. By using min-max normalization, the method can process data more effectively, decreasing biases presented by features with superior scales. It enhances the performance of ML approaches in detecting intrusions or anomalies in real-world scenarios. In 6G-IoT networks, where data flows are massive and diverse, min-max normalization certifies that intrusion detection techniques work efficiently across varied network traffic.
Stage II: ISSA-based feature selection
Next, the ISSA-based FS is employed to identify the most relevant features from the network traffic data39. This technique efficiently performs exploration and exploitation compared to conventional methods like GA or particle swarm optimization (PSO). This model replicates the intelligent foraging behaviour of sparrows and introduces adaptive mechanisms that assist in avoiding local optima, ensuring a more optimal and diverse feature subset. This results in mitigated dimensionality, faster computation, and enhanced model generalization. This methodology also dynamically adjusts to the problem space, making it appropriate for intrinsic, high-dimensional datasets, unlike filter or wrapper-based methods. This model also improves the classification accuracy by removing irrelevant and redundant features. Thus, the ISSA approach presents a robust, adaptive, and computationally efficient feature selection strategy constructed for dynamic cybersecurity environments.
The SSA is a swarm intelligence method that utilizes sparrows to seek food. Nevertheless, due to an absence of diversity during the early population, the searching capability of the SSA rapidly decreases, and this method rapidly drops into the difficulty of local optimum solutions. Then, chaotic sequences are applied in this work for initializing the sparrow population fitness value and location, improving the distribution of the searching space, enhancing the global searching capability, and enhancing the chance of the first location to prevent dropping into a local optimum solution efficiently. The coverage of the population was distributed more evenly to avoid multiple individuals from sharing the same fitness value, thereby improving the range of fitness values and changes among individual sparrows.
(i) The chaotic sequence is applied for initializing the sparrow population fitness value and location, and a chaotic sequence is produced among the chaotic variable spaces over the mapping relationship, and it is converted into a single enhanced variable space. The 1D maps representation for sine-chaos is given below:
Here, \({X}_{n}\) denotes a sequence \(\text{o}\text{f}\text{v}\text{a}\text{l}\text{u}\text{e}\text{s}\text{f}\text{r}\text{o}\text{m}\text{t}\text{h}\text{e}\text{s}\text{e}\text{t}(-\text{1,1})\), and the first value may not be fixed at 0.
(ii) RMSE is applied to compute the fitness value of every sparrow and then organized. During this method, the mean square error (MSE) is applied as the fitness function (FF) to estimate the optimizer degrees. Its mathematical formulation is given below:
Now, \({f}_{i}\) means fitness, \(n\) means whole, \(y\) represents true value, and \({y}_{i}\) denotes predicted value.
(iii) The best 20% of sparrows are considered as finders, and then the residual 80% as members, and 20% of dual clusters are arbitrarily chosen as warners of observed risk.
In the discoverer position upgrade, the computation is as represented:
Whereas \(t\) represents the present iteration; \(j\) denotes fitness value of \(ith\) sparrow at \(tth\) iterations, using \(j=\text{1,2},\)…; \(Ite{r}_{\text{m}\text{a}\text{x}}\) represents maximal iteration counts; \(\alpha\) denotes randomly generated number; \({R}_{2}\) represents alerts value at \(\in\left[\text{0,1}\right];\) \(S\) represents the security threshold at\(\in\left[\text{0.5,1}\right];\) \(M\) refers to a randomly generated amount dependent on standard distributions; and \(L\) is a \(1\text{x}1\) complete matrix of \(d.\).
During the user location upgrade, the computed value is as shown:
Whereas \({X}_{p}\) denotes the optimum location employed by the discoverer, and \({X}_{worst}\) represents the present worst-case location. During this alert position upgrade, the computed value is as shown:
Here \({X}_{best}\) denotes the present global optimum location, \(\beta\) signifies the standard distribution whose step controller parameter represents variance is one and mean value \(0\), \(K\) refers to the randomly generated number using value \(\in[-\text{1,1}],f\) symbolizes the fitness value, \({f}_{g}\) and \({f}_{w}\) signifies present global optimum and worst values, correspondingly, and \(\epsilon\) stands for a significantly smaller amount to prevent taking a zero denominator.
(iv)The locations are continually upgraded, and the fitness values are computed based on the iteration outcomes.
(v) Finally, iteration, the global optimum sparrow location is applied as the optimum hyperparameter of the neural network.
The FF employed in the ISSA was intended to strike a balance between the number of specific features in every solution (least) and the classification accuracy (highest) attained by employing these chosen features. Equation (6) signifies the FF for evaluating solutions.
Here, \({\gamma}_{R}\left(D\right)\) signifies the classifier rate of error of an assumed classifier. \(\left|R\right|\)denotes the cardinality of the preferred subset, and \(\left|C\right|\) represents the total number of features. \(\alpha\) and \(\beta\) are dual parameters that reflect the impact of classification excellence and the length of the subset. ∈ [1,0] and \(\beta=1-\alpha.\).
Stage III: MIX_LSTM-based classification
For the classification of intrusion detection, the MIX_LSTM method is employed40. This method is chosen for its capability in capturing both short-term and long-term dependencies in sequential network traffic data, which is crucial for precise detection. This technique effectively handles time-series or context-rich data, unlike conventional SVM or DT models. The model also outperforms in modelling intrinsic temporal patterns and detecting subtle anomalies. Compared to vanilla LSTM, the MIX_LSTM architecture is better optimized for deeper feature representation and faster convergence. Its sequential processing capability makes it highly appropriate for detecting growing and multi-stage attacks in dynamic network environments. Figure 2 illustrates the structure of an LSTM.
LSTM structure.
This method employs a different LSTM, such as a Bi-directional LSTM, unlike classical LSTM, which can take future and past data. Then, several layers in the Bi-directional LSTM component show the framework of 1, 2, and 3 layers of Bi-directional LSTM individually. By stacking several Bidirectional LSTM layers, the system can slowly study to remove more abstract and higher-order characteristics, thus more extensively expressing the input data. Afterwards, the entire Bidirectional LSTM outputs are joined concurrently, and the final identification process is accomplished through the FC layer on the right side. The FC layer can map deep features to pre-determined output classifications to attain precise data analysis and classification.
LSTM is a specified form of RNN, efficiently tackling the vanishing gradients difficulty in the training method. LSTM usually contains a hidden state \({h}_{t}\), candidate cell state \({\stackrel{\sim}{C}}_{t}\), cell state \({C}_{t}\), and three gates, such as output, forget, and input. Now, \({h}_{t}\) is the system output, where the consumer decides the size of Ct. The LSTM gate manages the reading, resetting, and writing of sequential data. These unit-specific Eqs. (7) and (8).
where \({b}_{c}\) is the bias and \({\omega}_{hhc}\) and \({\omega}_{xhc}\) are weight matrices.
\({F}_{t}\) denotes the forget gate output; \({C}_{t}\) denotes the present period step cell state, managing the level of data from the earlier period that is overlooked; \({I}_{t}\) is an input gate output, controlling the level of present-time data presence; and \(\odot\) represents element-wise multiplication.
In LSTM, the forget gate acts as a vital part. The output is limited to \(0\) and 1, defining the memory state of previous time data, which must be overlooked or retained. This mechanism permits the LSTM model to upgrade and maintain significant memories after a more extended period while selectively removing unrelated data, as demonstrated by the following formulation:
While \({x}_{t}\) represents the present input, \({h}_{t-1}\) denotes the hidden state from the previous time step, \({b}_{f}\) signifies the bias, and \({\omega}_{xf}\) and \({\omega}_{hf}\) denote the weights.
The input gate plays a vital role in controlling the level to which the present input data upgrades \({C}_{t}\). By controlling the new data influx, the system can particularly upgrade \({C}_{t},\) enhanced by ignoring and memorizing particular portions of the input data. Its equation is given below:
While \({b}_{i}\) represents the bias, \({\omega}_{hi}\) and \({\omega}_{xi}\) are the weight parameters of the input gate.
Stage IV: parameter tuning using ROA
Finally, the hyperparameter selection process based on the ROA model is performed to optimize the detection results of the MIX_LSTM model41. This technique effectively balances between exploration and exploitation compared to conventional models such as search, random search, or GA. The ROA replicates the rabbit survival strategies, which allow it to escape local optima and find better hyperparameter combinations effectively. This model also ensures better model generalization, mitigates training time, and improves classification accuracy. This model is also effective in optimizing DL techniques such as MIX_LSTM, and its lightweight nature makes it appropriate for real-time IDSs with resource constraints. Overall, ROA provides a more adaptive and intelligent tuning mechanism that improves model performance.
The ROA is a new metaheuristic model stimulated by the rabbit’s hiding and foraging behaviours. The method mimics the natural survival tactics of rabbits, such as random hiding and detour foraging, to find the global optimum solution within complex searching spaces. It utilizes the rabbit’s hiding behaviour for local exploitation and their foraging behaviour for global exploration, attaining smooth transitions between the dual across the slow decline of an energy issue. Establishing this setting, ROA resolves optimizer problems over six basic stages: population initialization, random hiding, detour foraging, position updating, energy factor control, and termination.
Population initialization
During ROA, a group of individual rabbits is produced at first, while the location of all rabbits characterizes candidate solutions. These positions are arbitrarily allocated inside the search space to guarantee different primary populations, thus improving the possibility of global exploration. Initially, individual rabbits are produced, individually using an arbitrarily distributed position inside the searching space limits (upper_bound, lower_bound). These fitness values and globally optimal solutions are furthermore initialized to support the following solution comparisons and updates.
Computation of energy factor A
The searching behaviour of the model is influenced at all iterations, mimicking the energy consumption of the rabbit in hiding and foraging. As the iteration counts improve, the energy factor slowly reduces, managing the transition of the model from global exploration to local exploitation.
\(t\) and \(T\) represent present and maximal iteration counts. \(r\) refers to an arbitrary amount applied to present uncertainty. If \(A>1\), the model enters global exploration; If A \(\le1\), the model enters local exploitation.
Detour foraging global exploration
If energy factor \(A>1\), the model mimics rabbits’ detour foraging behaviours, while they forage in regions far away from their home to avoid local minimum traps. These tactics improve the model’s global searching ability.
Whereas, \({x}_{i}\left(t\right)\) and \({x}_{j}\left(t\right)\) and \(R\) are run users, controlling the path of the rabbit’s movement and the step size. \({r}_{1}\) refers to randomly generated numbers, which are applied to improve the uncertainty of the exploration. \({n}_{1}\sim N\left(\text{0,1}\right)\) means the term of the perturbation of the normal standard distribution. This approach enables the rabbit to explore a larger region, aiding in the discovery of possible global optimum solutions within the searching space.
Random hiding local growth
If the energy factor \(A\le1\), the model mimics the hiding behaviour of the rabbits. During this stage, the rabbit arbitrarily chooses one of the numerous hiding positions, allowing refined searching inside the local region:
During this model, \({b}_{i,j}\left(t\right)\) characterizes the rabbit’s hiding location \(i\) in size \(j\). The hiding parameters, \(H=\frac{T-t+1}{T}\cdot{r}_{4}\) reduce with every iteration, guaranteeing that the model concentrates on local searching in the future phases. The vector of mapping \(g\) represents the sizes of the upgraded hiding locations.
Location updates
All rabbits are allocated a candidate location after executing both random hiding and detour foraging. When the fitness of the candidate location is superior to that of the present solution, the rabbit’s location is upgraded to the candidate location; otherwise, it remains in its original position.
Now, \(f\) characterizes the (FF), applied to assess the feature of every solution.
Termination conditions
Finally, every iteration, the model checks whether the maximal iteration count \(T\) is achieved. When the maximal number is attained, the model stops and outputs the current globally finest solution; otherwise, it continues to the next iteration.
Computation of adaptive energy factor A
The ROA is increased to transform into the adaptive ROA. The particular portions of the development are comprehensive subsequently. In this original model, energy factor A slowly decays as it balances exploitation and exploration. To improve flexibility, the energy factor is adjusted dynamically based on the population’s diversity: when diversity decreases, the model enhances exploration to prevent premature convergence. The dynamical energy factor’s equation is shown below:
Now, \(t\) characterizes the present iteration number, and \(T\) signifies maximal iteration counts. \(r\) represents a randomly generated number added for randomness, while \(diversity\) refers to the population’s diversity, calculated by measuring the variation within the existing populations.
Adaptive detour for food - global exploration
During this stage, the step length \(R\) is dynamically attuned based on the iteration procedure and diversity of the population. Firstly, larger step lengths are applied to cover broader searching spaces; however, in the future phases, the step length is slowly decreased to permit fine-grained local exploitation. Dynamical step size change is applied to the step size \(\left(t\right)\) based on the diversity of the population.
\(e\) controls the step size dynamics, whereas \({r}_{2}\) denotes a randomly generated number, which includes step size variability. \(Diversity\) symbolizes diversity of the population. All rabbits’ positions are not only the location of a rabbit selected at random, but also the present globally optimal location, \({x}_{best}\), in detour foraging.
Whereas, \({X}_{i}\left(t\right)\) and \({x}_{j}\left(t\right)\) characterize the locations of rabbit \(i\) and rabbit j, selected at random, at the present iteration. The dynamical factor of step \(R\left(t\right)\) controls the exploration way; however, \({x}_{est}\) signifies the global optimum location. The weight parameter \(\alpha\) fine-tunes the range to which rabbits come nearer to the global optimum location.
Random Hiding-localised development
In the making of candidate hiding locations, the differential variance strategy (DVS) is presented. This approach arbitrarily selects dual locations from the population and utilizes their variances to improve solution diversities, assisting in preventing local bests.
Now, \({x}_{r}1\left(t\right)\) and \({x}_{r}2\left(t\right)\) characterize dual arbitrarily chosen locations of various rabbits. The variance factor of scaling \(F\) controls the degree of the variance between these locations, so regulating the upgraded stage of the solution.
Updated locations
The memory pool mechanism, \(M\), is presented for storing the best location established in every round.
Now, \({X}_{mem}\) characterizes the historically optimum location chosen from the memory pool. The dynamical factor of step \(R\left(t\right)\) controls the step size. β serves as the weighting parameter, controlling the influence of memory, and is naturally fixed to a constant lower than \(1\). \(Diversity\) refers to the diversity of the population.
If \(A>1\), the model carried out detour foraging, utilizing adaptive step-size and a globally best-referenced method. If \(A\le1\), it uses the DVS to improve local searching. This model then generates numerous candidate positions, computes their fitness values, upgrades these positions, and utilizes a memory pool mechanism for referencing historic optimum solutions. This loop continues until the maximum iteration count is reached, finally outputting the optimum solution. Algorithm 1 describes the ROA technique.
ROA model.
Table 1 specifies the key parameters of the MIX_LSTM model that are optimized using the ROA and comprising the learning rate, optimizer and batch size. The depth and capacity of the model is defined by the number of LSTM units, while dropout rate assists in preventing overfitting by randomly deactivating neurons during training. The global best solution and local search variance are influenced by the ROA-specific parameters such as α and F, respectively. Finally, population size (\(N\)) and maximum iterations (\(T\)) determine the candidate solution number and the stopping criterion for the optimization process. Altogether, these hyperparameters assist the model toward achieving high classification accuracy while maintaining efficiency and generalization.
The fitness selection is a substantial factor that significantly influences the performance of ROA. The hyperparameter range procedure includes the solution-encoded system to calculate the effectiveness of the candidate solution. Here, the ROA reflects accuracy as the key to projecting the FF. Its mathematical calculation is expressed as follows:
Here, \(TP\) and \(FP\) signify the true and false positive values.
Result analysis and discussion
The performance evaluation of the AIBID-SCSA technique is examined under the TON_IoT_Train_Test_Network dataset42. The method is simulated using Python 3.6.5 on a PC with an i5-8600k, 250GB SSD, GeForce 1050Ti 4GB, 16GB RAM, and 1 TB HDD. Parameters include a learning rate of 0.01, ReLU activation, 50 epochs, 0.5 dropout, and a batch size of 5.
The dataset comprises 181,043 samples across ten classes, as detailed in Table 2. The total number of attributes is 43, but the selected attributes are only 17.
Figure 3 shows the classifier results of the AIBID-SCSA model. Figure 3a and b demonstrate the confusion matrices, showing the precise classification and identification of all classes below 70% of the training phase (TRPH) and 30% of the testing phase (TSPH). Figure 3c exhibits the PR examination, which indicates a superior outcome through all classes. Finally, Fig. 3d signifies the ROC examination, exposing qualified performances with high ROC values for different classes.
Classifier outcome of (a-b) 70% TRPH and 30% TSPH of confusion matrices, (c) curve of PR, and (d) curve of ROC.
Table 3 depicts the intrusion detection of the AIBID-SCSA methodology below 70%TRPH and 30%TSPH.
Figure 4 emphasizes the average outcomes provided by the AIBID-SCSA technique below 70% TRPH. The performances indicated that the AIBID-SCSA technique attained effective identification of all classes. On 70%TRPH, the AIBID-SCSA method obtains an \(acc{u}_{y}\) of 99.63%, \(pre{c}_{n}\) of 94.46%, \(sen{s}_{y}\) of 97.57%, \(spe{c}_{y}\) of 99.79%, and \({F}_{measure}\)of 95.63%. The Mitm method attained the lowest \(acc{u}_{y}\) of 99.58%, \(pre{c}_{n}\) of 58.10%, \(sen{s}_{y}\) of 92.18%, \(spe{c}_{y}\) of 99.62%, and \({F}_{measure}\) of 71.27%, respectively.
Figure 5 produces a typical solution of the AIBID-SCSA approach below 30% TSPH. The performances exemplified that the AIBID-SCSA model gained efficacious detection of all classes. On 30%TSPH, the AIBID-SCSA model obtains an \(acc{u}_{y}\) of 99.61%, \(pre{c}_{n}\) of 94.53%, \(sen{s}_{y}\) of 97.52%, \(spe{c}_{y}\) of 99.79%, \({F}_{measure}\) of 95.66%, MCC of 95.63%, and Kappa of 97.90%. On the contrary, the Mitm model obtained the lowest \(acc{u}_{y}\) of 99.57%, \(pre{c}_{n}\) of 59.33%, \(sen{s}_{y}\) of 92.35%, \(spe{c}_{y}\) of 99.62%, \({F}_{measure}\) of 72.25%, MCC of 95.62%, and Kappa of 97.91%, subsequently.
Average of the AIBID-SCSA method under 70%TRPH and 30%TSPH.
In Fig. 5, the training (TRA) \(acc{u}_{y}\) and validation (VAL) \(acc{u}_{y}\) outcomes of the AIBID-SCSA approach are depicted. The \(acc{u}_{y}\)values are computed through a range of 0–30 epochs. The figure pointed out that the values of TRA and VAL \(acc{u}_{y}\) express an increasing trend, notifying the proficiency of the AIBID-SCSA approach with enhanced performance through numerous iterations. Moreover, the TRA and VAL \(acc{u}_{racy}\) values remain close throughout the epochs, indicating reduced overfitting and demonstrating the maximal performance of the AIBID-SCSA technique, ensuring consistent predictions on unseen samples.
\(Acc{u}_{y}\) curve of AIBID-SCSA model.
The TRA loss (TRALOS) and VAL loss (VALLOS) graph of the AIBID-SCSA approach is shown in Fig. 6. The values of loss are calculated across a range of 0–30 epochs. It is revealed that the values of TRALOS and VALLOS signify a diminishing trend, which indicates the proficiency of the AIBID-SCSA method in harmonizing an exchange between data fitting and generalization. The constant reduction in loss values further secures the optimal performance of the AIBID-SCSA method and fine-tunes the prediction results over time.
Loss curve of the AIBID-SCSA model.
Table 4; Fig. 7 examine the comparison results of the AIBID-SCSA technique with existing models43,44 on the TON_IoT_Train_Test_Network dataset. The table values implied that the AIBID-SCSA technique has attained valid performance. The results emphasized that the ECNNSE, BOA, Transformer-CNN-LSTM techniques attained lower outcomes. Furthermore, the LSTM, LDA, and kNN methodologies have specified slightly enhanced performance. Meanwhile, RNN, MER-ODLADT, and CART models have obtained nearby solutions. Subsequently, the AIBID-SCSA model specified higher performance with better \(sen{s}_{y}\), \(spe{c}_{y}\), \(acc{u}_{y}\), and \(pre{c}_{n}\) of 97.57%, 99.79%, 99.63%, and 94.46% respectively.
Comparative analysis of the AIBID-SCSA approach with existing methods.
Table 5; Fig. 8 indicate the comparison study analysis of the AIBID-SCSA technique with existing models under the CIC-IDS2017 dataset45. The LR model attained an \(acc{u}_{y}\) of 93.40%, \(pre{c}_{n}\) of 92.41%, recall of 91.19%, and \(spe{c}_{y}\) of 92.52%. The GA-ANN obtained an \(acc{u}_{y}\) of 81.50%, \(pre{c}_{n}\) of 91.91%, \(sen{s}_{y}\) of 87.50%, and \(spe{c}_{y}\) of 97.05%. The GSPSO-ANN reached an \(acc{u}_{y}\)of 84.00%, \(pre{c}_{n}\) of 90.07%, \(sen{s}_{y}\) of 87.52%, and \(spe{c}_{y}\) of 89.78%. BiGAN recorded an \(acc{u}_{y}\) of 82.30%, \(pre{c}_{n}\) of 93.77%, \(sen{s}_{y}\) of 87.89%, and \(spe{c}_{y}\) of 85.12%. DNN method achieved an \(acc{u}_{y}\) of 94.60%, \(pre{c}_{n}\) of 85.62%, \(sen{s}_{y}\) of 96.70%, and \(spe{c}_{y}\) of 85.74%. Likewise, the AdaBoost technique attained an \(acc{u}_{y}\) of 88.90%, \(pre{c}_{n}\) of 87.28%, \(sen{s}_{y}\) of 92.10%, and \(spe{c}_{y}\) of 95.55%. SDAE-SVM obtained an \(acc{u}_{y}\) of 95.40%, \(pre{c}_{n}\) of 91.90%, \(sen{s}_{y}\) of 93.04%, and \(spe{c}_{y}\) of 97.48%. The AIBID-SCSA methodology outperformed all other approaches with an \(acc{u}_{y}\) of 98.59%, \(pre{c}_{n}\) of 98.48%, \(sen{s}_{y}\) of 98.61%, and \(spe{c}_{y}\) of 98.43%. Overall, the comparison highlights that the AIBID-SCSA methodology achieved the highest performance across all metrics, followed closely by SDAE-SVM and DNN, while GA-ANN and BiGAN illustrated robust precision but lower overall \(acc{u}_{y}\).
Comparative analysis of AIBID-SCSA methodology with existing models on the CIC-IDS2017 dataset.
Table 6; Fig. 9 depict the comparison assessment of the AIBID-SCSA approach with existing methods under the Edge-IIoT dataset46. The CNN method attained an \(acc{u}_{y}\) of 93.85%, \(pre{c}_{n}\) of 93.87%, \(sen{s}_{y}\) of 93.85%, and \(spe{c}_{y}\) of 93.84% were achieved by CNN. VGG16 obtained an \(acc{u}_{y}\) of 77.81%, \(pre{c}_{n}\) of 60.85%, \(sen{s}_{y}\) of 77.81%, and \(spe{c}_{y}\) of 68.20%. Likewise, VGG19 recorded an \(acc{u}_{y}\) of 98.95%, \(pre{c}_{n}\) of 98.93%, \(sen{s}_{y}\) of 98.95%, and \(spe{c}_{y}\) of 98.93%. Similarly, the InceptionResNetV2 approach achieved an \(acc{u}_{y}\) of 95.43%, \(pre{c}_{n}\) of 96.21%, \(sen{s}_{y}\) of 95.43%, and \(spe{c}_{y}\) of 94.95%. EfficientNetB7 reached an \(acc{u}_{y}\) of 98.78%, \(pre{c}_{n}\) of 98.78%, \(sen{s}_{y}\) of 98.78%, and \(spe{c}_{y}\) of 98.78%. Moreover, the Xception model obtained an \(acc{u}_{y}\) of 72.04%, \(pre{c}_{n}\) of 51.90%, \(sen{s}_{y}\) of 72.04%, and \(spe{c}_{y}\) of 60.33%. The AIBID-SCSA technique outperformed all other models with an \(acc{u}_{y}\) of 99.00%, \(pre{c}_{n}\) of 98.98%, \(sen{s}_{y}\) of 99.01%, and \(spe{c}_{y}\) of 99.00%. Overall, the comparison shows that the AIBID-SCSA technique achieved the highest performance across all metrics.
Comparison assessment of AIBID-SCSA approach with existing methods on the Edge-IIoT dataset.
Table 7; Fig. 10 portray the computational time (CT) analysis of the AIBID-SCSA model with existing approaches. The ECNNSE method took CT of 7.82 s, while BOA required 9.17 s. Transformer-CNN-LSTM achieved a faster CT of 5.81 s. The RNN required CT of 23.21 s, and the LSTM classifier took CT of 17.93 s. MER-ODLADT completed in 6.47 s, whereas the LDA methodology needed 11.35 s. The kNN approach had the longest CT of 29.96 s, and the CART method required 12.48 s. The AIBID-SCSA method illustrated the fastest performance with a CT of 4.07 s, outperforming all other approaches and indicating its efficiency for real-time applications.
CT evaluation of AIBID-SCSA model with existing approaches on the TON_IoT_Train_Test_Network dataset.
Table 8; Fig. 11 demonstrate the error analysis of the AIBID-SCSA technique with existing models. The ECNNSE model attained lower \(sen{s}_{y}\) and \(spe{c}_{y}\) of 13.28% and 29.98%, while BOA and Transformer-CNN-LSTM obtained 11.33%, 12.31% and 7.00%, 7.03%, respectively. Conventional models such as LDA and kNN showed relatively higher \(sen{s}_{y}\) and \(spe{c}_{y}\), with LDA achieving \(sen{s}_{y}\) of 14.06% and \(spe{c}_{y}\) of 30.55%, and kNN showing 11.97% and 12.85% respectively, but their accuracy remained modest at 12.88% and 11.25%. The LSTM exhibited low \(acc{u}_{y}\) at 3.41% despite a \(pre{c}_{n}\) of 6.42%. MER-ODLADT exhibited limited performance overall, with \(sen{s}_{y}\) of 3.65%, \(spe{c}_{y}\) of 2.08%, and \(acc{u}_{y}\) of just 0.56%. The CART method exhibited uniform but low scores. In contrast, the AIBID-SCSA method recorded the lowest error rates, including \(sen{s}_{y}\) of 2.43%, \(spe{c}_{y}\) of 0.21%, \(acc{u}_{y}\) of 0.37%, and \(pre{c}_{n}\) of 5.54%, highlighting a significant reduction in false predictions and misclassifications compared to all baseline methods.
Error evaluation of AIBID-SCSA technique with existing models on the TON_IoT_Train_Test_Network dataset.
Table 9 depict the ablation study analysis of the AIBID-SCSA methodology. The LSTM without the mixed model attained an \(acc{u}_{y}\) of 96.80%, \(pre{c}_{n}\) of 91.80%, \(sen{s}_{y}\) of 94.91%, and \(spe{c}_{y}\) of 97.15%. MIX_LSTM with the mixed model obtained an \(acc{u}_{y}\) of 97.60%, \(pre{c}_{n}\) of 92.41%, \(sen{s}_{y}\) of 95.67%, and \(spe{c}_{y}\) of 97.92%. MIX_LSTM integrated with ISSA, using feature selection but without parameter tuning, achieved an \(acc{u}_{y}\) of 98.32%, \(pre{c}_{n}\) of 93.19%, \(sen{s}_{y}\) of 96.22%, and \(spe{c}_{y}\) of 98.67%. MIX_LSTM with ROA, without feature selection but with parameter tuning, reached an \(acc{u}_{y}\) of 99.08%, \(pre{c}_{n}\) of 93.87%, \(sen{s}_{y}\) of 96.99%, and \(spe{c}_{y}\) of 99.28%. The AIBID-SCSA method, incorporating both feature selection and parameter tuning, outperformed all previous configurations with an \(acc{u}_{y}\) of 99.63%, \(pre{c}_{n}\) of 94.46%, \(sen{s}_{y}\) of 97.57%, and \(spe{c}_{y}\) of 99.79%. Overall, the ablation study demonstrates that combining feature selection with parameter tuning significantly enhances performance, with the AIBID-SCSA method achieving the highest results across all evaluation metrics.
Table 10 specify the computational efficiency of the AIBID-SCSA approach over recent models47. The AIBID-SCSA approach illustrated the highest efficiency, recording the lowest FLOPs at 213.034, minimal GPU usage at 07.12, and the fastest inference time of 09.66 s. In contrast, VGG16 + CBAM depicted the highest computational cost with 30802.32 FLOPs, 254.213 GPU usage, and an inference time of 17.84 s. While ResNet50 had a moderate GPU load of 94.052 and inference time of 15.61 s, integrating CBAM increased its GPU usage to 126.082 and inference time to 19.34 s, with slight change in FLOPs. MobileNetV1 + CBAM depicted improved FLOPs at 1136.97 but still lagged with a GPU usage of 22.398 and inference time of 18.36 s. EfficientNetB0 and its CBAM variant provided a good trade-off between resource consumption and speed, with inference times of 17.08 and 17.00 s respectively, but still required significantly more GPU power than the AIBID-SCSA technique, accentuating the superior efficiency of the model. This demonstrates that careful optimization can substantially reduce computational overhead without compromising performance.
Conclusion
In this paper, the AIBID-SCSA technique is proposed. The main goal of the AIBID-SCSA technique is to improve the accuracy and efficiency of attack detection in assisted 6G-IoT networks. It contains four distinct processes, such as data normalization, ISSA-based feature selection, MIX_LSTM-based classification, and ROA-based tuning. Initially, the AIBID-SCSA technique applies min-max normalization to scale the input data into a uniform format. Furthermore, the ISSA-based FS is employed to identify the most relevant features from the network traffic data. For the classification of intrusion detection, the MIX_LSTM model is used. Finally, the ROA model is implemented for the hyperparameter selection process to optimize the detection results of the MIX_LSTM model. The experimental validation of the AIBID-SCSA method is investigated under the TON_IoT_Train_Test_Network dataset. The comparison analysis of the AIBID-SCSA method portrayed a superior accuracy value of 99.63% over existing models. The limitations comprise dependence on a single dataset, which may not fully represent the diversity and complexity of real-world network environments, potentially restricting the generalizability of the results. The model may also be examined on more complex or adversarial datasets, and handling unbalanced or low-quality data remains a threat that needs additional exploration through advanced data augmentation or reweighting techniques. The model also presents limited insight into how the proposed system can be adapted or scaled for practical 6G networks. Future work may concentrate on hardware implementation, integration with edge or fog computing platforms, and improving adaptability to growing cyber threats through continual learning or federated IDSs to ensure sustainable and secure deployment.
Data availability
The data supporting this study’s findings are openly available in the repository at [https://github.com/assirims/6GNetworks](https:/github.com/assirims/6GNetworks).
References
Kang, W., Zhang, L., Hu, Z. & Xia, Z. A secure and efficient data aggregation scheme for cloud–edge collaborative smart meters. Int. J. Electr. Power Energy Syst. 162, 110270. (2024). https://doi.org/10.1016/j.ijepes.2024.110270
Cai, Y. et al. Flexible and robust communication-assisted protection strategy for distribution networks based on comprehensive feature recognition. Int. J. Electr. Power Energy Syst. 133, 107221. https://doi.org/10.1016/j.ijepes.2021.107221 (2021).
Abd Elaziz, M. et al. Evolution toward intelligent communications: Impact of deep learning applications on the future of 6G technology. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 14 (1), e1521. https://doi.org/10.1002/widm.1521 (2024).
Gera, B. et al. Leveraging AI-enabled 6G‐driven IoT for sustainable smart cities. Int. J. Commun. Syst. 36 (16), e5588. https://doi.org/10.1002/dac.5588 (2023).
Kermani, A. Y., Abdollahi, A. & Rashidinejad, M. Cyber-secure energy and flexibility scheduling of interconnected local energy networks with introducing an XGBoost-assisted false data detection and correction method. Int. J. Electr. Power Energy Syst. 155, 109683. https://doi.org/10.1016/j.ijepes.2023.109683 (2024).
Dai, Y. et al. Collaborative optimization of distribution network and 5G base stations considering its communication load migration and energy storage dynamic backup flexibility. Int. J. Electr. Power Energy Syst. 160, 110124. https://doi.org/10.1016/j.ijepes.2024.110124 (2024).
Mahmood, M. R., Matin, M. A., Sarigiannidis, P. & Goudos, S. K. A comprehensive review on artificial intelligence/machine learning algorithms for empowering the future IoT toward 6G era. IEEE Access. 10, 87535–87562. https://doi.org/10.1109/ACCESS.2022.3199689 (2022).
Agbeko, M. & Handa, D. Deep learning-based sensitive data detection with optimization-enabled secure encryption model for data privacy preservation in IoT. J. Intell. Syst. Internet Things. 16 (2). https://doi.org/10.54216/JISIoT.160211 (2025).
Alasali, F. et al. A clustering-based multi-setting overcurrent protection approach with optimisation and experimental validation for distribution networks. Int. J. Electr. Power Energy Syst. 170, 110841. https://doi.org/10.1016/j.ijepes.2025.110841 (2025).
Aldeen, Y. A. A. S. et al. A hybrid heuristic AI technique for enhancing intrusion detection systems in IoT environments. J. Intell. Syst. Internet Things 14 (1). https://doi.org/10.54216/JISIoT.140101 (2025).
Ibrahim, A. M. et al. Advancing 6G-IoT networks: Willow catkin packet transmission scheduling with AI and Bayesian game-theoretic approach-based resource allocation. Internet Things. 25, 101119. https://doi.org/10.1016/j.iot.2024.101119 (2024).
Garg, N. et al. On the design of an AI-driven secure communication scheme for internet of medical things environment. Digit. Commun. Netw. 9 (5), 1080–1089. https://doi.org/10.1016/j.dcan.2022.04.009 (2023).
Du, P. et al. AI-Based UAVs 3D coverage deployment in 6G-enabled IoV networks for Industry 5.0. IEEE Trans. Consum. Electron. https://doi.org/10.1109/TCE.2024.3513 (2024).
Sedjelmaci, H. & Ansari, N. Zero trust architecture empowered attack detection framework to secure 6 g edge computing. IEEE Netw. 38 (1), 196–202. https://doi.org/10.1109/MNET.131.2200513 (2023).
Nguyen, C. T. et al. Emerging technologies for 6G non-terrestrial-networks: From academia to industrial applications. arXiv preprint arXiv:2403.07763, (2024). https://doi.org/10.1109/OJCOMS.2024.3418574
Irshaid, M. B., Salameh, H. B. & Jararweh, Y. Intelligent multichannel cross-layer framework for enhanced energy-efficiency in 6G-IoT wireless networks. Sustain. Energy Technol. Assess. 57, 103211. https://doi.org/10.1016/j.seta.2023.1032 (2023).
vel, R. O. et al. B. and February. Adversarial AI Based framework for enhancing security of IoT networks. In International Conference on Emerging Trends in Mathematical Sciences & Computing 222–240 (Springer, 2024). https://doi.org/10.1007/978-3-031-71125-1_18
Dai, Z. et al. An intrusion detection model to detect zero-day attacks in unseen data using machine learning. PloS One. 19 (9), e0308469. https://doi.org/10.1371/journal.pone.03 (2024).
Baseer, A. et al. AI-driven blockchain for secure and scalable federated learning in 6G-NTN-enabled UAV networks. AIP Adv. 15 (9). https://doi.org/10.1063/5.0293257 (2025).
Sana, L. et al. Securing the IoT cyber environment: Enhancing intrusion anomaly detection with vision transformers. IEEE Access. 12, 82443–82468. https://doi.org/10.1109/ACCESS.2024.3404778 (2024).
Jithish, J., Mahalingam, N., Wang, B. & Yeo, K. S. Towards enhancing security for upcoming 6G-ready smart grids through federated learning and cloud solutions. Cybersecurity 8 (1). https://doi.org/10.1186/s42400-024-00350-5 (2025).
He, Z., Yang, J., Alroobaea, R., Por, L. Y. & SeizureLSTM An optimal attention-based trans-LSTM network for epileptic seizure detection using optimal weighted feature integration. Biomed. Signal. Process. Control. 96, 106603. https://doi.org/10.1016/j.bspc.2024.106603 (2024).
Walia, G. K., Kumar, M., Kumar, S. & Gill, S. S. Amalgamation of computational intelligence and 6G-enabled AIoT networks for Industry 4.0. In Computational Intelligence Techniques for 5G Enabled IoT Networks 255–265 (Springer, 2025). https://doi.org/10.1007/978-3-031-82733-4_16
Islam, S. et al. 6G-Enabled network security in drone technology: Revolutionizing communications and enhancing security applications. In Nordic e-Infrastructure Collaboration Conference 28–44 (Springer, 2024). https://doi.org/10.1007/978-3-031-86240-3_3
Singamaneni, K. K., Budati, A. K., Islam, S., Kolandaisamy, R. & Muhammad, G. A novel hybrid quantum-crypto standard to enhance security and resilience in 6G enabled IoT networks. IEEE J. Sel. Top. Appl. Earth Observ. Remote Sens. https://doi.org/10.1109/JSTARS.2025.3540905 (2025).
Kjwan, H. & Ali, A. Adaptive Covert communication framework for 6G networks integrating quantum cryptography and AI-augmented physical layer security. Int. J. Comput. Electron. Aspects Eng. (IJCEAE). 5 (4). https://doi.org/10.26706/ijceae.5.4.20241108 (2024).
Sadhwani, S., Mathur, A., Muthalagu, R. & Pawar, P. M. 5G-SIID: An intelligent hybrid DDoS intrusion detector for 5G IoT networks. Int. J. Mach. Learn. Cybernet. 16 (2), 1243–1263. https://doi.org/10.1007/s13042-024-02332-y (2025).
Binbusayyis, A. & Sha, M. Secure and privacy-preserving intrusion detection in smart networks via blockchain-based federated learning and optimized deep learning models. High-Confid. Comput. 100355 (2025).
Tawfik, M. Optimized intrusion detection in IoT and fog computing using ensemble learning and advanced feature selection. Plos One. 19 (8), e0304082 (2024).
Sharma, A. & Rani, S. Enhancing 6G-IoT network security: A trustworthy and responsible AI-driven stacked-hybrid model for attack detection. IEEE Internet Things J (2025).
Zhu, K. T., Wu, Y., Yang, R. & Yuan, Q. Anomaly detection in metaverse healthcare and fitness: Bigdata analytics using 6G-enabled internets of things. Wirel Pers Commun. 1–20 (2024).
Sakr, H. A., El-Afifi, M. I., El-Mowafy, M. A. & Ibrahim, H. M. Detecting DDoS threats in IoT-driven 6G-energy hubs networks using machine learning algorithms. Discover Appl. Sci. 7 (9), 1002 (2025).
Farooq, M. & Khan, M. H. Cyber attack detection using machine learning techniques in IoT networks. Architecture 28, 29 (2024).
Soma, V. B. K. R., Ummadisetty, S., Potluri, R., Munagala, N. K. & Velagala, S. K. Fortifying the future of connectivity: Cutting-edge Resi-PAN model for advanced intrusion detection and classification in 6G networks. Cluster Comput. 28 (13), 829 (2025).
Gaurav, A., Gupta, B. B. & Chui, K. T. Optimizing CNN for IoT anomaly detection in 6G using ant lion optimizer and slime mould algorithm. In 2024 IEEE Globecom Workshops (GC Wkshps) 1–6. (IEEE, 2024).
Li, Y., Li, W. & Li, Y. Trustworthy deep learning for anomaly detection and network slicing in 6G-IoT smart homes. IEEE Internet Things J (2025).
Lilhore, U. K., Arya, L., Sharma, Y. K. & Rastogi, R. Privacy and security for 6G’s IoT-connected future in the age of quantum computing. Ind Quantum Comput. Algorithms, Blockchains, Industry 4.0, p. 67. (2024).
Rahmad Ramadhan, L. & Anne Mudya, Y. A Comparative study of Z-score and min-max normalization for rainfall classification in Pekanbaru. J. Data Sci. 2024 (04), 1–8 (2024).
Ding, Y., Yin, S., Dai, Z., Lian, H. & Bu, C. Multi-factor prediction of water inflow from the working face based on an improved SSA-RG-MHA model. Water 16 (23), 3390. https://doi.org/10.3390/w16233390 (2024).
Chen, Z., Li, Z., Huang, J., Liu, S. & Long, H. An effective method for anomaly detection in industrial Internet of Things using XGBoost and LSTM. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-74822-6 (2024).
Ji, X., Lu, C., Xie, B., Guo, H. & Zheng, B. Combination of a rabbit optimization algorithm and a deep-learning-based convolutional neural network–long short-term memory–attention model for Arc Sag prediction of transmission lines. Electronics 13 (23). https://doi.org/10.3390/electronics13234593 (2024).
https://www.kaggle.com/datasets/fadiabuzwayed/ton-iot-train-test-network
Alsaedi, A., Moustafa, N., Tari, Z., Mahmood, A. & Anwar, A. TON_IoT telemetry dataset: A new generation dataset of IoT and IIoT for data-driven intrusion detection systems. IEEE Access, 8, 165130–165150. https://doi.org/10.1109/ACCESS.2020.3022862 (2020).
Alshahrani, H. et al. Energy aware routing with optimal deep learning based anomaly detection in 6G-IoT networks. Sustain. Energy Technol. Assess. 60, 103494. https://doi.org/10.1016/j.seta.2023.103494 (2023).
Deng, M. et al. Network intrusion detection based on deep belief network broad equalization learning system. Electronics 13 (15), 3014 (2024).
Zhou, H., Zou, H., Li, W., Li, D. & Kuang, Y. HiViT-IDS: An efficient network intrusion detection method based on vision transformer. Sensors 25 (6), 1752 (2025).
Abdelhamid, S., Hegazy, I., Aref, M. & Roushdy, M. Attention-driven transfer learning model for improved IoT intrusion detection. Big Data Cognit Comput. 8 (9), 116 (2024).
Funding
The authors extend their appreciation to Prince Sattam bin Abdulaziz University for funding this research work through the project number (PSAU/2024/01/29674).
Author information
Authors and Affiliations
Contributions
M.A. conceived the idea, designed the methodology, implemented the AIBID-SCSA algorithm, conducted the experiments, analyzed the results, and wrote and reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Assiri, M. Artificial intelligence-based intrusion detection and secure communication model for sustainable 6G-IoT networks. Sci Rep 16, 12662 (2026). https://doi.org/10.1038/s41598-026-42664-z
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-026-42664-z














