journal article·2023-07-12Open access

A Wasserstein Generative Adversarial Network–Gradient Penalty-Based Model with Imbalanced Data Enhancement for Network Intrusion Detection

Gwo-Chuan Lee, Jyun-Hong Li, Zi-Yang Li

Applied Sciences· Volume 13· Issue 14

Abstract

In today’s network intrusion detection systems (NIDS), certain types of network attack packets are sparse compared to regular network packets, making them challenging to collect, and resulting in significant data imbalances in public NIDS datasets. With respect to attack types with rare data, it is difficult to classify them, even by using various algorithms such as machine learning and deep learning. To address this issue, this study proposes a data augmentation technique based on the WGAN-GP model to enhance the recognition accuracy of sparse attacks in network intrusion detection. The enhanced performance of the WGAN-GP model on sparse attack classes is validated by evaluating three sparse data generation methods, namely Gaussian noise, WGAN-GP, and SMOTE, using the NSL-KDD dataset. Additionally, machine learning algorithms, including KNN, SVM, random forest, and XGBoost, as well as neural network models such as multilayer perceptual neural networks (MLP) and convolutional neural networks (CNN), are applied to classify the enhanced NSL-KDD dataset. Experimental results revealed that the WGAN-GP generation model is the most effective for detecting sparse data probes. Furthermore, a two-stage fine-tuning algorithm based on the WGAN-GP model is developed, fine-tuning the classification algorithms and model parameters to optimize the recognition accuracy of the sparse data probes. The final experimental results demonstrate that the MLP classifier significantly increases the accuracy rate from 74% to 80% after fine tuning, surpassing all other classifiers. The proposed method exhibits a 10%, 7%, and 13% improvement over untuned Gaussian noise enhancement, untuned SMOTE enhancement, and no enhancement.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Internet Traffic Analysis and Secure E-voting · Anomaly Detection Techniques and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Information Engineering, National United University, Miaoli 360302, Taiwan

Department of Computer Science and Engineering, National Taiwan Ocean University, Keelung 202301, Taiwan

References (24)

Show source-provided references
1. Reddy, L.N., Butakov, S., and Zavarsky, P. (2020, January 26–28). Applying ML algorithms to improve traffic classification in intrusion detection systems. Proceedings of the 2020 IEEE 19th International Conference on Cognitive Informatics & Cognitive Computing (ICCI* CC), Beijing, China.10.1109/ICCICC50026.2020.9450218 ↗
2. Chopra, A., Behal, S., and Sharma, V. (2021, January 17–19). Evaluating machine learning algorithms to detect and classify DDoS attacks in IoT. Proceedings of the 2021 8th International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India.
3. Dipon, T.M., Hossain, M.S., and Narman, H.S. (2020, January 25–27). Detecting network intrusion through anomalous packet identification. Proceedings of the 2020 30th International Telecommunication Networks and Applications Conference (ITNAC), Melbourne, Australia.
4. Sadioura, J.S., Singh, S., and Das, A. (2019, January 26–28). Selection of sub-optimal feature set of network data to implement machine learning models to develop an efficient NIDS. Proceedings of the 2019 International Conference on Data Science and Engineering (ICDSE), Patna, India.10.1109/ICDSE47409.2019.8971479 ↗
5. SMOTE: Synthetic minority over-sampling technique10.1613/jair.953 ↗
6. Yan, B., Han, G., Sun, M., and Ye, S. (2017, January 13–16). A novel region adaptive SMOTE algorithm for intrusion detection on imbalanced problem. Proceedings of the 2017 3rd IEEE International Conference on Computer and Communications (ICCC), Chengdu, China.10.1109/CompComm.2017.8322749 ↗
7. Bunkhumpornpat, C., Sinapiromsaran, K., and Lursinsap, C. (2009, January 27–30). Safe-level-SMOTE: Safe-level-synthetic minority over-sampling technique for handling the class imbalanced problem. Proceedings of the Pacific-Asia conference on knowledge discovery and data mining, Bangkok, Thailand.10.1007/978-3-642-01307-2_43 ↗
8. Intrusion detection system using machine learning for vehicular ad hoc networks based on ToN-IoT dataset10.1109/ACCESS.2021.3120626 ↗
9. Lee, B.-S., Kim, J.-W., and Choi, M.-J. (2022, January 28–30). Experimental Comparison of Hybrid Sampling Methods for an Efficient NIDS. Proceedings of the 2022 23rd Asia-Pacific Network Operations and Management Symposium (APNOMS), Takamatsu, Japan.10.23919/APNOMS56106.2022.9919939 ↗
10. Generative adversarial networks10.1145/3422622 ↗
11. Flow-based network traffic generation using generative adversarial networks10.1016/j.cose.2018.12.012 ↗
12. Arjovsky, M., Chintala, S., and Bottou, L. (2017, January 7–9). Wasserstein generative adversarial networks. Proceedings of the International Conference on Machine Learning, Sydney, Australia.
13. Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A. (2017, January 4–9). Improved training of wasserstein GANs. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA.
14. MShahid, R., Blanc, G., Jmila, H., Zhang, Z., and Debar, H. (2020, January 1–4). Generative deep learning for internet of things network traffic generation. Proceedings of the 2020 IEEE 25th Pacific Rim International Symposium on Dependable Computing (PRDC), Perth, Australia.10.1109/PRDC50213.2020.00018 ↗
15. A new metric for probability distributions10.1109/TIT.2003.813506 ↗
16. On information and sufficiency10.1214/aoms/1177729694 ↗
17. Heinonen, J. (2005). Lectures on Lipschitz Analysis, No. 100, University of Jyväskylä.
18. An introduction to kernel and nearest-neighbor nonparametric regression10.1080/00031305.1992.10475879 ↗
19. Support-vector networks10.1007/BF00994018 ↗
20. Random forests10.1023/A:1010933404324 ↗
21. Chen, T., and Guestrin, C. (2016, January 13–17). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
22. Rumelhart, D.E., Hinton, G.E., and Williams, R.J. (1985). Learning Internal Representations by Error Propagation, California University San Diego La Jolla Institute for Cognitive Science.10.21236/ADA164453 ↗
23. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
24. Theoretical comparison between the gini index and information gain criteria10.1023/B:AMAI.0000018580.96245.c6 ↗