用生成+半监督方法提升云物联网中DDoS攻击检测准确率
MixGAN: A Hybrid Semi-Supervised and Generative Approach for DDoS Detection in Cloud-Integrated IoT Networks
- 结合生成模型与半监督学习,利用合成数据缓解标签稀缺
- 在三个数据集上准确率提升2.5%,真阳性率和真阴性率各增4%
- 适合做物联网安全防护或需要小样本检测的研究者
云集成物联网系统的普及加剧了分布式拒绝服务(DDoS)攻击的风险,源于攻击面扩大、设备行为异构及边缘防护不足。然而,复杂流量动态、严重类别不平衡和标签数据稀少使检测仍具挑战。尽管现有方法尝试缓解类别不平衡,多数在有限监督和动态流量下泛化能力差。为此,我们提出MixGAN,一种融合条件生成、半监督学习与鲁棒特征提取的混合检测方法。为捕捉复杂时序流量模式,设计基于残差连接的一维WideResNet骨干网络,有效识别流量序列中的局部突发特征。为缓解类别不平衡与标签稀缺,使用预训练的CTGAN生成合成少数类(DDoS攻击)样本,补充无标签数据。为进一步降低噪声伪标签影响,引入MixUp-Average-Sharpen(MAS)策略,通过平均增强视图预测并重加权至高置信度类别,生成平滑且锐化的目标。在NSL-KDD、BoT-IoT和CICIoT2023数据集上的实验表明,MixGAN相比最先进方法准确率最高提升2.5%,真阳性率(TPR)和真阴性率(TNR)均提高4%,验证其在大规模物联网-云环境中的鲁棒性。源代码已公开于https://github.com/0xCavaliers/MixGAN。
原文摘要 · Abstract (English)
The proliferation of cloud-integrated IoT systems has intensified exposure to Distributed Denial of Service (DDoS) attacks due to the expanded attack surface, heterogeneous device behaviors, and limited edge protection. However, DDoS detection in this context remains challenging because of complex traffic dynamics, severe class imbalance, and scarce labeled data. While recent methods have explored solutions to address class imbalance, many still struggle to generalize under limited supervision and dynamic traffic conditions. To overcome these challenges, we propose MixGAN, a hybrid detection method that integrates conditional generation, semi-supervised learning, and robust feature extraction. Specifically, to handle complex temporal traffic patterns, we design a 1-D WideResNet backbone composed of temporal convolutional layers with residual connections, which effectively capture local burst patterns in traffic sequences. To alleviate class imbalance and label scarcity, we use a pretrained CTGAN to generate synthetic minority-class (DDoS attack) samples that complement unlabeled data. Furthermore, to mitigate the effect of noisy pseudo-labels, we introduce a MixUp-Average-Sharpen (MAS) strategy that constructs smoothed and sharpened targets by averaging predictions over augmented views and reweighting them towards high-confidence classes. Experiments on NSL-KDD, BoT-IoT, and CICIoT2023 demonstrate that MixGAN achieves up to 2.5% higher accuracy and 4% improvement in both TPR and TNR compared to state-of-the-art methods, confirming its robustness in large-scale IoT-cloud environments. The source code is publicly available at https://github.com/0xCavaliers/MixGAN.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。