TY - GEN
T1 - Towards Explainable Machine Learning NIDS Reflecting Cyber-Attack Characteristics
AU - Kawanaka, Shota
AU - Miyamoto, Kohei
AU - Han, Chansu
AU - Ban, Tao
AU - Takahashi, Takeshi
AU - Takeuchi, Jun'Ichi
N1 - Publisher Copyright:
© 2025 Copyright is held by the owner/author(s). Publication rights licensed to ACM.
PY - 2025/11/13
Y1 - 2025/11/13
N2 - Machine learning techniques are used to improve the detection accuracy of NIDS, but high-performance models are black boxes, potentially reducing reliability due to the lack of transparency in their detection criteria. Therefore, explainable AI techniques have been explored to visualize their decision-making processes. NIDS should detect attacks based on their intrinsic characteristics, which often span multiple packets. In this paper, we aim to enhance detection performance by exploring methods that concatenate multiple packets as input, as well as approaches that incorporate an attention mechanism to focus on specific parts of the input. We also investigated whether the attention output contributes to detecting attacks by leveraging their specific characteristics. The results showed that increasing the number of incoming packets from one to seven increased the detection rate of SQL injection from 82.9% to 94.2%, while using the attention mechanism without increasing the number of packets increased the detection rate to 95.7%. However, when both methods were combined, the detection rate of SQL injection decreased to 27.1%. It was also observed that NIDS detection did not adequately reflect the distinguishing features of the attacks.
AB - Machine learning techniques are used to improve the detection accuracy of NIDS, but high-performance models are black boxes, potentially reducing reliability due to the lack of transparency in their detection criteria. Therefore, explainable AI techniques have been explored to visualize their decision-making processes. NIDS should detect attacks based on their intrinsic characteristics, which often span multiple packets. In this paper, we aim to enhance detection performance by exploring methods that concatenate multiple packets as input, as well as approaches that incorporate an attention mechanism to focus on specific parts of the input. We also investigated whether the attention output contributes to detecting attacks by leveraging their specific characteristics. The results showed that increasing the number of incoming packets from one to seven increased the detection rate of SQL injection from 82.9% to 94.2%, while using the attention mechanism without increasing the number of packets increased the detection rate to 95.7%. However, when both methods were combined, the detection rate of SQL injection decreased to 27.1%. It was also observed that NIDS detection did not adequately reflect the distinguishing features of the attacks.
KW - explainable AI
KW - intrusion detection
KW - machine learning
KW - network packet
KW - network security
UR - https://www.scopus.com/pages/publications/105023147090
UR - https://www.scopus.com/pages/publications/105023147090#tab=citedBy
U2 - 10.1145/3733821.3763023
DO - 10.1145/3733821.3763023
M3 - Conference contribution
AN - SCOPUS:105023147090
T3 - ARTMAN 2025 - Proceedings of the Workshop on Recent Advances in Resilient and Trustworthy MAchine learning-driveN systems
SP - 34
EP - 44
BT - ARTMAN 2025 - Proceedings of the Workshop on Recent Advances in Resilient and Trustworthy MAchine learning-driveN systems
A2 - Blanc, Gregory
A2 - Takahashi, Takeshi
A2 - Zhang, Zonghua
PB - Association for Computing Machinery, Inc
T2 - 3rd Workshop on Recent Advances in Resilient and Trustworthy MAchine learning-driveN systems, ARTMAN 2025 , co-located with ACM CCS 2025
Y2 - 13 October 2025 through 17 October 2025
ER -