ARCHIVES

Original Article

Intrusion Detection System Using Ensemble Learning and SHAP Explainability

Bibash Basnet1 Prajwal Rai2 Subarna Sapkota3 Bibek Gautam4
1 Padmashree College, Nilai University, Nepal. 2 Kantipur City College, Purbanchal University, Nepal. 3 Nepal College of Information Technology, Pokhara University, Nepal. 4 Pulchowk Campus, Tribhuvan University, Nepal.

Published Online: March-April 2026

Pages: 239-243

Abstract

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

Evaluating Student Academic Performance Through a Benchmark of Fuzzy Reasoning Models

2026

A Hybrid Soft Computing Approach for Managing Uncertainty in Data Analytics

2026

Soft Computing Approaches for Robust Analysis of Imbalanced and Noisy Data

Share Article

X
LinkedIn
Facebook
WhatsApp

Or copy link

https://theijire.com/archives/10.59256/ijire.20260702029

*Instagram doesn't support direct link sharing from web. Copy the link and share it in your Instagram story or post.