一种用于混合入侵检测的校准且可解释的双模态机器学习框架 A Calibrated and Explainable Bimodal Machine Learning Framework for Hybrid Intrusion Detection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-17
👁️ 预览文献
💡 AI 中文简介
现代通信系统在检测未知攻击和罕见威胁类别方面存在关键缺口,原因在于极端的数据不平衡和黑盒决策逻辑。我们提出了一种用于网络安全的双模态校准且可解释的机器学习框架,在不引入深度学习复杂性的前提下,统一了已知类别的精度和开放集泛化能力。该框架引入了面向安全的特征提取以提高信噪比,混合重采样(ADASYN + 手动增强)以减少类别不平衡,等渗校准和自适应阈值(XSS为τ=0.30)以恢复罕见攻击的召回率,以及基于SHAP的可解释性以验证领域对齐的决策逻辑。在CIC-IDS2017数据集上评估并与先前的ML模型和研究比较,我们的框架在已知攻击上取得了显著的准确性(Macro F1 = 0.8626),并在1%假阳性率下检测未知类别,TPR高达90.17%(DoS slowloris)和77.04%(Web-XSS)。SHAP分析证实决策由安全相关特征驱动,而非模型伪影。我们的工作弥合了理论模型与运营IDS之间的差距,在单一可复现框架中提供校准、可解释和开放集能力的攻击检测与预防。
领域网络安全 / 入侵检测
适合谁读需要一定专业背景
核心贡献["提出双模态框架,结合校准的多类分类器和风险感知异常检测器,实现已知攻击的高精度和未知攻击的开放集检测,无需深度学习。", "引入安全导向特征提取、混合重采样、等渗校准和自适应阈值,以及SHAP可解释性,显著提升罕见攻击检测能力并验证决策逻辑。"]
关键数据Macro F1 = 0.8626(已知攻击);TPR@1%FPR:DoS slowloris 90.17%,Web-XSS 77.04%;XSS自适应阈值τ=0.30
推荐理由如果你关注入侵检测中的未知攻击和罕见攻击检测,以及模型可解释性,这篇论文提供了一个不依赖深度学习、可复现的实用框架,值得一读。
关键词["入侵检测", "网络安全与隐私", "可解释人工智能", "机器学习", "开放集识别", "类别不平衡"]

原文摘要

查看英文原文摘要

Modern communication systems face critical gaps in detecting unknown attacks and rare threat classes due to extreme data imbalance and black-box decision logic. We propose a bimodal framework of calibrated and explainable machine learning (ML) for network security, unifying known-class precision with open-set generalization without the complexity of deep learning. Our framework introduces security-oriented feature extraction to enhance signal-to-noise ratio, hybrid resampling (ADASYN + manual boosting) to reduce class imbalance, isotonic calibration and adaptive thresholding ($τ=0.30$ for XSS) to recover recall for rare attacks, and SHAP-based explainability to validate domain-aligned decision logic. Evaluated on the CIC-IDS2017 dataset and compared with prior ML models and studies, our framework achieves significant accuracy on known attacks (Macro F1 = 0.8626) and detects unknown classes at 1% FPR with TPR up to 90.17% (DoS slowloris), and 77.04% (Web-XSS). The SHAP analysis confirms decisions are driven by security-relevant features, not model artifacts. Our work bridges the gap between theoretical models and operational IDS by delivering calibrated, explainable, and open-set-capable attack detection and prevention in a single, reproducible framework. Keywords: intrusion detection, cybersecurity and privacy, explainable AI, machine learning

📚 参考文献 (15 条)

查看15 条参考文献
  1. [1] M. Agoramoorthy, A. Ali, D. Sujatha, M. R. TF, and G. Ramesh, "An analysis of signature-based components in hybrid intrusion detection systems," in 2023 Intelligent Computing and Control for Engineering and Business Systems (ICCEBS), 2023: IEEE, pp. 1-5.
  2. [2] V. K. Ravindran, S. S. Ojha, and A. Kamboj, "A comparative analysis of signature-based and anomaly-based intrusion detection systems," International Journal of Latest Technology in Engineering, Management & Applied Science, vol. 14, no. 5, pp. 209-214, 2025.
  3. [3] C. Zhang et al., "Three-way selection random forest optimization model for anomaly traffic detection," Electronics, vol. 12, no. 8, p. 1788, 2023.
  4. [4] L. Li, Y. Lu, G. Yang, and X. Yan, "End-to-end network intrusion detection based on contrastive learning," Sensors, vol. 24, no. 7, p. 2122, 2024.
  5. [5] Z. I. Khan, M. M. Afzal, and K. N. Shamsi, "A comprehensive study on CIC-IDS2017 dataset for intrusion detection systems," Int Res J Adv Eng Hub, vol. 2, no. 02, pp. 254-260, 2024.
  6. [6] P. Waghmode, M. Kanumuri, H. El-Ocla, and T. Boyle, "Intrusion detection system based on machine learning using least square support vector machine," Scientific Reports, vol. 15, no. 1, p. 12066, 2025.
  7. [7] J. C. Mondragon, P. Branco, G.-V. Jourdan, A. E. Gutierrez-Rodriguez, and R. R. Biswal, "Advanced IDS: a comparative study of datasets and machine learning algorithms for network flow-based intrusion detection systems: JC Mondragon et al," Applied Intelligence, vol. 55, no. 7, p. 608, 2025.
  8. [8] S. S. Bamber, A. V. R. Katkuri, S. Sharma, and M. Angurala, "A hybrid CNN-LSTM approach for intelligent cyber intrusion detection system," Computers & Security, vol. 148, p. 104146, 2025.
  9. [9] S. Aslam, H. Aslam, A. Manzoor, H. Chen, and A. Rasool, "AntiPhishStack: LSTM-based stacked generalization model for optimized phishing URL detection," Symmetry, vol. 16, no. 2, p. 248, 2024.
  10. [10] Y. A. Farrukh, S. Wali, I. Khan, and N. D. Bastian, "Detecting unknown attacks in iot environments: An open set classifier for enhanced network intrusion detection," in MILCOM 2023-2023 IEEE Military Communications Conference (MILCOM), 2023: IEEE, pp. 121-126.
  11. [11] P. García, J. de Curtò, I. de Zarzà, J. C. Cano, and C. T. Calafate, "Foundation Models for Cybersecurity: A Comprehensive Multi-Modal Evaluation of TabPFN and TabICL for Tabular Intrusion Detection," Electronics, vol. 14, no. 19, p. 3792, 2025.
  12. [12] Y. Zhang and Z. Wang, "Feature engineering and model optimization based classification method for network intrusion detection," Applied Sciences, vol. 13, no. 16, p. 9363, 2023.
  13. [13] H. Kamal and M. Mashaly, "Advanced hybrid transformer-CNN deep learning model for effective intrusion detection systems with class imbalance mitigation using resampling techniques," Future Internet, vol. 16, no. 12, p. 481, 2024.
  14. [14] A. Niculescu-Mizil and R. Caruana, "Predicting good probabilities with supervised learning," in Proceedings of the 22nd international conference on Machine learning, 2005, pp. 625-632.
  15. [15] Y. Vitulyova, T. Babenko, K. Kolesnikova, N. Kiktev, and O. Abramkina, "A Hybrid Approach Using Graph Neural Networks and LSTM for Attack Vector Reconstruction," Computers, vol. 14, no. 8, p. 301, 2025.