Back to Search Start Over

Network Intrusion Detection Using Knapsack Optimization, Mutual Information Gain, and Machine Learning.

Authors :
Afolabi, Akindele S.
Akinola, Olubunmi A.
Source :
Journal of Electrical & Computer Engineering; 6/1/2024, Vol. 2024, p1-21, 21p
Publication Year :
2024

Abstract

The security of communication networks can be compromised through both known and novel attack methods. Protection against such attacks may be achieved through the use of an intrusion detection system (IDS), which can be designed by training machine learning models to detect cyberattacks. In this paper, the KOMIG (knapsack optimization and mutual information gain) IDS was developed to detect network intrusions. The KOMIG IDS combined the strengths of optimization and machine learning together to achieve a high intrusion detection performance. Specifically, KOMIG IDS comprises a 2-stage feature selection procedure; the first was accomplished with a knapsack optimization algorithm and the second with a mutual information gain filter. In particular, we developed an optimization model for the selection of the most important features from a network intrusion dataset. Then, a new set of features was synthesized from the selected features and combined with the selected features to form a candidate features set. Next, we applied an information gain filter to the candidate features set to prune out redundant features, leaving only the features that possess the maximum information gain, which were used to train machine learning models. The proposed KOMIG IDS was applied to the UNSW-NB15 dataset, which is a well-known network intrusion evaluation dataset, and the resulting data, after optimization operation, were used to train four machine learning models, namely, logistic regression (LR), random forest (RF), decision tree (DT), and K-nearest neighbors (KNN). Simulation experiments were conducted, and the results revealed that our proposed KNN-based KOMIG IDS outperformed comparative schemes by achieving an accuracy score of 97.14%, a recall score of 99.46%, a precision score of 95.53%, and an F1 score of 97.46%. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20900147
Volume :
2024
Database :
Complementary Index
Journal :
Journal of Electrical & Computer Engineering
Publication Type :
Academic Journal
Accession number :
177606134
Full Text :
https://doi.org/10.1155/2024/7302909