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

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

基于深度主动学习的联邦半监督入侵检测系统

张浩1,2,3, 叶骏威1,2,3()   

  1. 1 福州大学计算机与大数据学院福州 350116
    2 福建省网络计算与智能信息处理重点实验室福州 350116
    3 大数据智能教育部工程研究中心福州 350116
  • 收稿日期:2025-04-15 出版日期:2026-06-10 发布日期:2026-07-27
  • 通讯作者: 叶骏威 E-mail:xeno73@foxmail.com
  • 作者简介:张浩(1981—),男,安徽,副教授,博士,CCF高级会员,主要研究方向为信息安全、安全大数据分析、计算智能算法|叶骏威(2000—),男,福建,硕士研究生,主要研究方向为网络入侵检测、联邦学习
  • 基金资助:
    福建省自然科学基金(2021J01616);互联网体系结构全国重点实验室开放课题(HLW2025MS14)

Deep Active Learning Based Federated Semi-Supervised Intrusion Detection System

ZHANG Hao1,2,3, YE Junwei1,2,3()   

  1. 1 College of Computer and Data Science, Fuzhou University, Fuzhou 350116, China
    2 Fujian Key Laboratory of Network Computing and Intelligent Information Processing, Fuzhou 350116, China
    3 Engineering Research Center of Big Data Intelligence, Chinese Ministry of Education, Fuzhou 350116, China
  • Received:2025-04-15 Online:2026-06-10 Published:2026-07-27
  • Contact: YE Junwei E-mail:xeno73@foxmail.com

摘要:

随着网络规模的扩大,网络安全问题日益突出,入侵检测系统面临数据标注成本高和数据传输延迟等挑战。联邦学习为分布式入侵检测提供了一种有效解决方案,但仍依赖大量标注数据。为降低标注成本,主动学习常被应用于入侵检测中,但主动学习中用于选择待标注样本的查询策略往往受限于数据分布。文章结合多样性采样与基于深度模型迁移的查询策略,提出一种基于深度主动学习的联邦半监督入侵检测系统。首先,通过K-Means聚类选择多样性样本进行标注。然后,基于迁移学习,利用已标注数据在分类器上的预测结果训练选择器;其中,分类器用于入侵检测,选择器用于筛选有助于提升检测性能的未标注样本进行标注。最后,文章选用NSL-KDD和UNSW-NB15数据集进行实验。实验结果表明,该方案减少了对大量标注数据的需求,并提高了主动学习在不同数据分布与场景下的适应性。

关键词: 网络入侵检测, 联邦学习, 半监督学习, 主动学习

Abstract:

With the expansion of network scale, network security issues have become increasingly prominent. Intrusion detection systems face challenges such as high data annotation costs and data transmission delays. Federated learning provides an effective solution for distributed intrusion detection, but it still suffers from the bottleneck of relying on a large amount of labeled data. To reduce annotation costs, active learning is often applied in intrusion detection; however, the query strategies used to select samples for annotation in active learning are often limited by data distribution. This paper proposed a federated semi-supervised intrusion detection system based on deep active learning, combining diversity sampling with a query strategy based on deep model transfer. First, K-Means clustering was used to select diverse samples for annotation. Then, based on transfer learning, a selector was trained using the prediction results of the classifier on the labeled data. The classifier was used for intrusion detection, while the selector was used to identify unlabeled samples that can help improve detection performance for annotation. Finally, the NSL-KDD and UNSW-NB15 datasets selected for experiments. The experimental results show that the proposed scheme reduces the demand for a large amount of labeled data and improves the adaptability of active learning across different data distributions and scenarios.

Key words: network intrusion detection, federated learning, semi-supervisied learning, active learning

中图分类号: