Vol.67, No.2, 2021, pp.1429-1445, doi:10.32604/cmc.2021.014172
Intrusion Detection System Using FKNN and Improved PSO
  • Raniyah Wazirali*
College of Computing and Informatics, Saudi Electronic University, Saudi Arabia, Riyadh
* Corresponding Author: Raniyah Wazirali. Email:
Received 03 September 2020; Accepted 30 November 2020; Issue published 05 February 2021
Intrusion detection system (IDS) techniques are used in cybersecurity to protect and safeguard sensitive assets. The increasing network security risks can be mitigated by implementing effective IDS methods as a defense mechanism. The proposed research presents an IDS model based on the methodology of the adaptive fuzzy k-nearest neighbor (FKNN) algorithm. Using this method, two parameters, i.e., the neighborhood size (k) and fuzzy strength parameter (m) were characterized by implementing the particle swarm optimization (PSO). In addition to being used for FKNN parametric optimization, PSO is also used for selecting the conditional feature subsets for detection. To proficiently regulate the indigenous and comprehensive search skill of the PSO approach, two control parameters containing the time-varying inertia weight (TVIW) and time-varying acceleration coefficients (TVAC) were applied to the system. In addition, continuous and binary PSO algorithms were both executed on a multi-core platform. The proposed IDS model was compared with other state-of-the-art classifiers. The results of the proposed methodology are superior to the rest of the techniques in terms of the classification accuracy, precision, recall, and f-score. The results showed that the proposed methods gave the highest performance scores compared to the other conventional algorithms in detecting all the attack types in two datasets. Moreover, the proposed method was able to obtain a large number of true positives and negatives, with minimal number of false positives and negatives.
FKNN; PSO approach; machine learning-based cybersecurity; intrusion detection
Cite This Article
R. Wazirali, "Intrusion detection system using fknn and improved pso," Computers, Materials & Continua, vol. 67, no.2, pp. 1429–1445, 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.