Anomaly-Based Intrusion Detection for Software-Defined Networks Through an Ensemble Learning Approach
Keywords:
SDN, Random Forest, SVM, Machine Learning, KNNAbstract
Software Defined Network (SDN) is a paradigm shift in the wired network; the approach separates the control plane from the data plane. However, such architectural development becomes problematic for IDS due to the inherent limitations of the signature-based models, which cannot keep pace with the increasingly emerging threats. In this paper, the performance of the ensemble learning models is analyzed for anomaly-based intrusion detection of SDNs. we use general and IoT network intrusion datasets to compare different machine learning methodologies for constructing IDS., with the test of the model on SDN network intrusion datasets. We also investigate three Support Vector Machines (SVM), Random Forest (RF), and K-Nearest Neighbors (KNN) algorithms in their base formats and improved versions using ensemble methods, showcasing that the combination significantly enhances detection accuracy, precision, and recall essential for achieving robust SDN security. The weighted-average precision and recall are used to report the performance metrics in order to consider the imbalance across attack categories. In particular, the ensemble model achieved an accuracy of 0.99 on general and IoT datasets, and 0.97 on SDN datasets, with weighted precision of 1.00 and weighted recall of 0.99 and 0.97, respectively. The proposed approach of the ensemble method has the advantage of learning a lot of types of traffic patterns, and the false positive rate as well as the false negative rate are comparatively low, however, this comes at the cost of increased training time and computational complexity. In general, our study reveals the effectiveness and applicability of ensemble learning toward critical security issues related to SDNs.
References
SDN-Enabled IoT Anomaly Detection Using Ensemble Learning, “SDN-Enabled IoT Anomaly Detection Using Ensemble Learning,” Artif. Intell. Appl. Innov., 2020, [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC7256579/
M. M. Mathabathe and T. E. Mathonsi, “A Hybrid Security Algorithm for Enhanced Man-in-the-Middle Attacks Detection in Public Wireless Networks,” pp. 349–362, 2026, doi: 10.1007/978-981-95-2820-2_27.
S. Bharath, D. Dhanashree, M. Nandika, and A. S. Nandhini, “Intrusion Detection in SDN Using Ensemble Learning Technique,” Int. Conf. Smart Syst. Electr. Electron. Commun. Comput. Eng. ICSSEEC 2024 - Proc., pp. 191–196, 2024, doi: 10.1109/ICSSEECC61126.2024.10649533.
Ngamba Thockchom, Moirangthem Marjit Singh, “A novel ensemble learning-based model for network intrusion detection,” Complex Intell. Syst., vol. 9, 2023, [Online]. Available: https://link.springer.com/article/10.1007/s40747-023-01013-7
M. Samadzadeh, M. H. Zahedi, and E. Farahani, “Using Ensemble Learning, A Cosine Similarity-Based Model for Detecting Security Anomalies in Software-Defined Networks,” 2024 20th CSI Int. Symp. Artif. Intell. Signal Process. AISP 2024, 2024, doi: 10.1109/AISP61396.2024.10475278.
Abdinasir Hirsi, Lukman Audah, “Enhancing SDN security using ensemble-based machine learning approach for DDoS attack detection,” Indones. J. Electr. Eng. Comput. Sci., vol. 38, no. 2, pp. 1073–1085, 2025, [Online]. Available: https://www.researchgate.net/publication/389635759_Enhancing_SDN_security_using_ensemble-based_machine_learning_approach_for_DDoS_attack_detection
Salma A. Walli, “Deep Learning-Based Intrusion Detection Systems for IoT Networks: A Systematic Literature Review and Comparative Analysis,” Int. J. Comput. Informatics (Zagazig Univ., vol. 10, 2016, [Online]. Available: https://www.ijci.zu.edu.eg/index.php/ijci/article/view/162
A. Mishra, “Intrusion Detection Through Deep Learning: Emerging Trends and Challenges,” Deep Learn. Intrusion Detect., pp. 107–123, Jan. 2026, doi: 10.1002/9781394285198.ch5.
W. Krzemień, K. Jędrasiak, and A. Nawrat, “Anomaly Detection in Software Defined Networks Using Ensemble Learning,” Lect. Notes Networks Syst., vol. 439 LNNS, pp. 629–643, 2022, doi: 10.1007/978-3-030-98015-3_44.
Ruyue Xin, Hongyun Liu, Peng Chen, “Robust and accurate performance anomaly detection and prediction for cloud applications: a novel ensemble learning-based framework,” J. Cloud Comput., vol. 12, no. 7, 2023.
K. A. Fatmah Alanazi, Kamal Jambi, Fathy Eassa, Maher Khemakhem, Abdullah Basuhail, “Ensemble Deep Learning Models for Mitigating DDoS Attack in Software-Defined Network,” Intell. Autom. Soft Comput., 2021, [Online]. Available: https://www.techscience.com/iasc/v33n2/46781/html
M. U. Younus, Y. Li, M. Shahbaz, R. Shafi, and H. He, “Robust security system for intruder detection and its weight estimation in controlled environment using Wi-Fi,” 2016 2nd IEEE Int. Conf. Comput. Commun. ICCC 2016 - Proc., pp. 985–990, May 2017, doi: 10.1109/CompComm.2016.7924852.
Ibrahim M. Elezmazy, Walid Abdullah, “Advanced Intrusion Detection in Software-Defined Networks through Ensemble Modeling,” Inf. Sci. with Appl., vol. 4, pp. 1–11, 2024, [Online]. Available:https://www.researchgate.net/publication/384570722_Advanced_Intrusion_Detection_in_Software-Defined_Networks_through_Ensemble_Modeling
J. Miller, R. Thomas, “SDN Security: Anomaly Detection Using Ensemble Learning Techniques,” IEEE Access, vol. 12, pp. 30345–30356, 2024.
Chaofei Tang, Nurbol Luktarhan, “SAAE-DNN: Deep Learning Method on Intrusion Detection,” Symmetry (Basel)., vol. 12, no. 10, p. 1695, 2020, [Online]. Available: https://www.mdpi.com/2073-8994/12/10/1695
M. U. Younus, M. K. Khan, and A. R. Bhatti, “Improving the Software-Defined Wireless Sensor Networks Routing Performance Using Reinforcement Learning,” IEEE Internet Things J., vol. 9, no. 5, pp. 3495–3508, Mar. 2022, doi: 10.1109/JIOT.2021.3102130.
Swechchha Gupta, Buddha Singh, “Lightweight ensemble learning based intrusion detection framework with explainable artificial intelligence,” Eng. Appl. Artif. Intell., vol. 163, no. 2, p. 112936, 2026, [Online]. Available: https://www.sciencedirect.com/science/article/abs/pii/S0952197625029677?dgcid=rss_sd_all
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 50sea

This work is licensed under a Creative Commons Attribution 4.0 International License.


















