Computer network communication intrusion detection algorithm based on chaotic PSO
摘要
由于计算机网络通信入侵中的部分攻击样本具有显著的长尾分布特性,使得通信入侵特征存在冗余与共线性,同时又因为少数类攻击模式存在非线性入侵样本稀缺特性,难以被有效泛化,导致通信入侵检测的漏报率与误报率升高.对此,提出一种基于混沌粒子群优化算法的计算机网络通信入侵检测算法.通过聚类划分与 K-S检验方法筛选出对网络入侵行为的强辨别能力的特征子集,抑制通信入侵特征的冗余与共线性.基于通信入侵特征子集,采用径向基函数改进反向传播神经网络,构建具有强非线性拟合能力的入侵检测模型,增强对少数类攻击模式的泛化能力.为进一步提升模型在长尾分布下的检测性能,引入混沌映射机制增强粒子群优化算法的全局寻优能力,避免早熟收敛,实现对模型超参数的优化,同时设计动态加权交叉熵损失函数,在训练过程中自适应提升少数类样本权重,增强模型对具有稀缺特性部分攻击样本的检测能力.实验结果表明,所提算法的整体入侵检测准确率达到 99.33%,平均漏报率和误报率分别为 1.12%和 0.83%,验证了其在不平衡数据环境下进行通信入侵检测的有效性与稳定性.
Due to the significant long-tail distribution characteristics exhibit in some attack samples in computer network intrusion detection,the communication intrusion features present redundancy and collinearity.At the same time,because of the scarcity of nonlinear intrusion samples in some attack modes,which makes effective generalization difficult,the false negative and false positive rates in communication intrusion detection increase.Therefore,a computer network communication intrusion detection algorithm based on the chaos particle swarm optimization algorithm is proposed.Through clustering partition and the K-S test method,a feature subset with strong discrimination ability for network intrusion behavior is selected to suppress the redundancy and collinearity of communication intrusion features.Based on this feature subset,the radial basis function is used to improve the backpropagation neural network,and an intrusion detection model with strong nonlinear fitting ability is constructed to enhance the generalization ability of minority attack patterns.To further improve the model's detection performance under a long-tail distribution,a chaotic mapping mechanism is introduced to enhance the global optimization capability of the particle swarm optimization algorithm,avoiding premature convergence and optimizing the superparameters of the model.Additionally,a dynamic weighted cross entropy loss function is designed to adaptively increase the weight of minority samples during training and enhance the model's ability to detect some attack samples with scarce characteristics.Experimental results show that the proposed algorithm achieves an overall intrusion detection accuracy of 99.33%,with an average false negative rate of 1.12%and a false positive rate of 0.83%,validating the effectiveness and stability of the proposed algorithm in communication intrusion detection under the imbalanced data environment.