Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking the Benchmark -- Analysis of Synthetic NIDS Datasets

Siamak Layeghy, Marcus Gallagher|arXiv (Cornell University)|Apr 19, 2021
Network Security and Intrusion DetectionComputer Science8 references7 citations
TL;DR

This paper evaluates the realism of synthetic NIDS benchmark datasets by comparing their benign traffic statistical features against real-world network traffic from production environments. Using nine traffic features and dimensionality reduction, it demonstrates significant distributional differences between synthetic and real-world datasets, questioning the generalizability of high-performing ML models trained on synthetic data.

ABSTRACT

Network Intrusion Detection Systems (NIDSs) are an increasingly important tool for the prevention and mitigation of cyber attacks. A number of labelled synthetic datasets generated have been generated and made publicly available by researchers, and they have become the benchmarks via which new ML-based NIDS classifiers are being evaluated. Recently published results show excellent classification performance with these datasets, increasingly approaching 100 percent performance across key evaluation metrics such as accuracy, F1 score, etc. Unfortunately, we have not yet seen these excellent academic research results translated into practical NIDS systems with such near-perfect performance. This motivated our research presented in this paper, where we analyse the statistical properties of the benign traffic in three of the more recent and relevant NIDS datasets, (CIC, UNSW, ...). As a comparison, we consider two datasets obtained from real-world production networks, one from a university network and one from a medium size Internet Service Provider (ISP). Our results show that the two real-world datasets are quite similar among themselves in regards to most of the considered statistical features. Equally, the three synthetic datasets are also relatively similar within their group. However, and most importantly, our results show a distinct difference of most of the considered statistical features between the three synthetic datasets and the two real-world datasets. Since ML relies on the basic assumption of training and test datasets being sampled from the same distribution, this raises the question of how well the performance results of ML-classifiers trained on the considered synthetic datasets can translate and generalise to real-world networks. We believe this is an interesting and relevant question which provides motivation for further research in this space.

Motivation & Objective

  • To investigate whether synthetic NIDS benchmark datasets realistically represent real-world benign network traffic.
  • To identify statistical discrepancies between synthetic datasets and real production network traffic that may limit model generalization.
  • To propose a methodology for evaluating the realism of synthetic NIDS datasets based on traffic feature distributions.
  • To quantify the similarity between synthetic datasets and real-world traffic using a novel statistical metric.
  • To highlight the risk of over-optimistic performance claims in ML-based NIDS research due to dataset distribution mismatch.

Proposed method

  • Selected three recent synthetic NIDS datasets: UNSW-NB15, CIC-IDS2017, and TON-IOT.
  • Collected two real-world NetFlow/IPFIX datasets from a university network and an ISP, both from 2019.
  • Mapped all datasets to a common NetFlow/IPFIX format using prior conversion work to enable cross-dataset comparison.
  • Extracted nine key traffic features (e.g., flow duration, packet count, byte count) for statistical analysis.
  • Applied four dimensionality reduction techniques (e.g., t-SNE, UMAP) to visualize feature distributions in 2D space.
  • Proposed a statistical metric to quantify the divergence between feature distributions of synthetic and real-world datasets.

Experimental results

Research questions

  • RQ1How do the statistical features of benign traffic in synthetic NIDS datasets compare to those in real-world production network traffic?
  • RQ2To what extent do synthetic datasets resemble real-world traffic in terms of flow-level feature distributions?
  • RQ3Are the differences between synthetic datasets and real-world datasets consistent across multiple statistical features?
  • RQ4Can a quantitative metric reliably capture the distributional divergence between synthetic and real benign traffic?
  • RQ5To what extent does the observed distributional mismatch undermine the generalizability of ML-based NIDS models trained on synthetic data?

Key findings

  • The two real-world datasets exhibit strong similarity in their statistical feature distributions despite differing network types and geographical origins.
  • The three synthetic datasets show internal similarity in their feature distributions, indicating consistent synthetic generation patterns.
  • A significant and consistent statistical divergence exists between the benign traffic in synthetic datasets and real-world production traffic across most of the nine analyzed features.
  • Dimensionality reduction visualizations clearly separate synthetic and real-world datasets into distinct clusters, confirming the distributional differences.
  • The proposed statistical metric quantitatively confirms that the distance between real-world datasets is substantially smaller than their distance to any synthetic dataset.
  • The results suggest that high classification performance on synthetic benchmarks may not generalize to real-world deployment due to distributional shift in benign traffic.

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.