Preprint
Machine Learning

Network Anomaly Intrusion Detection Based on Deep Learning Approach

Yung-Chung Wang(Department of Electrical Engineering, National Taipei University of Technology, Taipei 106, Taiwan), Yi-Chun Houng(Department of Electrical Engineering, National Taipei University of Technology, Taipei 106, Taiwan), Han-Xuan Chen(Department of Electrical Engineering, National Taipei University of Technology, Taipei 106, Taiwan), Shu-Ming Tseng(Department of Electronic Engineering, National Taipei University of Technology, Taipei 106, Taiwan)
February 15, 2023Sensors94 citations

94

Citations

4

Influential Citations

Sensors

Venue

2023

Year

Abstract

The prevalence of internet usage leads to diverse internet traffic, which may contain information about various types of internet attacks. In recent years, many researchers have applied deep learning technology to intrusion detection systems and obtained fairly strong recognition results. However, most experiments have used old datasets, so they could not reflect the latest attack information. In this paper, a current state of the CSE-CIC-IDS2018 dataset and standard evaluation metrics has been employed to evaluate the proposed mechanism. After preprocessing the dataset, six models—deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), long short-term memory (LSTM), CNN + RNN and CNN + LSTM—were constructed to judge whether network traffic comprised a malicious attack. In addition, multi-classification experiments were conducted to sort traffic into benign traffic and six categories of malicious attacks: BruteForce, Denial-of-service (DoS), Web Attacks, Infiltration, Botnet, and Distributed denial-of-service (DDoS). Each model showed a high accuracy in various experiments, and their multi-class classification accuracy were above 98%. Compared with the intrusion detection system (IDS) of other papers, the proposed model effectively improves the detection performance. Moreover, the inference time for the combinations of CNN + RNN and CNN + LSTM is longer than that of the individual DNN, RNN and CNN. Therefore, the DNN, RNN and CNN are better than CNN + RNN and CNN + LSTM for considering the implementation of the algorithm in the IDS device.

Analysis

Why This Paper Matters

Network intrusion detection is a critical component of cybersecurity, and deep learning has shown promise in automatically identifying malicious traffic. However, many prior studies relied on outdated datasets (e.g., KDD99, NSL-KDD) that do not reflect modern attack patterns. This paper addresses that gap by using the CSE-CIC-IDS2018 dataset, which is more recent and contains diverse attack types. By evaluating six different deep learning architectures on this dataset, the paper provides a comprehensive benchmark that helps practitioners choose appropriate models for real-world IDS deployment.

The paper also considers practical aspects beyond accuracy, such as inference time, which is crucial for real-time detection. This is a significant contribution because many research papers focus solely on accuracy metrics, ignoring the computational constraints of deploying models on network devices. The comparison between simple and hybrid models offers actionable insights for system designers.

Technical Contributions

  • Use of Current Dataset: The paper employs the CSE-CIC-IDS2018 dataset, which includes recent attack types like BruteForce, DoS, Web Attacks, Infiltration, Botnet, and DDoS, making the evaluation more relevant.
  • Model Comparison: Six models are systematically compared: DNN, CNN, RNN, LSTM, and two hybrid combinations (CNN+RNN, CNN+LSTM). This provides a clear picture of trade-offs between architecture complexity and performance.
  • Multi-class Classification: The paper goes beyond binary classification (benign vs. malicious) to classify traffic into seven categories, which is more practical for identifying specific attack types.
  • Inference Time Analysis: The paper explicitly measures inference time, highlighting that hybrid models are slower, which is a key consideration for real-time IDS.

Results

The paper reports that all six models achieved multi-class classification accuracy above 98% on the CSE-CIC-IDS2018 dataset. While exact accuracy values are not specified in the abstract, the claim of >98% indicates strong performance. The key differentiator is inference time: CNN+RNN and CNN+LSTM take longer to process traffic, making them less suitable for deployment in IDS devices where low latency is essential. In contrast, DNN, RNN, and CNN offer a better balance, achieving high accuracy with faster inference.

Compared to other IDS papers, the proposed models show improved detection performance, likely due to the use of a more current dataset and careful preprocessing. However, the abstract does not provide specific comparative metrics, so the improvement is qualitative.

Significance

This paper contributes to the practical deployment of deep learning in network security by emphasizing the importance of inference time alongside accuracy. It provides a benchmark for future research on the CSE-CIC-IDS2018 dataset and guides practitioners in selecting models that meet both accuracy and real-time constraints. The finding that simpler models can perform comparably to hybrid ones is valuable, as it reduces computational overhead and energy consumption in IDS devices.

The work also highlights the need for using up-to-date datasets in cybersecurity research, encouraging the community to move beyond outdated benchmarks. This can lead to more robust and effective intrusion detection systems that are better equipped to handle evolving cyber threats.