基于无监督在线机器学习的网络流异常检测
Anomaly detection in network flows using unsupervised online machine learning
AI总结:
针对网络流量动态变化、标注数据稀缺的异常检测难题,提出基于River库和One-Class SVM的无监督在线机器学习网络流异常检测模型,在NF-UNSW-NB15数据集上实现高准确率、低假阳性率,且处理速度满足实时需求。
摘要:
如今,网络流量规模持续增长,攻击的频率和复杂度也不断提升。由于网络行为是动态的且会随时间变化,这一现状凸显了对能够持续自适应的解决方案的需求。本研究提出了一种具备在线学习能力的无监督机器学习网络流异常检测模型。该方法可让系统动态学习网络的正常行为并检测偏差,无需标注数据,这在流量持续变化、标注数据稀缺的真实环境中尤为实用。该模型基于River(在线机器学习库)实现,采用One-Class SVM(单类支持向量机)算法,并在NF-UNSW-NB15数据集及其扩展版本v2上进行评估,这两个数据集包含标注了不同攻击类别的网络流。结果显示,在最新版本的数据集上,模型准确率超过98%,假阳性率低于3.1%,召回率达100%。此外,单条流的处理时间极低(<0.033 ms),证明了该方法在实时应用中的可行性。
英文摘要:
Nowadays, the volume of network traffic continues to grow, along with the frequency and sophistication of attacks. This scenario highlights the need for solutions capable of continuously adapting, since network behavior is dynamic and changes over time. This work presents an anomaly detection model for network flows using unsupervised machine learning with online learning capabilities. This approach allows the system to dynamically learn the normal behavior of the network and detect deviations without requiring labeled data, which is particularly useful in real-world environments where traffic is constantly changing and labeled data is scarce. The model was implemented using the River library with a One-Class SVM and evaluated on the NF-UNSW-NB15 dataset and its extended version v2, which contain network flows labeled with different attack categories. The results show an accuracy above 98%, a false positive rate below 3.1%, and a recall of 100% in the most advanced version of the dataset. In addition, the low processing time per flow (<0.033 ms) demonstrates the feasibility of the approach for real-time applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。