SDNGuardStack: An Explainable Ensemble Learning Framework for High-Accuracy Intrusion Detection in Software-Defined Networks

arXiv cs.LG / 4/24/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes an SDN-specific intrusion detection approach trained and evaluated on the InSDN dataset that reflects realistic SDN attack scenarios and traffic patterns.
  • The method combines a preprocessing pipeline, mutual-information-based feature selection, and an ensemble learning model called SDNGuardStack to improve detection accuracy and efficiency.
  • The framework adds explainable AI via SHAP to make model predictions transparent, enabling security analysts to better understand and respond to incidents.
  • Experiments report very high performance (99.98% accuracy and Cohen Kappa of 0.9998), with key influential features including Flow ID, Bwd Header Len, and Src Port.
  • The authors position the work as a move toward bridging high-performance intrusion detection with practical, real-world deployment needs in software-defined networks.

Abstract

Software-Defined Networking (SDN) is another technology that has been developing in the last few years as a relevant technique to improve network programmability and administration. Nonetheless, its centralized design presents a major security issue, which requires effective intrusion detection systems. The SDN-specific machine learning-based intrusion detection system described in this paper is innovative because it is trained and tested on the InSDN dataset which models attack scenarios and realistic traffic patterns in SDN. Our approach incorporates a comprehensive preprocessing pipeline, feature selection via Mutual Information, and a novel ensemble learning model, SDNGuardStack, which combines multiple base learners to enhance detection accuracy and efficiency. In addition, we include explainable AI methods, including SHAP to add transparency to model predictions, which helps security analysts respond to incidents. The experiments prove that SDNGuard-Stack has an accuracy rate of 99.98% and a Cohen Kappa of 0.9998, surpassing other models, and at the same time being interpretable and practically executable. It is interesting to see such features like Flow ID, Bwd Header Len, and Src Port as the most important factors in the model predictions. The work is a step towards closing the gap between performance intrusion detection and realistic deployment in SDN, which will lead to the creation of secure and resilient network infrastructures.