ARCHIVES

Original Article

Intrusion Detection System Using Ensemble Learning and SHAP Explainability

Bibash Basnet1Prajwal Rai2Subarna Sapkota3Bibek Gautam4

¹ Padmashree College, Nilai University, Nepal. ² Kantipur City College, Purbanchal University, Nepal. ³ Nepal College of Information Technology, Pokhara University, Nepal. ⁴ Pulchowk Campus, Tribhuvan University, Nepal.

Published Online: March-April 2026

Pages: 239-243

Abstract

View PDF

Intrusion Detection Systems (IDS) play a critical role in monitoring network traffic and identifying malicious activities that threaten digital infrastructure security. Traditional IDS models struggle with accuracy, interpretability, and reliability as cyber-attacks continue to evolve. This study develops an ensemble learning-based IDS that combines Random Forest and XGBoost algorithms through a Voting Classifier to enhance detection performance and stability. The system was trained, validated, and tested on the NSL-KDD benchmark dataset, which underwent preprocessing including encoding, normalization, and feature selection. SHAP (SHapley Additive exPlanations) was integrated to provide feature-level interpretability for each classification, addressing the black-box nature of ensemble models and increasing transparency. The system achieved strong performance with 99.26% training accuracy, 98.97% validation accuracy, and 98.86% test accuracy. SHAP analysis identified key contributing features such as src_bytes, dst_bytes, and flag, enabling deeper understanding of the model’s decision-making process. Comparative analysis with previous ensemble-based IDS studies demonstrated superior performance over CNN-RF hybrids and RF-SVM-LIME explainable ensembles. Overall, the developed IDS represents an accurate and interpretable solution for detecting malicious traffic and supporting informed cybersecurity decisions

Related Articles

2026

AI-Based Stomach Cancer Detection Using Biomarkers, Medical Images, and Voice Analysis

2026

Hydrogen-Efficient Eco-Driving and Route Planning for Fuel-Cell Electric Vehicles Using Multi-Objective Optimization Under Traffic and Terrain Uncertainty

2026

A Data-Driven Machine Learning Framework for Assessing Patent Commercial Value and Technological Significance

2026

Soft Computing Approaches for Robust Analysis of Imbalanced and Noisy Data

2026

Smart Attendance System Using Face Recognition and Gaze-Based Attention Monitoring

2026

Analyzing Customer Review Sentiments using Machine Learning

2026

Agentic Artificial Intelligence as a Strategic HR Partner: Redefining Decision-Making Authority and Strategic Roles

2026

Solid Waste Management Rules, 2026 (India): Regulatory Design Review and Environmental Benefits for Urban Sustainability

2026

Optimizing Hospital Resource Utilization Using Power BI Analytics

2026

Contribution of Machine and Deep Learning methodologies in the identification of counterfeit currency notes

Intrusion Detection System Using Ensemble Learning and SHAP Explainability | IJIRE