arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.00204cs.NIcs.AI
收藏

一种基于深度学习的网络流量分类增强方法

Augmentation Scheme for Dealing with Imbalanced Network Traffic Classification Using Deep Learning

Amirkabir University of Technology(阿米尔卡比尔理工大学);K. N. Toosi University of Technology(托西科技大学)

Ramin Hasibi, Matin Shokri, Mehdi Dehghan

摘要:

网络管理中最重要的任务之一是识别不同类型的业务流。因此,引入了一种称为网络流量分类器(NTC)的管理服务。近年来获得巨大关注的一种类型的NTC对数据包应用深度学习以对流进行分类。互联网是一个不平衡的环境,某些类别的应用程序比其它类别的应用程序多得多(例如,HTTP.此外,深度学习方法中的一个挑战是,它们在不平衡的环境中,在精度、召回率和$\mathrm{F_1}$测量等评估指标方面表现不佳。为了解决这个问题,我们建议使用增强方法来平衡数据集。在本文中,我们提出了一种新的数据增强方法,该方法基于使用长短期记忆(LSTM)网络来生成交通流模式,并使用核密度估计(KDE)来复制每个类别的数值特征。首先,我们使用LSTM网络来学习和生成流中人口较少的类的数据包序列。然后,我们完成了序列的特征,根据某个特征的分布生成随机值,使用KDE进行估计。最后,我们比较了卷积递归神经网络(CRNN)在大规模不平衡,采样和增强数据集中的训练。然后,通过对每类应用程序的精确度、召回率和F1度量的测量,在所有数据集上评估我们的增强方案的贡献。结果表明,我们的计划是非常适合网络流量数据集,并提高了深度学习算法的性能,当涉及到上述指标。

英文摘要:

One of the most important tasks in network management is identifying different types of traffic flows. As a result, a type of management service, called Network Traffic Classifier (NTC), has been introduced. One type of NTCs that has gained huge attention in recent years applies deep learning on packets in order to classify flows. Internet is an imbalanced environment i.e., some classes of applications are a lot more populated than others e.g., HTTP. Additionally, one of the challenges in deep learning methods is that they do not perform well in imbalanced environments in terms of evaluation metrics such as precision, recall, and $\mathrm{F_1}$ measure. In order to solve this problem, we recommend the use of augmentation methods to balance the dataset. In this paper, we propose a novel data augmentation approach based on the use of Long Short Term Memory (LSTM) networks for generating traffic flow patterns and Kernel Density Estimation (KDE) for replicating the numerical features of each class. First, we use the LSTM network in order to learn and generate the sequence of packets in a flow for classes with less population. Then, we complete the features of the sequence with generating random values based on the distribution of a certain feature, which will be estimated using KDE. Finally, we compare the training of a Convolutional Recurrent Neural Network (CRNN) in large-scale imbalanced, sampled, and augmented datasets. The contribution of our augmentation scheme is then evaluated on all of the datasets through measurements of precision, recall, and F1 measure for every class of application. The results demonstrate that our scheme is well suited for network traffic flow datasets and improves the performance of deep learning algorithms when it comes to above-mentioned metrics.

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

↑