Quality Analysis in IDS Dataset: Impact on Model Generalization
Intrusion Detection Systems (IDS) utilizing machine learning (ML) are essential for detecting network intrusions. A key challenge in ML-based IDS is ensuring models can generalize effectively—accurately classifying unseen data. This ability largely depends on the quality of training and testing datasets. This paper underscores the importance of high-quality datasets and details how errors in dataset creation can significantly impair model generalization. Through a comprehensive analysis of the CREMEv2 dataset as a case study, chosen for its potential due to reproducibility and structured attack lifecycles, we identified several key errors, including overlapping attack techniques (identical code used for different attacks), SSH traffic contamination (non-targeted SSH traffic mislabeled as malicious), benign traffic contamination (normal traffic mislabeled as malicious), and unexecuted traffic patterns (expected traffic for certain attacks not generated). These errors introduce inaccuracies, severely impacting the generalization performance. By rectifying these issues, we achieved a marked improvement in model performance, demonstrated by an increase in the average F1 score from 0.25 to 0.8. The methodologies and insights from this study can be universally applied to other datasets, helping to uncover hidden errors and enhance generalization performance.
Authors
- Ying‐Dar Lin (ORCID: https://orcid.org/0000-0002-5226-4396)
- Didik Sudyana (ORCID: https://orcid.org/0000-0001-5378-2622)
- Ren‐Hung Hwang (ORCID: https://orcid.org/0000-0001-7996-4184)
- Miel Verkerken (ORCID: https://orcid.org/0000-0002-1781-900X)
- Filip De Turck (ORCID: https://orcid.org/0000-0003-4824-1199)
- Bruno Volckaert (ORCID: https://orcid.org/0000-0003-0575-5894)
- Laurens D’hooge (ORCID: https://orcid.org/0000-0001-5086-6361)
- Tim Wauters (ORCID: https://orcid.org/0000-0003-2618-3311)
- Fietyata Yudha (ORCID: https://orcid.org/0000-0002-4590-1780)
- Yuan‐Cheng Lai (ORCID: https://orcid.org/0000-0003-3695-5784)
Institutions
- National Yang Ming Chiao Tung University (TW)
- National Taiwan University of Science and Technology (TW)
- Ghent University (BE)
Publication Details
- Published
- 2024-09-30
- DOI
- https://doi.org/10.1109/cns62487.2024.10735570
- Citations
- 1
- Primary Topic
- Data Mining Algorithms and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.78