通过统计学习和遗传算法的合成网络数据包生成
Synthetic Network Packet Generation through Statistical Learning and Genetic Algorithms
AI总结:
针对IoT入侵检测系统数据集稀缺和类别不平衡问题,提出两种约束强制方法:统计学习(PCA+OCSVM/IF)和遗传算法,在ACI IoT 2023数据集上均通过验证,统计方法吞吐量高,遗传方法异常率低。
摘要:
为IoT环境开发鲁棒的入侵检测系统(IDS)需要大型、标记的数据集,这些数据集能够捕捉良性活动和恶意活动中的真实流量分布。现有的公开数据集存在固定的活动分布和极端的类别不平衡,而深度生成模型(GANs、VAEs)无法保证合成数据包保持在物理有效的特征范围内。本文提出并比较了两种用于合成IoT网络数据包的约束强制方法:(i)一种统计学习方法,结合基于PCA的潜在空间采样与双一类SVM(OCSVM)和孤立森林(IF)边界强制;(ii)一种遗传算法(GA)方法,将数据包生成视为多目标优化问题,具有明确的适应度标准,用于异常模型接受和分布保真度。两种方法都将硬有效性约束——双异常检测门控、特征范围钳制和独立验证——直接嵌入到合成流程中。在完整的ACI IoT 2023数据集(1,231,411个数据包,12个攻击类别,类别不平衡高达175,805:1)上的评估表明,两种方法在独立训练的验证器下,以30%的异常率阈值,在所有类别上均达到PASS状态:统计方法平均异常率为1.20%,吞吐量约1,091个数据包/秒;而GA方法平均异常率为0.62%,具有有机的每类方差(0.00%-2.50%),吞吐量约5.7个数据包/秒。两种方法成功地将5样本的ARP欺骗类别放大200倍,达到1,000个验证数据包。两种方法之间约190:1的吞吐量比,结合它们互补的质量特征,为从快速数据集增强到对抗鲁棒性测试的部署场景提供了基于证据的选择标准。
英文摘要:
Developing robust intrusion detection systems (IDS) for IoT environments requires large, labeled datasets capturing realistic traffic distributions across both benign and malicious activity. Existing public datasets suffer from fixed activity distributions and extreme class imbalance, while deep generative models (GANs, VAEs) provide no mechanism to enforce that synthetic packets remain within physically valid feature ranges. This paper proposes and compares two constraint-enforcing approaches for synthetic IoT network packet generation: (i) a statistical learning method combining PCA-based latent space sampling with dual One-Class SVM (OCSVM) and Isolation Forest (IF) boundary enforcement, and (ii) a genetic algorithm (GA) method that treats packet generation as a multi-objective optimization problem with explicit fitness criteria for anomaly model acceptance and distributional fidelity. Both methods embed hard validity constraints -- dual anomaly-detection gating, feature-range clamping, and independent validation -- directly into the synthesis pipeline. Evaluation on the complete ACI IoT 2023 dataset (1,231,411 packets, 12 attack categories, class imbalance up to 175,805:1) demonstrates that both methods achieve PASS status across all categories under independently trained validators with a 30% anomaly rate threshold: the statistical method attains 1.20% average anomaly rate with ~1,091 packets/s throughput, while the GA attains 0.62% average anomaly rate with organic per-class variance (0.00%-2.50%) at ~5.7 packets/s. Both methods successfully amplify the 5-sample ARP Spoofing category by 200x to 1,000 validated packets. The ~190:1 throughput ratio between methods, combined with their complementary quality profiles, provides evidence-based selection criteria for deployment contexts ranging from rapid dataset augmentation to adversarial robustness testing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。