APP下载

基于生成对抗网络的入侵检测分类方法研究

2025-08-18陆燕徐青辉杨秋芬

科技资讯 2025年13期
关键词:梯度样本检测

摘" 要:提出了一种创新的OSW-GAN框架,用于解决小样本条件下的网络入侵检测问题。通过融合SMOTE过采样技术与Wasserstein GAN,构建了具有三层改进的混合模型:(1)采用高斯混合模型(GMM)的多样性采样策略;(2)引入梯度惩罚的Wasserstein距离度量;(3)设计分维度处理的生成器-判别器架构。实验结果表明,在NSL-KDD等基准数据集上,该方法使少数类样本生成的FID分数降低至18.7,检测模型F1值平均提升15.2%,尤其在小样本场景(1%训练数据)下仍保持85.2%的准确率。研究为不平衡数据下的入侵检测提供了新的技术思路和实用解决方案。

关键词:生成对抗网络" 入侵检测" 小样本学习" SMOTE" Wasserstein距离

中图分类号:TP393.08;TP183

Research onGenerative Adversarial Network-Based Intrusion Detection Classification Method Based on Generative Adversarial Networks

LU Yan1" XU Qinghui2" YANG Qiufen1

1.Hunan Open University, Changsha, Hu’nan Province, 410004 China; 2. Qingyuan Primary School, Changsha, Hu’nan Province, 410004 China

Abstract: This paper proposes an innovative OSW-GAN framework to address the challenge of network intrusion detection problems under small-sample conditions. By integrating SMOTE oversampling technology with Wasserstein GAN, a three-layer improved hybrid model was constructedwe construct a hybrid model with three key improvements:" (1)Firstly," a A Gaussian Mixture Model (GMM)-based diversity sampling strategy are adopted; (2)Secondly, The introduction ofit introduces gradient-penalized Wasserstein distance measurement; (3)Thirdly, multi-A dimension-specific generator-discriminator architecture are designed. Experimental results show that on benchmark datasets such as NSL-KDD, demonstrate that ourthis method reduces the FID score generated byof minority-class samples generation to 18.7 and improves the F1 value of the detection model by an average of detection model's average F1-score by 15.2%. Especially in small sample scenarios (1% training data), it still maintains an accuracy of 85.2%Notably, it maintains an accuracy of 85.2% even in extreme small-sample scenarios (1% training data). This study research provides novel technical insights and practical solutions for intrusion detection with imbalanced data.

Key Wwords: Generative aAdversarial nNetwork; Intrusion dDetection; Small sample Few-shot lLearning; SMOTE; Wasserstein dDistance

入侵检测是网络安全防护的关键技术之一,通过对网络流量的实时监测与分类,能够快速识别恶意行为并采取防御措施。然而,随着网络规模的扩大和攻击手段的多样化,传统检测方法在应对小样本和不平衡数据时表现不佳。针对这些问题,本文提出了一种基于改进生成对抗网络(OSW-GAN)的入侵检测分类方法,通过数据增强和模型优化,显著提升了检测性能。

1" 相关理论

1.1" 生成对抗网络(GAN)

生成对抗网络(Generative Adversarial Network,GAN)是一种深度学习模型,由生成器和判别器两部分组成。生成器负责制造“假数据”,判别器则要区分真假数据。两者就像警察和造假者一样不断对抗学习。传统GAN有3个主要问题:训练过程不稳定,容易崩溃;生成的样本种类单一;学习过程中梯度容易消失。

为解决这些问题,研究者提出了多种改进方法,例如:使用Wasserstein距离(WGAN)替代原始损失函数;……

登录APP查看全文

猜你喜欢

梯度样本检测
晶粒梯度对AA04-T35合金微动疲劳裂纹萌生的影响研究
挤压-切削制备可控厚度的双层梯度结构带材的新工艺及机理
锥度球头刀四轴铣削TC4残余应力梯度分布反解
基于多扰动策略的中文对抗样本生成方法
使用NGN算法改进不平衡数值数据的研究
不同施肥模式对甘南亚高山草甸植被群落和土壤的影响
英国生物样本库公众参与实践模式对提高我国临床研究质量的启示
山东首条无人机医疗样本运输航线正式常态化运营
小波变换在PCB缺陷检测中的应用