基于自适应—相似修正的网络安全态势预测方法

Network security situation prediction method via step adaption and similarity correction

  • 摘要: 针对网络安全态势预测问题,提出一种基于自适应—相似修正的预测方法。首先,提出一种步长自适应策略来确定预测模型的初始输入。即,引入变分模态分解来提取原始态势数据集的模态分量集;并对分量集中的周期分量,利用快速傅里叶变换确定其周期个数,作为其对应预测模型的输入长度;对非周期分量,利用递减Lempel-Ziv复杂度准则来自适应确定其对应预测模型的输入长度。其次,对模态分量的每个分量值,由训练数据集来构建其对应的支持向量机子模型。再次,在给定的初始输入长度下,基于余弦方差相似度判据,在训练数据集中筛选与测试集初始输入长度相同、变化趋势相似的数据子集。然后,基于上述支持向量机子模型,对该相似数据子集获得初始预测结果,并将相似数据子集与其初始预测结果作为最终的预测模型输入,实现对初始支持向量机子模型的修正。最后,在标准网络安全数据集NSL-KDD上的实验表明:所提单步预测方法均方误差(MSE)为0.000175、平均绝对误差(MAE)为0.0107、决定系数(R2)为98.40%,其预测精度显著优于传统浅层学习、深度学习及支持向量机方法;在四步预测中,引入修正机制后效果更明显,与修正前相比,MAE、MSE分别降低了29.00%、53.69%,R2提升了5.03%;综上,验证了基于自适应—相似修正的预测方法的较高预测准确性。

     

    Abstract: For the problem of network security situation prediction, a prediction method via step adaption and similar correction is proposed. Firstly, variational modal decomposition is introduced to extract the main modal components. Secondly, the fast fourier transform is used to determine the period number for the input length of the prediction model. For the non-periodic modal components, the decreasing Lempel-Ziv complexity criterion is used to determine the input length of the prediction model adaptively. Thirdly, for each modal component, the support vector machine sub-model is constructed by the training dataset. Then, on the basis of the cosine variance similarity index, the similar subsets corresponding to the test set are searched in the training dataset. Additionally, via the above sub-model, the initial prediction result of the similar data subset is obtained. Furthermore, the similar data subset and the initial prediction result are afforded for the final inputs of the support vector machine prediction model. Finally, experiments on the standard cybersecurity dataset NSL-KDD show that the proposed single-step prediction method has a mean square error (MSE) of 0.000175, a mean absolute error (MAE) of 0.0107, and a coefficient of determination (R2) of 98.40%, and its prediction accuracy is significantly better than that of the traditional shallow learning, deep learning, and support vector machine methods; among the four-step prediction, the introduction of the correction mechanism is more obvious, compared with the pre-correction, the MAE and MSE are reduced by 29.00% and 53.69% respectively, and the R2 is improved by 5.03%; in summary, the higher prediction accuracy of the prediction method based on adaptive-similarity correction is verified.

     

/

返回文章
返回