信息网络安全 ›› 2026, Vol. 26 ›› Issue (6): 854-869.doi: 10.3969/j.issn.1671-1122.2026.06.002

• 学术研究 • 上一篇    下一篇

基于可解释人工智能的入侵检测方法研究

杨望(), 郑伟特   

  1. 东南大学网络空间安全学院南京 211189
  • 收稿日期:2025-12-31 出版日期:2026-06-10 发布日期:2026-07-27
  • 通讯作者: 杨望 E-mail:wang.yang@seu.edu.cn
  • 作者简介:杨望(1979—),男,安徽,讲师,博士,主要研究方向为网络空间安全|郑伟特(1999—),男,浙江,硕士研究生,主要研究方向为网络安全日志分析
  • 基金资助:
    国家重点研发计划(2022YFB3104601)

A Study on Intrusion Detection Methods Based on Explainable Artificial Intelligence

YANG Wang(), ZHENG Weite   

  1. School of Cyber Science and Engineering, Southeast University, Nanjing 211189, China
  • Received:2025-12-31 Online:2026-06-10 Published:2026-07-27
  • Contact: YANG Wang E-mail:wang.yang@seu.edu.cn

摘要:

针对深度学习入侵检测系统存在决策过程不透明、面对变种攻击泛化能力弱等问题,文章提出一种解释驱动的入侵检测方法(EGA-ID)。该方法打破传统集成学习仅依赖准确率筛选基学习器的局限,引入解释一致性作为衡量模型互补性的关键维度。通过构建统一的解释向量空间,量化异构模型决策逻辑的差异,筛选出决策视角多元且互补的模型子集。同时,结合基于快速梯度符号法的对抗增强训练与包含普拉特概率校准及元学习器的多层融合决策机制,构建稳健且透明的端到端检测架构。在NSL-KDD与UNSW-NB15双基准数据集上的实验结果表明,EGA-ID在F1值与检测精度上均优于深度学习基准及传统集成模型,并在保持高精确率的同时,显著提升对稀疏及变种攻击样本的召回率。此外,该方法实现较高的解释忠实度与稳定性,证实高质量的可解释性能够提升模型性能,在所评测的场景下实现高性能与可解释性的良好平衡。

关键词: 入侵检测, 可解释人工智能, 集成学习, 解释一致性, 对抗训练

Abstract:

To address the issues of opaque decision-making processes and poor generalization ability against variant attacks in deep learning-based intrusion detection systems, this paper proposed an explainability-guided intrusion detection method (EGA-ID). This method breaked the limitation of traditional ensemble learning, which selected base learners solely based on accuracy, and introduced explanation consistency as a key dimension to measure model complementarity. By constructing a unified explanatory vector space, the differences in decision-making logics of heterogeneous models were quantified, thereby selecting a subset of models with diverse and complementary decision-making perspectives. Meanwhile, combined with FGSM-based adversarial augmentation training and a multi-layer fusion decision mechanism comprising Platt Scaling probability calibration and a meta-learner, a robust and transparent end-to-end detection architecture was established. Experimental results on both NSL-KDD and UNSW-NB15 datasets demonstrate that EGA-ID outperforms deep learning baselines and traditional ensemble models in F1-score and detection accuracy. Furthermore, it significantly improves the recall rate for sparse and variant attack samples while maintaining high precision. In addition, the method achieves extremely high explanation fidelity and stability, verifying that high-quality explainability can feedback and enhance model performance, thus achieving a favorable balance between high performance and explainability in the evaluated scenarios.

Key words: intrusion detection, explainable AI, ensemble learning, explanation consistency, adversarial training

中图分类号: