###
计算机系统应用英文版:2026,35(3):23-31
本文二维码信息
码上扫一扫!
基于扩散模型的小样本入侵检测
(1.成都信息工程大学 网络空间安全学院, 成都 610225;2.先进微处理器技术国家工程研究中心 (工业控制与安全分中心), 成都 610225)
Few-shot Intrusion Detection Based on Diffusion Model
(1.School of Cybersecurity, Chengdu University of Information Technology, Chengdu 610225, China;2.SUGON Industrial Control and Security Center, Chengdu 610225, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 749次   下载 417
Received:September 10, 2025    Revised:October 10, 2025
中文摘要: 针对新型网络攻击初始阶段样本稀缺导致入侵检测模型泛化能力不足、检测效果差等问题, 本文提出一种基于扩散模型的小样本入侵检测方法. 该方法在数据增强层面构建噪声感知的条件扩散模型, 采用余弦噪声调度平衡生成效率与样本质量, 并通过残差连接增强特征传播稳定性, 从而提升合成流量数据的分布保真度. 在特征度量层面, 设计动态原型网络结构, 利用多头注意力优化类原型表示, 缓解小样本特征稀疏问题; 同时采用交叉熵损失与正交正则项的联合优化策略, 增强类内聚合与类间区分度. 在两个公开数据集上的实验结果表明, 该模型在小样本场景下的准确率和泛化能力均优于其他检测方法, 为小样本入侵检测提供了新的解决思路.
Abstract:To address the insufficient generalization and degraded detection performance in intrusion detection models caused by scarce samples during the early stages of novel network attacks, this study proposes a few-shot intrusion detection method based on diffusion models. At the data augmentation level, the proposed method introduces a noise-aware conditional diffusion model that employs cosine noise scheduling to balance generation efficiency and sample fidelity, while residual connections are incorporated to enhance feature propagation stability and improve the distribution fidelity of synthesized traffic data. At the feature metric level, a dynamic prototype network is designed, leveraging multi-head attention to optimize class prototype representations and mitigate feature sparsity in few-shot scenarios. Simultaneously, a joint optimization strategy combining cross-entropy loss with an orthogonal regularization term is adopted to enhance intra-class compactness and increase inter-class separability. Experimental results on two public datasets demonstrate that the proposed model outperforms other detection methods in terms of accuracy and generalization capability under few-shot scenarios, providing a novel solution approach for few-shot intrusion detection.
文章编号:     中图分类号:    文献标志码:
基金项目:国家242信息安全计划(2021-037); 四川省自然科学基金(2024NSFSC0515)
引用文本:
王舒淋,林宏刚,李鹏亮.基于扩散模型的小样本入侵检测.计算机系统应用,2026,35(3):23-31
WANG Shu-Lin,LIN Hong-Gang,LI Peng-Liang.Few-shot Intrusion Detection Based on Diffusion Model.COMPUTER SYSTEMS APPLICATIONS,2026,35(3):23-31