RSIS Repository Open-access research from RSIS International journals

International Journal of Research and Scientific Innovation (IJRSI)

Enhanced Approach for Intrusion Detection System in WSN using Hybrid PSO and Stacked Classifiers

byIfedotun Roseline Idowu; Johnson Tunde Fakoya; Muyiwa Olugbebi

Published November 22, 2025  •  Vol. 12, Issue 10, pp. 4041–4049Open Access
DOI: 10.51244/IJRSI.2025.1210000347

Abstract

The determination of unknown attacks remains a major challenge in WSN. Network Intrusion Detection (NIDS) is a proactive network security protection technology, which provides an effective defense system for WSN. NIDS heavily utilizes approaches for data extraction and Machine Learning (ML) to find anomalies. ML is an artificial intelligence subset that refers to a set of approaches allowing to learn from a preset dataset with improvement without human intervention. In terms of feature Importance. Particle Swarm Optimization (PSO) is a method used to select features in the dataset that contribute the most to predicting the target variable. Working with selected features instead of all the features reduces the risk of over-fitting, improves accuracy and decreases the training time. PSO technique selects optimal features from the preprocessed dataset. Residue Number System (RNS) is a numeral system representing integers by their values modulo several pairwise coprime integers called the moduli. This representation is allowed by Forward Conversion, which asserts that if N is the product of the moduli, there is, in an interval of length N, exactly one integer having any given set of modular values. The goal of the study is to provide NIDS with an attribute selection approach. PSO has been used for that purpose. This proposed feature selection method integrates RNS with the advantages of both empirical mode decomposition to retain most of the relevant features. The Network Intrusion Detection model PSO-RNS is being developed to identify any malicious activity in the network or any unusual behavior in the network, allowing the identification of the illegal activities. The proposed framework validated datasets, UNSW NB-15 to train the ensemble Machine Learning classifiers, KNN, Naïve Bayes and Logistic Regression as base classifiers while Random Forest as meta classifier, all been. stacked for feature selection with PSO optimization technique. In order to enhance the accuracy of the model, RNS is used to extract features from the dataset further using moduli set of {2n - 1, 2n, 2n +1}. The proposed PSO-RNS algorithm performs well in the benchmark function test and effectively guarantees the improvement of PSO feature selection approach. Our model achieved a reduced training time with the inclusion of RNS compared with PSO for (Naïve Bayes + KNN) + Random Forest: CASE A and KNN + Logistic Regression) + Random Forest: CASE B and improved accuracy. The experimental results show that the proposed intrusion detection model has good effects and practical application significance.

Keywords: Forward Conversion, Machine Learning Classifiers, Moduli set, NIDS, PSO, RNS, Stack Ensemble, UNSW NB-15, WSN

JournalInternational Journal of Research and Scientific Innovation (IJRSI)
ISSN2321-2705
Volume / IssueVolume 12, Issue 10
Pages4041–4049
Publication dateNovember 22, 2025
DOI10.51244/IJRSI.2025.1210000347
PublisherRSIS International
LicenseOpen Access

How to cite this article

Ifedotun Roseline Idowu, Johnson Tunde Fakoya, & Muyiwa Olugbebi (2025). Enhanced Approach for Intrusion Detection System in WSN using Hybrid PSO and Stacked Classifiers. International Journal of Research and Scientific Innovation (IJRSI), 12(10), 4041-4049. https://doi.org/10.51244/IJRSI.2025.1210000347

BibTeX

@article{Ifedotun2025,
  title   = {Enhanced Approach for Intrusion Detection System in WSN using Hybrid PSO and Stacked Classifiers},
  author  = {Ifedotun Roseline Idowu and Johnson Tunde Fakoya and Muyiwa Olugbebi},
  journal = {International Journal of Research and Scientific Innovation (IJRSI)},
  volume  = {12},
  number  = {10},
  pages   = {4041--4049},
  year    = {2025},
  doi     = {10.51244/IJRSI.2025.1210000347},
  publisher = {RSIS International}
}