Dataset Collection, Preprocessing, and Labeling

View at publisher
Authors: Akshay Mudgal
Cited by: 0

Abstract

Successful machine learning for intrusion detection relies primarily on the quality of the datasets used for training and validating models. This chapter delivers a thorough examination of dataset design, emphasizing benchmark corpora like NSL-KDD, CICIDS, UNSW-NB15, and Bot-IoT, while assessing their advantages and disadvantages in representing current attack surfaces. Focus is given to the shortcomings of synthetic or obsolete benchmarks and the need to supplement them with information obtained from honeypots, penetration tests, and red-team activities that reflect genuine adversarial actions. Preprocessing methods—such as data cleaning, normalization, feature extraction, and dimensionality reduction—are examined as crucial measures in reducing noise and maintaining consistency. The conversation encompasses labeling tactics, tackling issues like class imbalance, incorrect labeling, and changing traffic trends, while suggesting remedies like oversampling, stratification, and expert validation are covered. Ethical factors, such as preserving privacy, data sovereignty, and ensuring fairness in labeling, are also emphasized. In conclusion, the chapter asserts that developing a dataset is an ongoing and cyclical process essential for creating IDS models that are resilient, applicable across various contexts, and in tune with actual threat dynamics.

Fields of Study & Subjects

Network Security and Intrusion Detection Internet Traffic Analysis and Secure E-voting Network Packet Processing and Optimization

Publication details

Journal / source
CRC Press eBooks
Pages
138–163
Publication date
17 February 2026
Language
EN
Document type
Book chapter