mlsanityData to 7 Oct 2026

On Generalisability of Machine Learning-based Network Intrusion Detection Systems

arXiv 2205.04112 ↗First posted 9 May 2022cs.NI cs.CR cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Many of the proposed machine learning (ML) based network intrusion detection systems (NIDSs) achieve near perfect detection performance when evaluated on synthetic benchmark datasets. Though, there is no record of if and how these results generalise to other network scenarios, in particular to real-world networks. In this paper, we investigate the generalisability property of ML-based NIDSs by extensively evaluating seven supervised and unsupervised learning models on four recently published benchmark NIDS datasets. Our investigation indicates that none of the considered models is able to generalise over all studied datasets. Interestingly, our results also indicate that the generalisability has a high degree of asymmetry, i.e., swapping the source and target domains can significantly change the classification performance. Our investigation also indicates that overall, unsupervised learning methods generalise better than supervised learning models in our considered scenarios. Using SHAP values to explain these results indicates that the lack of generalisability is mainly due to the presence of strong correspondence between the values of one or more features and Attack/Benign classes in one dataset-model combination and its absence in other datasets that have different feature distributions.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 11 of its 31 references that are in the map. First posted on arXiv 9 May 2022.

Builds on

11 of 31 references.

References · 11

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  2. 2018Towards the Development of Realistic Botnet Dataset in the Internet of Things for Network Forensic Analytics: Bot-IoT Datasetcited by 98
  3. 2021E-GraphSAGE: A Graph Neural Network based Intrusion Detection System for IoTcited by 55
  4. 2020NetFlow Datasets for Machine Learning-based Network Intrusion Detection Systemscited by 45
  5. 2021Towards a Standard Feature Set for Network Intrusion Detection System Datasetscited by 40
  6. 2021From Zero-Shot Machine Learning to Zero-Day Attack Detectioncited by 10
  7. 2022The Cross-evaluation of Machine Learning-based Network Intrusion Detection Systemscited by 8
  8. 2019A Transfer Learning Approach for Network Intrusion Detectioncited by 6
  9. 2017A Grassmannian Approach to Zero-Shot Learning for Network Intrusion Detectioncited by 5
  10. 2021Exploring Edge TPU for Network Intrusion Detection in IoTcited by 5
  11. 2021Benchmarking the Benchmark -- Analysis of Synthetic NIDS Datasetscited by 5

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 1; 2024: 3; 2025: 2.

8 papers.