arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.00144cs.LG
收藏

计算机网络中使用合成数据平衡数据对入侵检测机器学习分类器性能的影响

Effect of Balancing Data Using Synthetic Data on the Performance of Machine Learning Classifiers for Intrusion Detection in Computer Networks

University of Kentucky(肯塔基大学)

Ayesha S. Dina, A. B. Siddique, D. Manivannan

摘要:

近年来,针对计算机网络的攻击显著增加,部分原因是发动此类攻击的复杂工具的可用性以及支持这种攻击的蓬勃发展的地下网络犯罪经济。在过去的几年中,学术界和工业界的研究人员使用机器学习(ML)技术来设计和实现针对计算机网络的入侵检测系统(IDS)。这些研究人员中的许多人使用各种组织收集的数据集来训练ML模型以预测入侵。在这些系统中使用的许多数据集中,数据是不平衡的(即,并非所有类都具有相等数量的样本)。对于不平衡的数据,使用ML算法开发的预测模型可能会产生不令人满意的分类器,这将影响预测入侵的准确性。传统上,研究人员使用过采样和欠采样来平衡数据集中的数据,以克服这个问题。在这项工作中,除了过采样,我们还使用了一种合成数据生成方法,称为条件生成对抗网络(CTGAN),以平衡数据并研究它们对各种ML分类器的影响。据我们所知,还没有人使用CTGAN来生成合成样本来平衡入侵检测数据集。基于使用广泛使用的数据集NSL-KDD进行的大量实验,我们发现,与在不平衡数据上训练相同的ML模型相比,在与CTGAN生成的合成样本平衡的数据集上训练ML模型将预测准确度提高了$8\%$。我们的实验还表明,与在不平衡数据上训练的相同ML模型相比,在随机过采样平衡数据上训练的一些ML模型的准确性下降。

英文摘要:

Attacks on computer networks have increased significantly in recent days, due in part to the availability of sophisticated tools for launching such attacks as well as thriving underground cyber-crime economy to support it. Over the past several years, researchers in academia and industry used machine learning (ML) techniques to design and implement Intrusion Detection Systems (IDSes) for computer networks. Many of these researchers used datasets collected by various organizations to train ML models for predicting intrusions. In many of the datasets used in such systems, data are imbalanced (i.e., not all classes have equal amount of samples). With unbalanced data, the predictive models developed using ML algorithms may produce unsatisfactory classifiers which would affect accuracy in predicting intrusions. Traditionally, researchers used over-sampling and under-sampling for balancing data in datasets to overcome this problem. In this work, in addition to over-sampling, we also use a synthetic data generation method, called Conditional Generative Adversarial Network (CTGAN), to balance data and study their effect on various ML classifiers. To the best of our knowledge, no one else has used CTGAN to generate synthetic samples to balance intrusion detection datasets. Based on extensive experiments using a widely used dataset NSL-KDD, we found that training ML models on dataset balanced with synthetic samples generated by CTGAN increased prediction accuracy by up to $8\%$, compared to training the same ML models over unbalanced data. Our experiments also show that the accuracy of some ML models trained over data balanced with random over-sampling decline compared to the same ML models trained over unbalanced data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑