PloS one

ACGAN-GP-Based synthetic data generation to handle imbalanced data in intrusion detection systems.

Md Tariqul Islam, Md Shohag Hasan, Pintu Chandra Shill, Sohel Rana

Department of Mathematics and Data Science, East West University, Dhaka, Bangladesh. · Department of Electrical and Electronic Engineering, International Islamic University Chittagong, Chittagong, Bangladesh.

Computational

Key points

From the paper's conclusion
  • From these results, it is clear that the proposed approach successfully generates synthetic data to address the data imbalance problem, and the classification results support the model's performance.

Abstract

Obtaining adequate representations of each class is crucial for accurately identifying a wide range of attacks using machine learning (ML) and deep learning (DL) approaches. However, in real-world applications, intrusion detection systems (IDS) are biased toward the majority classes, and datasets are highly skewed. SMOTE, undersampling, and oversampling are popular data augmentation techniques, but they only slightly improve detection performance. This study proposes an autoencoder for feature extraction, an Auxiliary Classifier Generative Adversarial Network (ACGAN) for generating synthetic data to address class imbalance, and Logistic Regression, KNN, Random Forest, Gradient Boosting, Extra Trees, XGBoost, LightGBM, and HGBoost classifiers for classifying the balanced dataset. A gradient penalty is used in ACGAN to ensure consistent model training. The publicly available and very popular benchmark dataset, NSL-KDD, is used to test the model. The framework is also assessed on UNSW_NB15 to examine performance across datasets. To evaluate the performance of the autoencoder and ACGAN-GP, this paper uses the loss curve, reconstructed error distribution, and latent feature representation, as well as precision, recall, F1-score, accuracy, ROC curve, and Wilcoxon model, to assess the outcomes of the selected classifiers. The training and validation losses for the autoencoder decreased sharply, and it accurately extracted complex features. The ACGAN maintains training consistency and successfully produces high-quality synthetic samples to solve the data imbalance problem. Among ensemble models, the Extra Trees classifier achieves the highest accuracy, 99.60%, followed by Random Forest at 99.55%. Among traditional ML models, KNN achieves the highest accuracy, 99.40%, and LR achieves slightly lower accuracy, 94.62%. Among boosting models, LightGBM achieves the highest accuracy, 99.60%, followed by XGBoost at 99.59%. Among all the classifiers, Extra Trees and LightGBM perform well, with equal accuracy of 99.60%, while XGBoost is close (99.59%). Based on the Macro-AUC value, XGBoost is 0.998, followed by LightGBM (0.997). In terms of statistical analysis, Extra Trees performs well compared to other classifiers. The NSL_KDD dataset's performance is significantly better than that of the UNSW_NB15 dataset. From these results, it is clear that the proposed approach successfully generates synthetic data to address the data imbalance problem, and the classification results support the model's performance.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers