Multi-Dataset Evaluation of ML-Based Intrusion Detection Models for Binary Classification in Software-Defined Networks
Network-based intrusion detection systems (IDSs) are essential components of cybersecurity architectures. Their ability to generalize across diverse network environments is critical to reliable and effective intrusion detection. However, as networks grow in scale and complexity, conventional IDSs struggle to cope with emerging threats, particularly in programmable, dynamic environments such as software-defined networks (SDN). These limitations have driven the adoption of machine learning (ML) approaches to improve detection accuracy and adaptability to evolving attack patterns. In this work, an ML-based IDS was used to enhance SDN security by classifying network traffic as benign or malicious. Three widely adopted benchmark datasets, NSL-KDD, CICDDoS2019, and InSDN, were employed to ensure robust multi-dataset evaluation and diverse traffic representation. Four supervised classifiers (Naïve Bayes, gradient boosting, AdaBoost, and random forest) were used. To evaluate the IDS models, a consistent preprocessing pipeline was applied to ensure fairness, prevent data leakage, and enable a realistic comparison of classifiers. Stratified fivefold cross-validation was applied to all the datasets. Among all tested models, random forest achieved the best performance, with accuracy exceeding 99% across all three datasets, demonstrating the effectiveness of ensemble-based learning for binary intrusion detection in SDN environments. This work contributes to existing literature by providing a unified multi-dataset evaluation framework for intrusion detection in SDN environments. However, the evaluation is limited to intra-dataset scenarios and does not consider real-world SDN deployments.
Authors
- Dheyaa Jasim Kadhim (ORCID: https://orcid.org/0000-0003-1290-5280)
- Tayseer Rasheed Abbas (ORCID: https://orcid.org/0009-0007-5296-3860)
Institutions
- University of Baghdad (IQ)
Publication Details
- Journal
- Al-Khwarizmi Engineering Journal
- Published
- 2026-12-01
- DOI
- https://doi.org/10.22153/kej.2026.06.006
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00