πŸ“ž +91-7667918914 | βœ‰οΈ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, ISSUE 4, APRIL 2026

Explainable Artificial Intelligence-Based Network Intrusion Detection System Using SHAP, LIME and Counterfactual Analysis

Manam Siva Sai, Dr. Chandra Sekhar Koppireddy

πŸ‘ 15 viewsπŸ“₯ 4 downloads
Share: 𝕏 f in ✈ βœ‰
Abstract: The rapid evolution of cyber threats has exposed the limitations of traditional signature-based intrusion detection systems. While machine learning offers strong detection capability, its opacity undermines analyst trust. This research proposes an Explainable AI-based Network Intrusion Detection System combining XGBoost classification with a comprehensive SHAP explanation framework.The system processes traffic from three benchmark datasets β€” UNSW- NB15, CIC-IDS-2017, and NSL-KDD β€” through automated preprocessing covering encoding, normalisation, stratified partitioning, and class imbalance handling. The XGBoost classifier achieves F1-Scores of 0.9793, 0.9914, and 0.9853 respectively. SHAP TreeExplainer generates six visualisation types spanning global and local explanations, further complemented by LIME surrogate modelling and counterfactual generation β€” forming three mutually validating interpretability channels.Findings consistently identify volumetric flow statistics, behavioural connection-count features, and protocol-state indicators as dominant discriminating factors, aligning with established network security knowledge and reinforcing both the model's reliability and real-world applicability.

Keywords: Explainable AI, Network Intrusion Detection, SHAP, XGBoost, LIME, Cyber Security

How to Cite:

[1] Manam Siva Sai, Dr. Chandra Sekhar Koppireddy, β€œExplainable Artificial Intelligence-Based Network Intrusion Detection System Using SHAP, LIME and Counterfactual Analysis,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.15494

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