Towards Transparent Intrusion Detection: A Coherence-Based Framework in Explainable AI Integrating Large Language Models

Intrusion Detection Systems (IDS) are essential for maintaining cybersecurity by identifying potential threats within networks. However, the black-box nature of the Artificial Intelligence models used in many IDS deployments hinders their effectiveness. Explainable AI (XAI) methods have emerged to provide transparency, but their evaluation metrics—such as faithfulness, completeness, and stability—are generic and fail to measure coherence with domain-specific knowledge transparently. Domain-specific knowledge is typically expressed as natural language rules, yet manually applying these rules in real-time cybersecurity is labor-intensive, costly, and error-prone due to the high volume of incidents. This paper introduces a coherence evaluation metric designed to ensure XAI explanations align with IDS domain knowledge, aiding cybersecurity analysts in understanding and responding to incidents more effectively. We propose a framework that integrates Generative AI (GAI) with XAI to automate the coherence evaluation process, leveraging Large Language Models (LLMs) for optimal performance. Using the NSL-KDD and CICIDS2017 datasets, we demonstrate the effectiveness of our framework in improving the interpretability and trustworthiness of IDS predictions. Our findings revealed that the chain-of-thought (COT) prompting method achieved an 86% correctness rate in LLM responses for automating written rules towards the coherence metric. Additionally, our framework models written rules using colors, provides coherence or incoherence recommendations, improves the integration of XAI with LLMs, and ultimately advances human-computer interaction in security decision-making.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/tps-isa62245.2024.00020
Citations
2
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.70
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Transparent Intrusion Detection: A Coherence-Based Framework in Explainable AI Integrating Large Language Models

Sashank Narain, Areej Alnahdi
2 citations
Network Security and Intrusion Detection
0.70
article

Towards Transparent Intrusion Detection: A Coherence-Based Framework in Explainable AI Integrating Large Language Models

Sashank Narain, Areej Alnahdi
article en
2 citations

Abstract

Intrusion Detection Systems (IDS) are essential for maintaining cybersecurity by identifying potential threats within networks. However, the black-box nature of the Artificial Intelligence models used in many IDS deployments hinders their effectiveness. Explainable AI (XAI) methods have emerged to provide transparency, but their evaluation metrics—such as faithfulness, completeness, and stability—are generic and fail to measure coherence with domain-specific knowledge transparently. Domain-specific knowledge is typically expressed as natural language rules, yet manually applying these rules in real-time cybersecurity is labor-intensive, costly, and error-prone due to the high volume of incidents. This paper introduces a coherence evaluation metric designed to ensure XAI explanations align with IDS domain knowledge, aiding cybersecurity analysts in understanding and responding to incidents more effectively. We propose a framework that integrates Generative AI (GAI) with XAI to automate the coherence evaluation process, leveraging Large Language Models (LLMs) for optimal performance. Using the NSL-KDD and CICIDS2017 datasets, we demonstrate the effectiveness of our framework in improving the interpretability and trustworthiness of IDS predictions. Our findings revealed that the chain-of-thought (COT) prompting method achieved an 86% correctness rate in LLM responses for automating written rules towards the coherence metric. Additionally, our framework models written rules using colors, provides coherence or incoherence recommendations, improves the integration of XAI with LLMs, and ultimately advances human-computer interaction in security decision-making.

University of Massachusetts Lowell (US)
Reduced inequalities
Openalex Percentile: Top 25%
Network Security and Intrusion Detection
0.70
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.