Handling class Imbalance problem in Intrusion Detection System based on deep learning
Authors:
- 1 January 2022
- journal article
- research article
- Published by IJNC Editorial Committee in International Journal of Networking and Computing
- Vol. 12 (2) , 467-492
Abstract
Network intrusion detection system(NIDS) is the most used tool to detect malicious network activities. The NIDS has achieved in the recent years promising results for detecting known and novel attacks, with the adoption of deep learning. However, these NIDSs still have shortcomings. Most of the datasets used for NIDS are highly imbalanced, where the number of samples that belong to normal traffic is much larger than the attack traffic. The problem of imbalanced class skews the results. It limits the deep learning classifier’s performance for minority classes by misleading the classifier to be biased in favor of the majority class. To improve the detection rate for minority classes while ensuring efficiency, this study proposes a hybrid approach to handle the imbalance problem. This hybrid approach is a combination of oversampling with Synthetic Minority Over-Sampling (SMOTE) and Tomek link, an under-sampling method to reduce noise. Additionally, this study uses two deep learning models such as Long Short-Term Memory Network (LSTM) and Convolutional Neural Network (CNN) to provide a better intrusion detection system. The advantage of our proposed model is tested in NSL-KDD, CICIDS2017 datasets. In addition, we evaluate the method in the most recent intrusion detection dataset, CICIDS2018 dataset. We use 10-fold cross validation in this work to train the learning models and an independent test set for evaluation. The experimental results show that in the multi-class classification with NSLKDD dataset, the proposed model reached an overall accuracy and Fscore of 99% and 99.0.2% respectively on LSTM, an overall accuracy and Fscore of 99.70% and 99.27% respectively for CNN. And with CICIDS2017 an overall ac- curacy and Fscore of 99.65% and 98 % respectively on LSTM, an overall accuracy and Fscore of 99.85% and 98.98% respectively for CNN. In CICIDS2018 the proposed method achieved an overall detection rate and Fscore of 95% and 94% respectively.Keywords
This publication has 42 references indexed in Scilit:
- Machine Learning and Deep Learning Methods for CybersecurityIEEE Access, 2018
- Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization2018
- A Deep Learning Approach for Intrusion Detection Using Recurrent Neural NetworksIEEE Access, 2017
- Evaluation of Recurrent Neural Network and its Variants for Intrusion Detection System (IDS)International Journal of Information System Modeling and Design, 2017
- An improved NSGA-III algorithm for feature selection used in intrusion detectionKnowledge-Based Systems, 2017
- Class imbalance problem in the Network Intrusion Detection Systems2016
- Random Forest Modeling for Network Intrusion Detection SystemProcedia Computer Science, 2016
- A detailed analysis of the KDD CUP 99 data set2009
- Long Short-Term MemoryNeural Computation, 1997
- An Intrusion-Detection ModelIEEE Transactions on Software Engineering, 1987