International Journal For Multidisciplinary Research

E-ISSN: 2582-2160   •   Impact Factor: 9.24

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 8, Issue 6 (November-December 2026) Submit your research before last 3 days of December to publish your research paper in the issue of November-December.

Explainable Network Intrusion Detection: Integrating SHAP-Based Feature Selection and LIME-Based Model Interpretation

Author(s) Ms. Yasmin M A, Ms. Midhuna Murali
Country India
Abstract Network intrusion detection plays a critical role in protecting digital infrastructure from malicious network activities. Machine learning models, such as Random Forest, can identify suspicious traffic patterns, but their decision-making processes may be difficult to interpret. This study presents an explainable network intrusion detection approach that integrates SHAP-guided feature selection with Random Forest classification and LIME-based local interpretation. Experiments are conducted using the UNSW-NB15 dataset with its official training and testing partitions. A baseline Random Forest model is trained using 42 features, while the proposed SHAP-Guided Feature Selection Random Forest (SGFS-RF) model is developed using the top 30 features ranked by mean absolute SHAP values. LIME is applied to selected traffic instances to examine the contribution of individual features to model predictions. The baseline model achieves an accuracy of 87.3172%, while SGFS-RF achieves 87.2893%, with the feature count reduced by 28.57%. The recorded prediction time decreases from 3.3371 seconds to 1.4549 seconds under the experimental setup. The findings indicate that SHAP-guided feature reduction retains comparable classification performance while reducing the number of input features and recorded prediction time. The integration of SHAP and LIME provides global feature ranking and local prediction explanations, supporting greater interpretability in machine learning-based network intrusion detection.
Keywords Explainable Artificial Intelligence, Network Intrusion Detection, SHAP, LIME, Random Forest, Feature Selection, Cybersecurity, UNSW-NB15, Machine Learning
Field Computer > Network / Security
Published In Volume 8, Issue 6, November-December 2026
Published On 2026-12-04
DOI https://doi.org/10.36948/ijfmr.2026.v08i06.93436

Share this