Abstract
Data-driven methods have been widely used in network intrusion detection (NID) systems. However, there are currently a number of challenges derived from how the datasets are being collected. Most attack classes in network intrusion datasets are considered the minority compared to normal traffic and many datasets are collected through virtual machines or other simulated environments rather than real-world networks. These challenges undermine the performance of intrusion detection machine learning models by fitting models such as random forests or support vector machines to unrepresentative "sandbox" datasets. This survey presents a carefully designed taxonomy highlighting eight main challenges and solutions and explores common datasets from 1999 to 2020. Trends are analyzed on the distribution of challenges addressed for the past decade and future directions are proposed on expanding NID into cloud-based environments, devising scalable models for larger amount of network intrusion data, and creating labeled datasets collected in real-world networks.
Introduction: Escaping the "Sandbox Trap"
Network Intrusion Detection Systems (NIDS) have pivoted heavily toward machine learning to identify malicious activity. However, a massive gap exists between laboratory performance and real-world efficacy. The authors identify a "sandbox trap" caused by three primary data bottlenecks:
- Unrepresentative Environments: Many datasets are collected in virtualized "sandboxes" rather than real-world networks, failing to capture the complexity of actual traffic.
- Extreme Class Imbalance: In production environments, attacks are a tiny minority compared to massive volumes of normal traffic. Models trained on balanced lab data often fail to detect rare but critical threats.
- Obsolescence: The research community continues to lean heavily on the KDD Cup 1999 dataset. In cybersecurity terms, 1999 is ancient history; its traffic patterns are largely irrelevant to modern cloud and IoT environments.
A Taxonomy of Challenges and Methods
The paper introduces a taxonomy of challenges and methods, organizing the NID research landscape into eight high-level categories. For each category, specific machine learning techniques are mapped to solve technical hurdles.
Key areas of the taxonomy include:
- Data Quality: Addressing Noisy Data (via normalization and density-based clustering) and Redundant Data (via feature selection and autoencoders).
- Feature Engineering: Tackling Weakly Correlated Features through data fusion and dimensionality expansion.
- Labeling Issues: Managing Unbalanced Labels (using SMOTE, undersampling, and Siamese networks) and Too Few Labels (using semi-supervised learning, transfer learning, and GANs).
- Scale and Velocity: Handling Dynamic Data (via incremental and reinforcement learning) and Big Data (leveraging parallelism and Apache Spark).
The Dataset Landscape: Persistence of the Past
The authors perform a vertical comparison of common datasets used from 1999 to 2020. Despite the availability of modern synthetic benchmarks (UNSW NB15, CIDDS’17) and real-world data (UGR’16, LITNET-2020), the research community remains anchored to the past.
As shown in the survey data, KDD Cup 1999 was used by 46 of the papers analyzed. This suggests a "path of least resistance" in research that may be hindering actual security progress. Newer datasets like the cloud-specific CSE-CIC-IDS2018 or the long-term LITNET-2020 offer much-needed realism but see significantly lower adoption.
Key Insights and Future Directions
A quantitative analysis of dataset balance using entropy reveals the depth of the imbalance problem. For instance, KDD99 has an attack-type entropy of 0.214, indicating extreme skew. In datasets like CIDDS-001, non-attacks comprise nearly 90% of the data, demonstrating why simple accuracy metrics are often misleading in NID research.
To move forward, the authors propose several critical research directions:
- Edge and IoT Security: Most current research focuses on enterprise networks, leaving a dearth of data for home networks and IoT devices.
- Privacy-Preserving Realistic Data: Future work must find ways to create realistic benchmarks that do not expose sensitive user information.
- Labeling Automation: There is an urgent need for automated paradigms to label the millions of flows generated daily in real-world networks.
- Incremental Learning: Moving away from offline batch processing toward models that update in real-time as traffic flows in.
By addressing these challenges, the NID community can transition from theoretical sandbox success to robust, real-world defense.
Summary updated