Addressing the class imbalance problem in network intrusion detection systems using data resampling and deep learning
Open accessThe DOI matches its Crossref record; 44 of the 44 references it cites were found in a registry or an index.
Abstract
Network intrusion detection systems (NIDS) are the most common tool used to detect malicious attacks on a network. They help prevent the ever-increasing different attacks and provide better security for the network. NIDS are classified into signature-based and anomaly-based detection. The most common type of NIDS is the anomaly-based NIDS which is based on machine learning models and is able to detect attacks with high accuracy. However, in recent years, NIDS has achieved even better results in detecting already known and novel attacks with the adoption of deep learning models. Benchmark datasets in intrusion detection try to simulate real-network traffic by including more normal traffic samples than the attack samples. This causes the training data to be imbalanced and causes difficulties in detecting certain types of attacks for the NIDS. In this paper, a data resampling technique is proposed based on Adaptive Synthetic (ADASYN) and Tomek Links algorithms in combination with different deep learning models to mitigate the class imbalance problem. The proposed model is evaluated on the benchmark NSL-KDD dataset using accuracy, precision, recall and F-score metrics. The experimental results show that in binary classification, the proposed method improves the performance of the NIDS and outperforms state-of-the-art models with an achieved accuracy of 99.8%. In multi-class classification, the results were also improved, outperforming state-of-the-art models with an achieved accuracy of 99.98%.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318 · cited 2×
“This led to developing long short-term memory (LSTM) [63].”
BackgroundMethodSMOTE synthetic minority over-sampling technique
Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002) · Journal of Artificial Intelligence Research · doi:10.1613/jair.953 · Cited by 32,865 · cited 1×
“However, in this work, random oversampling is known to cause overfitting [36], and only the accuracy was reported.”
BackgroundA detailed analysis of the KDD CUP 99 data set
Tavallaee, M., Bagheri, E., Lu, W., & Ghorbani, A. A. (2009) · 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications · doi:10.1109/cisda.2009.5356528 · Cited by 5,396 · cited 5×
“This enables a more accurate comparison between intrusion detection algorithms [44].”
BackgroundMethodInfluentialADASYN: Adaptive synthetic sampling approach for imbalanced learning
He, H., Bai, Y., Garcia, E. A., & Li, S. (2008) · 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence) · doi:10.1109/ijcnn.2008.4633969 · Cited by 4,521 · cited 1×
“ADASYN basic idea is using a weighted distribution for different minority class examples according to their level of difficulty in learning, where more synthetic data are generated for minority class examples that are harder to learn compared to those minority examples that are easier to learn [43].”
BackgroundA Deep Learning Approach for Intrusion Detection Using Recurrent Neural Networks
Yin, C., Zhu, Y., Fei, J., & He, X. (2017) · IEEE Access · doi:10.1109/access.2017.2762418 · Cited by 2,100 · cited 3×
“In [12], a recurrent neural network (RNN) model was proposed and evaluated on the NSL-KDD dataset.”
BackgroundMethodSurvey of intrusion detection systems: Techniques, datasets and challenges
Khraisat, A., Gondal, I., Vamplew, P., & Kamruzzaman, J. (2019) · Cybersecurity · doi:10.1186/s42400-019-0038-7 · Cited by 2,024 · cited 1×
“HIDS monitors data from logs, system calls, etc., but does not monitor network traffic, and thus, it can detect internal attacks not involving the network [7].”
BackgroundNormalization: A Preprocessing Stage
Patro, S. G. K., & sahu, K. K. (2015) · IARJSET · doi:10.17148/iarjset.2015.2305 · Cited by 1,566
A Deep Learning Approach for Network Intrusion Detection System
Javaid, A., Niyaz, Q., Sun, W., & Alam, M. (2016) · Proceedings of the 9th EAI International Conference on Bio-inspired Information and Communications Technologies (formerly BIONETICS) · doi:10.4108/eai.3-12-2015.2262516 · Cited by 1,274 · cited 1×
“1 3 Addressing the class imbalance problem in network intrusion… Anomaly detection in intrusion detection systems was started in 1980 by Anderson [8] whose proposed method was system monitoring to detect anomalies.”
MethodMachine Learning and Deep Learning Methods for Cybersecurity
Xin, Y., Kong, L., Liu, Z., Chen, Y., Li, Y., Zhu, H., Gao, M., Hou, H., & Wang, C. (2018) · IEEE Access · doi:10.1109/access.2018.2836950 · Cited by 1,228 · cited 1×
“On the other hand, deep learning can extract and learn features from the data due to their deep structure [22].”
Background(1976) · Computer-Aided Design · doi:10.1016/0010-4485(76)90048-8 · Cited by 1,046
Multiclass Imbalance Problems: Analysis and Potential Solutions
Wang, S., & Yao, X. (2012) · IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics) · doi:10.1109/tsmcb.2012.2187280 · Cited by 567 · cited 1×
“Detecting the minority class becomes a difficulty which lowers the performance of the intrusion detection system [32].”
BackgroundBeyond one-hot encoding: Lower dimensional target embedding
Rodríguez, P., Bautista, M. A., Gonzàlez, J., & Escalera, S. (2018) · Image and Vision Computing · doi:10.1016/j.imavis.2018.04.004 · Cited by 480 · cited 2×
“3 [47].”
BackgroundBAT: Deep Learning Methods on Network Intrusion Detection Using NSL-KDD Dataset
Su, T., Sun, H., Zhu, J., Wang, S., & Li, Y. (2020) · IEEE Access · doi:10.1109/access.2020.2972627 · Cited by 434 · cited 1×
“The authors in [25] suggested a BAT-MC model for NIDS using NSL-KDD that outputs a 122-feature vector and uses a min-max scaler in the data preprocessing layer.”
MethodSantos, M. S., Soares, J. P., Abreu, P. H., Araujo, H., & Santos, J. (2018) · IEEE Computational Intelligence Magazine · doi:10.1109/mci.2018.2866730 · Cited by 402 · cited 1×
“on the test dataset would generate similar patterns in both training and test datasets, which will result in overestimated results [56].”
MethodMachine learning methods for cyber security intrusion detection: Datasets and comparative study
Kilincer, I. F., Ertam, F., & Sengur, A. (2021) · Computer Networks · doi:10.1016/j.comnet.2021.107840 · Cited by 392 · cited 1×
“In [19] Firat et al. applied SVM, K-near-est neighbors (KNN) and DT algorithms on the NSL-KDD dataset and evaluated by splitting the KDDTrain dataset into train and test sets.”
MethodZhang, H., Huang, L., Wu, C. Q., & Li, Z. (2020) · Computer Networks · doi:10.1016/j.comnet.2020.107315 · Cited by 344 · cited 2×
“This causes the class imbalances problem to appear and be one of the most common challenges in intrusion detection [11].”
BackgroundRobust detection for network intrusion of industrial IoT based on multi-CNN fusion
Li, Y., Xu, Y., Liu, Z., Hou, H., Zheng, Y., Xin, Y., Zhao, Y., & Cui, L. (2020) · Measurement · doi:10.1016/j.measurement.2019.107450 · Cited by 333
Resampling imbalanced data for network intrusion detection datasets
Bagui, S., & Li, K. (2021) · Journal of Big Data · doi:10.1186/s40537-020-00390-x · Cited by 287 · cited 1×
“This imbalance problem is well-known to be dealt with by oversampling and undersam-pling [52].”
BackgroundAdversarial machine learning in Network Intrusion Detection Systems
Alhajjar, E., Maxwell, P., & Bastian, N. (2021) · Expert Systems with Applications · doi:10.1016/j.eswa.2021.115782 · Cited by 251
Intrusion Detection Using Big Data and Deep Learning Techniques
Faker, O., & Dogdu, E. (2019) · Proceedings of the 2019 ACM Southeast Conference · doi:10.1145/3299815.3314439 · Cited by 225 · cited 1×
“Those cyberattacks cause an intrusion on the system which is defined as unauthorized access to the system resulting in a compromise in the confidentiality, integrity and availability (CIA) of security mechanisms of computer or network resources [2].”
Background1D CNN based network intrusion detection with normalization on imbalanced data
Azizjon, M., Jumabek, A., & Kim, W. (2020) · 2020 International Conference on Artificial Intelligence in Information and Communication (ICAIIC) · doi:10.1109/icaiic48513.2020.9064976 · Cited by 220 · cited 1×
“While the two-dimensional CNN has been successfully applied in image recognition, the one dimensional CNN (1D CNN) is more suitable for sequence data [61].”
MethodEnergy-efficient edge based real-time healthcare support system
(2020) · Advances in Computers · doi:10.1016/bs.adcom.2019.09.007 · Cited by 211 · cited 1×
“Some of the uses of MLP are pattern classification, recognition, prediction and approximation [60].”
MethodUsing a Long Short-Term Memory Recurrent Neural Network (LSTM-RNN) to Classify Network Attacks
Muhuri, P. S., Chatterjee, P., Yuan, X., Roy, K., & Esterline, A. (2020) · Information · doi:10.3390/info11050243 · Cited by 180 · cited 2×
“In [13], long short-term memory (LSTM) layers were used to build a model and evaluated on the same dataset achieving a higher accuracy of 93.88%.”
BackgroundMethodInfluentialAn improved NSGA-III algorithm for feature selection used in intrusion detection
Zhu, Y., Liang, J., Chen, J., & Ming, Z. (2017) · Knowledge-Based Systems · doi:10.1016/j.knosys.2016.10.030 · Cited by 174 · cited 1×
“In [34], an improved NSGS-III called I-NSGA-III feature selection algorithm was proposed for solving the imbalance problem in NSL-KDD.”
MethodBedi, P., Gupta, N., & Jindal, V. (2020) · Applied Intelligence · doi:10.1007/s10489-020-01886-y · Cited by 171 · cited 1×
“In [41], seven machine learning models were tested on the NSL-KDD dataset for binary classification including k-means clustering, k-NN, RF, IF, b-XGBoost, DNN and CNN.”
MethodAutoencoder-based deep metric learning for network intrusion detection
Andresini, G., Appice, A., & Malerba, D. (2021) · Information Sciences · doi:10.1016/j.ins.2021.05.016 · Cited by 166 · cited 1×
“A deep metric learning that combines autoencoders and triplet networks to detect attacks was proposed in [40].”
BackgroundCyber Threat Intelligence: Challenges and Opportunities
Conti, M., Dargahi, T., & Dehghantanha, A. (2018) · Advances in information security · doi:10.1007/978-3-319-73951-9_1 · Cited by 159
DeepIDS: Deep Learning Approach for Intrusion Detection in Software Defined Networking
Tang, T. A., Mhamdi, L., McLernon, D., Zaidi, S. A. R., Ghogho, M., & El-Moussa, F. A. (2020) · Electronics · doi:10.3390/electronics9091533 · Cited by 140 · cited 1×
“Another IDS is proposed in [30], and it is based on gated recurrent neural network (GRU-RNN) on a software-define network (SDN) called DeepIDS.”
MethodBedi, P., Gupta, N., & Jindal, V. (2020) · Procedia Computer Science · doi:10.1016/j.procs.2020.04.085 · Cited by 135 · cited 1×
“In recent NIDS researches, not enough attention was given toward the problem of imbalanced data despite its negative effect on the NIDS’s accuracy of detecting attacks [14].”
BackgroundDina, A. S., Siddique, A. B., & Manivannan, D. (2022) · IEEE Access · doi:10.1109/access.2022.3205337 · Cited by 132 · cited 1×
“The authors of [17] proposed machine learning-based intrusion detection systems to classify attacks into normal, dos, probe, r2l and u2r.”
BackgroundLe, T.-T.-H., Kim, Y., & Kim, H. (2019) · Applied Sciences · doi:10.3390/app9071392 · Cited by 127 · cited 1×
“In [31], feature selection was implemented using sequence forward selection (SFS) algorithm and decision tree (DT) model before anomaly detection.”
MethodSoheily-Khah, S., Marteau, P.-F., & Béchet, N. (2018) · International Conference on Data Intelligence and Security (ICDIS) · doi:10.1109/icdis.2018.00043 · Cited by 105 · cited 1×
“Building on this work, Soheily et al. [20] proposed a hybrid NIDS based on K-means and RF(KM-RF) and evaluated the proposed algorithm on the NSL-KDD dataset.”
MethodEvaluation of Recurrent Neural Network and its Variants for Intrusion Detection System (IDS)
Vinayakumar, R., Soman, K. P., & Poornachandran, P. (2017) · International Journal of Information System Modeling and Design · doi:10.4018/ijismd.2017070103 · Cited by 105 · cited 1×
“2 Recurrent neural networks (RNN) Recurrent neural networks (RNNs) are a class of neural networks which can deal with sequential data [62].”
BackgroundComparative Analysis of ML Classifiers for Network Intrusion Detection
Mahfouz, A. M., Venugopal, D., & Shiva, S. G. (2020) · Advances in intelligent systems and computing · doi:10.1007/978-981-32-9343-4_16 · Cited by 95 · cited 1×
“One of the techniques used for anomaly detection is machine learning, which has shown ability to detect the differences between normal and anomaly traffic as shown in [10].”
MethodAn Intrusion Detection System Based on Convolutional Neural Network for Imbalanced Network Traffic
Zhang, X., Jing, R., & Mi, J. (2019) · International Conference on Computer Science and Network Technology (ICCSNT) · doi:10.1109/iccsnt47585.2019.8962490 · Cited by 80 · cited 1×
“In [38], Zhang et al. propose SMOTE combined with edited nearest neighbors (SMOTE-ENN) and deep neural network (DNN) algorithm to evaluate on the NSL-KDD dataset.”
MethodToward Efficient Intrusion Detection System Using Hybrid Deep Learning Approach
Aldallal, A. S. (2022) · Symmetry · doi:10.3390/sym14091916 · Cited by 80
Anomaly-Based Intrusion Detection System
Jyothsna, V., & Prasad, K. M. (2019) · IntechOpen eBooks · doi:10.5772/intechopen.82287 · Cited by 76
Empirical study on multiclass classification‐based network intrusion detection
Elmasry, W., Akbulut, A., & Zaim, A. H. (2019) · Computational Intelligence · doi:10.1111/coin.12220 · Cited by 74 · cited 1×
“Achieving high accuracies that does not correctly reflect the performance of the model is called an accuracy paradox [51].”
BackgroundZhou, X., Zhao, C., Sun, J., Yao, K., & Xu, M. (2022) · Spectrochimica Acta Part A Molecular and Biomolecular Spectroscopy · doi:10.1016/j.saa.2022.122288 · Cited by 55
Hadi, M. R., & Mohammed, A. S. (2022) · International Conference on Machine Learning & Applications (CMLA) · doi:10.5121/csit.2022.121106 · Cited by 47 · cited 1×
“Finally, in [27], a CNN model was used and evaluated after splitting the KDDTrain dataset to achieve an accuracy of 98.63 % which is the highest compared to other models.”
MethodInfluentialIntrusion Traffic Detection and Characterization using Deep Image Learning
Kaur, G., Lashkari, A. H., & Rahali, A. (2020) · IEEE Intl Conf on Dependable, Autonomic and Secure Computing, Intl Conf on Pervasive Intelligence and Computing, Intl Conf on Cloud and Big Data Computing, Intl Conf on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech) · doi:10.1109/dasc-picom-cbdcom-cyberscitech49142.2020.00025 · Cited by 38
RST-RF: A Hybrid Model based on Rough Set Theory and Random Forest for Network Intrusion Detection
Jiang, J., Wang, Q., Shi, Z., Lv, B., & Qi, B. (2018) · International Conference on Cryptography, Security and Privacy (CSP) · doi:10.1145/3199478.3199489 · Cited by 31
Aribisala, A., Khan, M. S., & Husari, G. (2021) · IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON) · doi:10.1109/iemcon53756.2021.9623067 · Cited by 20 · cited 1×
“The authors of [23] used a sequential feedforward neural network (SEQ-FFNN) to detect and classify attack packets and evaluated the model on the KDDTrain dataset achieving accuracies of 98.”
MethodDeep learning-driven MIMO: Data encoding and processing mechanism
Song, Z., & Ma, J. (2022) · Physical Communication · doi:10.1016/j.phycom.2022.101976 · Cited by 17
Metadata
- Authors
- Abdelkhalek, A., & Mashaly, M.
- Venue
- The Journal of Supercomputing
- Published
- 2023-02-12
- Volume
- 79
- Issue
- 10
- Pages
- 10611-10644
- ISSN
- 0920-8542 (ISSN-L)
- 1573-0484
- OpenAlex
- W4321240473
- Cited by
- 172
- References
- 44
- FWCI
- 19.32
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.