[Paper Review] Domain Knowledge Aided Explainable Artificial Intelligence for Intrusion Detection and Response
This paper proposes a domain knowledge-augmented explainable AI model for intrusion detection by integrating the CIA triad (Confidentiality, Integrity, Availability) into machine learning pipelines. By reducing features to just C, I, and A, the model achieves high explainability, fast inference (Naive Bayes runs 444x faster than SVM), and strong generalization to unknown attacks, with 100% detection rate for several attack types in unseen data.
Artificial Intelligence (AI) has become an integral part of modern-day security solutions for its ability to learn very complex functions and handling "Big Data". However, the lack of explainability and interpretability of successful AI models is a key stumbling block when trust in a model's prediction is critical. This leads to human intervention, which in turn results in a delayed response or decision. While there have been major advancements in the speed and performance of AI-based intrusion detection systems, the response is still at human speed when it comes to explaining and interpreting a specific prediction or decision. In this work, we infuse popular domain knowledge (i.e., CIA principles) in our model for better explainability and validate the approach on a network intrusion detection test case. Our experimental results suggest that the infusion of domain knowledge provides better explainability as well as a faster decision or response. In addition, the infused domain knowledge generalizes the model to work well with unknown attacks, as well as opens the path to adapt to a large stream of network traffic from numerous IoT devices.
Motivation & Objective
- To address the critical lack of explainability in AI-based intrusion detection systems (IDS), which hinders trust and delays human-in-the-loop responses.
- To improve model interpretability and decision transparency by embedding established security domain knowledge (CIA triad) into the learning process.
- To enhance generalization to unknown or zero-day attacks by leveraging semantic principles rather than raw data patterns.
- To accelerate response times by reducing model complexity while maintaining high detection accuracy.
- To enable scalable deployment on high-volume IoT and Big Data network traffic through lightweight, interpretable models.
Proposed method
- Infuses the CIA triad (Confidentiality, Integrity, Availability) as domain knowledge into the feature engineering phase of an IDS pipeline.
- Constructs a minimal feature set comprising only three derived features: C, I, and A, representing the degree of compromise in each domain.
- Applies Naive Bayes (NB) on the reduced feature set to prioritize speed and interpretability, enabling real-time analysis of large traffic streams.
- Validates performance using the CICIDS2017 dataset, covering 15 common attack types including DDoS, PortScan, SQLi, and Botnet.
- Uses statistical analysis (e.g., confusion matrices, F1-scores) to compare model performance across multiple algorithms (RF, ET, GB, ANN, SVM) and feature settings.
- Evaluates generalization to unknown attacks by measuring detection rates on previously unseen attack types in the test set.
Experimental results
Research questions
- RQ1Can embedding the CIA triad as domain knowledge improve the explainability of AI-based intrusion detection models?
- RQ2Does reducing the feature space to only C, I, and A enhance model interpretability without sacrificing detection accuracy?
- RQ3Can a lightweight model like Naive Bayes with domain-augmented features detect unknown attacks as effectively as complex models?
- RQ4How does the execution time of the domain-knowledge-augmented model compare to traditional black-box models?
- RQ5To what extent does domain knowledge infusion improve generalization to zero-day or previously unseen attacks?
Key findings
- The Naive Bayes model with CIA-based features achieved a 100% detection rate for 7 out of 14 attack types in the unseen test set, including DDoS, PortScan, and SSH-Patator.
- Naive Bayes executed 444.50 times faster than SVM and 77.06 times faster than Gradient Boosting, making it suitable for real-time analysis of high-volume traffic.
- The model detected 100% of Heartbleed and Web Attack-Sql instances in the unseen set when using the constructed feature setting, despite low base counts.
- The CIA-based feature set achieved 83.22% detection rate for DDoS attacks and 95.65% for Web Attack-XSS, outperforming other models in specific attack categories.
- Despite lower precision and recall compared to Random Forest, the NB model with domain features offered the best trade-off between speed, explainability, and generalization to unknown attacks.
- The infusion of CIA principles enabled the model to generalize across attack types, suggesting that semantic understanding of security goals improves robustness to novel threats.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.