Skip to main content
QUICK REVIEW

[Paper Review] Efficient GAN-based method for cyber-intrusion detection

Hongyu Chen, Li Jiang|arXiv (Cornell University)|Apr 4, 2019
Network Security and Intrusion DetectionComputer Science21 references16 citations
TL;DR

This paper proposes an efficient GAN-based model for cyber-intrusion detection that addresses the challenge of discrete features in imbalanced datasets by introducing a refined loss function and multiple intermediate layers. The model leverages Wasserstein distance and feature matching to improve anomaly detection accuracy while reducing training and inference time, outperforming state-of-the-art GAN-based methods on the KDD-CUP '99 dataset.

ABSTRACT

Ubiquitous anomalies endanger the security of our system constantly. They may bring irreversible damages to the system and cause leakage of privacy. Thus, it is of vital importance to promptly detect these anomalies. Traditional supervised methods such as Decision Trees and Support Vector Machine (SVM) are used to classify normality and abnormality. However, in some case the abnormal status are largely rarer than normal status, which leads to decision bias of these methods. Generative adversarial network (GAN) has been proposed to handle the case. With its strong generative ability, it only needs to learn the distribution of normal status, and identify the abnormal status through the gap between it and the learned distribution. Nevertheless, existing GAN-based models are not suitable to process data with discrete values, leading to immense degradation of detection performance. To cope with the discrete features, in this paper, we propose an efficient GAN-based model with specifically-designed loss function. Experiment results show that our model outperforms state-of-the-art models on discrete dataset and remarkably reduce the overhead.

Motivation & Objective

  • To address the limitations of traditional supervised methods in detecting rare cyber-intrusions due to class imbalance.
  • To overcome the poor performance of standard GANs on discrete features, which suffer from non-overlapping distributions and improper loss functions.
  • To reduce training and inference time in GAN-based anomaly detection for real-time cyber-intrusion detection.
  • To improve detection accuracy by leveraging multiple intermediate layers and a refined loss function for better feature representation and anomaly scoring.

Proposed method

  • The model uses a bilateral generator-discriminator architecture with a refined loss function that combines Wasserstein distance and feature matching to handle non-overlapping distributions of discrete features.
  • It employs multiple intermediate layers in the discriminator to soften decision boundaries and improve anomaly score estimation through layered feature reconstruction.
  • The training process uses Wasserstein distance (L1-based) instead of cross-entropy, which is more suitable for rare and discrete data distributions.
  • Discrete features are preprocessed using one-hot encoding to make them compatible with the GAN framework.
  • Anomaly scores are computed based on the discrepancy between the input sample and the most similar generated normal sample from the latent space.
  • The model is trained only on normal samples, enabling unsupervised anomaly detection.

Experimental results

Research questions

  • RQ1Can a GAN-based model effectively detect cyber-intrusions in datasets with discrete features and severe class imbalance?
  • RQ2How does the use of Wasserstein distance and feature matching improve detection performance on non-overlapping distributions of discrete data?
  • RQ3To what extent does incorporating multiple intermediate layers in the discriminator enhance anomaly score accuracy and model robustness?
  • RQ4How does the proposed model compare in training and inference efficiency to existing state-of-the-art GAN-based anomaly detection models?

Key findings

  • The proposed model achieves a higher F1 score than state-of-the-art models on the KDD-CUP '99 dataset with discrete features, demonstrating superior detection performance.
  • The model reduces training time by approximately 660x on GPU and 1.357x on CPU compared to the BiGAN-based benchmark (Zenati et al., 2018).
  • On CPU, the model achieves an average inference time of 1.4ms per sample, outperforming the BiGAN-based model's 1.9ms.
  • The model maintains high precision and recall across varying contamination rates (1% to 20%), showing robustness to data imbalance.
  • The use of multiple intermediate layers leads to more moderate and reliable anomaly score predictions, reducing overfitting to rare normal patterns.
  • The refined loss function based on Wasserstein distance and feature matching effectively handles the lack of overlap between real and generated distributions in discrete data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.