Explainable Intrusion Detection with Human-in-the-Loop Feature Refinement

Intrusion Detection Systems (IDS) increasingly rely on AI-based methods to detect malicious network activity, but many AI-based IDS remain difficult for analysts to interpret. Explainable AI methods such as SHAP can identify features that influence individual predictions; however, the usefulness of such explanations depends not only on the explanation method, but also on whether the underlying features are meaningful to human analysts. This paper presents an extended version of CIDIX, an explainable intrusion detection prototype, with a human-in-the-loop feature refinement process. This study evaluates a single-evaluator feature-refinement workflow intended for analyst use. The evaluator inspected SHAP-based explanations, identified features that were difficult to understand, redundant, or not clearly useful for security investigation, and removed them in subsequent training rounds while monitoring detection performance. Using CICIDS2017 flow-based data with three labels, BENIGN, DDOS, and BRUTE_FORCE, we evaluate the approach with a Random Forest classifier. Across five refinement rounds, the feature set is reduced from 68 to 28 features. On the fixed refinement dataset, the final model slightly improves accuracy from 99.87% to 99.90% and reduces the false positive rate from 0.3% to 0.2%. A larger validation shows that the refined 28-feature model achieves 99.934% accuracy and 99.933% macro F1-score, compared with 99.956% accuracy and 99.962% macro F1-score for the all-feature model. These results demonstrate that the documented refinement path can substantially reduce feature complexity while preserving near-equivalent detection performance. Validation with professional security analysts is required to assess usability and operational value.

Authors

Institutions

Publication Details

Journal
SN Computer Science
Published
2026-12-02
DOI
https://doi.org/10.1007/s42979-026-05490-8
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Explainable Intrusion Detection with Human-in-the-Loop Feature Refinement

Tran Tri Dang, Tam Van Nguyen
SN Computer Science
Network Security and Intrusion Detection
article

Explainable Intrusion Detection with Human-in-the-Loop Feature Refinement

Tran Tri Dang, Tam Van Nguyen
article en

Abstract

Intrusion Detection Systems (IDS) increasingly rely on AI-based methods to detect malicious network activity, but many AI-based IDS remain difficult for analysts to interpret. Explainable AI methods such as SHAP can identify features that influence individual predictions; however, the usefulness of such explanations depends not only on the explanation method, but also on whether the underlying features are meaningful to human analysts. This paper presents an extended version of CIDIX, an explainable intrusion detection prototype, with a human-in-the-loop feature refinement process. This study evaluates a single-evaluator feature-refinement workflow intended for analyst use. The evaluator inspected SHAP-based explanations, identified features that were difficult to understand, redundant, or not clearly useful for security investigation, and removed them in subsequent training rounds while monitoring detection performance. Using CICIDS2017 flow-based data with three labels, BENIGN, DDOS, and BRUTE_FORCE, we evaluate the approach with a Random Forest classifier. Across five refinement rounds, the feature set is reduced from 68 to 28 features. On the fixed refinement dataset, the final model slightly improves accuracy from 99.87% to 99.90% and reduces the false positive rate from 0.3% to 0.2%. A larger validation shows that the refined 28-feature model achieves 99.934% accuracy and 99.933% macro F1-score, compared with 99.956% accuracy and 99.962% macro F1-score for the all-feature model. These results demonstrate that the documented refinement path can substantially reduce feature complexity while preserving near-equivalent detection performance. Validation with professional security analysts is required to assess usability and operational value.

SN Computer ScienceVol. 7(8)
RMIT Vietnam (VN), Hung Vuong University of Ho Chi Minh City (VN), Hung Vuong University (VN), RMIT University (AU)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon