Skip to main content
QUICK REVIEW

[Paper Review] 1D CNN Based Network Intrusion Detection with Normalization on Imbalanced Data

Azizjon Meliboev, Jumabek Alikhanov|arXiv (Cornell University)|Mar 1, 2020
Network Security and Intrusion DetectionComputer Science17 references5 citations
TL;DR

This paper proposes a 1D-CNN-based intrusion detection system that processes serialized TCP/IP packets as time-series data to detect network intrusions. It outperforms traditional machine learning models like Random Forest and SVM on the UNSW-NB15 dataset, especially under data imbalance, due to effective hierarchical feature learning from network traffic patterns.

ABSTRACT

Intrusion detection system (IDS) plays an essential role in computer networks protecting computing resources and data from outside attacks. Recent IDS faces challenges improving flexibility and efficiency of the IDS for unexpected and unpredictable attacks. Deep neural network (DNN) is considered popularly for complex systems to abstract features and learn as a machine learning technique. In this paper, we propose a deep learning approach for developing the efficient and flexible IDS using one-dimensional Convolutional Neural Network (1D-CNN). Two-dimensional CNN methods have shown remarkable performance in detecting objects of images in computer vision area. Meanwhile, the 1D-CNN can be used for supervised learning on time-series data. We establish a machine learning model based on the 1D-CNN by serializing Transmission Control Protocol/Internet Protocol (TCP/IP) packets in a predetermined time range as an invasion Internet traffic model for the IDS, where normal and abnormal network traffics are categorized and labeled for supervised learning in the 1D-CNN. We evaluated our model on UNSW\_NB15 IDS dataset to show the effectiveness of our method. For comparison study in performance, machine learning-based Random Forest (RF) and Support Vector Machine (SVM) models in addition to the 1D-CNN with various network parameters and architecture are exploited. In each experiment, the models are run up to 200 epochs with a learning rate in 0.0001 on imbalanced and balanced data. 1D-CNN and its variant architectures have outperformed compared to the classical machine learning classifiers. This is mainly due to the reason that CNN has the capability to extract high-level feature representations that represent the abstract form of low-level feature sets of network traffic connections.

Motivation & Objective

  • Address the challenge of detecting unpredictable and evolving cyberattacks in real-time network traffic.
  • Improve the flexibility and efficiency of intrusion detection systems (IDS) using deep learning.
  • Overcome the limitations of traditional machine learning models in handling imbalanced network traffic data.
  • Develop a 1D-CNN architecture tailored for time-series network packet sequences to extract high-level features.
  • Evaluate the model’s performance against classical classifiers (SVM, RF) under both balanced and imbalanced data conditions.

Proposed method

  • Transform raw TCP/IP packets into time-series sequences by serializing them within a fixed time window to form input data for the 1D-CNN.
  • Apply normalization techniques to mitigate the impact of class imbalance in the UNSW-NB15 dataset during training.
  • Train the 1D-CNN model for up to 200 epochs with a fixed learning rate of 0.0001 on both imbalanced and balanced data splits.
  • Use supervised learning to classify network traffic as normal or abnormal based on labeled data from the UNSW-NB15 dataset.
  • Compare the 1D-CNN with traditional models (SVM, Random Forest) using the same training and evaluation protocol.
  • Leverage the hierarchical feature extraction capability of 1D-CNNs to learn abstract representations from low-level network traffic features.

Experimental results

Research questions

  • RQ1Can a 1D-CNN model effectively detect network intrusions by treating serialized TCP/IP packets as time-series data?
  • RQ2How does normalization improve the performance of deep learning models on imbalanced network intrusion detection datasets?
  • RQ3To what extent does the 1D-CNN outperform classical machine learning models like SVM and Random Forest in intrusion detection?
  • RQ4How do different 1D-CNN architectures and hyperparameters affect detection accuracy on the UNSW-NB15 dataset?
  • RQ5Does the hierarchical feature learning capability of 1D-CNNs lead to better generalization on complex and diverse network traffic patterns?

Key findings

  • The 1D-CNN model achieved superior performance compared to both SVM and Random Forest on the UNSW-NB15 dataset under the same training conditions.
  • Normalization techniques significantly improved model robustness on imbalanced data, enhancing detection of minority (abnormal) traffic classes.
  • The 1D-CNN demonstrated strong capability in extracting high-level feature representations from low-level network traffic features, enabling better abstraction of intrusion patterns.
  • The model maintained high performance across both balanced and imbalanced data settings, indicating resilience to data distribution shifts.
  • Variants of the 1D-CNN architecture outperformed baseline models, confirming the effectiveness of deep convolutional architectures for network intrusion detection.
  • The use of time-series modeling via serialization of network packets enabled effective temporal pattern recognition, crucial for detecting sequential attack behaviors.

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.