通过序列建模实现加密流分类的轻量级模型

Yanliang Jin, Yantao Chen, Yuan Gao
{"title":"通过序列建模实现加密流分类的轻量级模型","authors":"Yanliang Jin, Yantao Chen, Yuan Gao","doi":"10.1117/12.2667332","DOIUrl":null,"url":null,"abstract":"With the increasing awareness of privacy protection in recent years, various encryption techniques are gradually applied to network traffic, which makes encrypted traffic classification an indispensable part of network management. Recent studies show that the approaches based on deep learning are compelling for the traffic classification task. However, most of them take the encrypted payload as input, which not only requires high computational overhead to make classification, but also limits the performance improvement due to the unavailability of the plaintext. In this paper, we treat the encrypted traffic as sequences and solve the classification task from the perspective of sequence modeling, which only depends on several sequence fields obtained from the traffic header. We properly design a lightweight model and name it TGA by its structure, which consists of a temporal convolutional network (TCN), a gated recurrent unit (GRU) and the attention mechanism. TGA first extracts short-term features from sequences by applying the TCN, and then captures the long-term dependencies by exploiting the GRU, and finally focuses on valuable features through dynamic assignment of attention weights. Through these three steps, TGA is expected to obtain the most effective but lightest temporal features. Experimental results on the public dataset demonstrate that TGA shows superiority in terms of classification accuracy and time efficiency, while the number of parameters is reduced to at most 30% of the state-of-the-art models.","PeriodicalId":128051,"journal":{"name":"Third International Seminar on Artificial Intelligence, Networking, and Information Technology","volume":"162 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A lightweight model for encrypted traffic classification through sequence modeling\",\"authors\":\"Yanliang Jin, Yantao Chen, Yuan Gao\",\"doi\":\"10.1117/12.2667332\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the increasing awareness of privacy protection in recent years, various encryption techniques are gradually applied to network traffic, which makes encrypted traffic classification an indispensable part of network management. Recent studies show that the approaches based on deep learning are compelling for the traffic classification task. However, most of them take the encrypted payload as input, which not only requires high computational overhead to make classification, but also limits the performance improvement due to the unavailability of the plaintext. In this paper, we treat the encrypted traffic as sequences and solve the classification task from the perspective of sequence modeling, which only depends on several sequence fields obtained from the traffic header. We properly design a lightweight model and name it TGA by its structure, which consists of a temporal convolutional network (TCN), a gated recurrent unit (GRU) and the attention mechanism. TGA first extracts short-term features from sequences by applying the TCN, and then captures the long-term dependencies by exploiting the GRU, and finally focuses on valuable features through dynamic assignment of attention weights. Through these three steps, TGA is expected to obtain the most effective but lightest temporal features. Experimental results on the public dataset demonstrate that TGA shows superiority in terms of classification accuracy and time efficiency, while the number of parameters is reduced to at most 30% of the state-of-the-art models.\",\"PeriodicalId\":128051,\"journal\":{\"name\":\"Third International Seminar on Artificial Intelligence, Networking, and Information Technology\",\"volume\":\"162 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-02-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Third International Seminar on Artificial Intelligence, Networking, and Information Technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1117/12.2667332\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Third International Seminar on Artificial Intelligence, Networking, and Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2667332","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

随着近年来人们对隐私保护意识的增强,各种加密技术逐渐应用于网络流量中,使得加密流分类成为网络管理中不可缺少的一部分。近年来的研究表明,基于深度学习的方法在流量分类任务中具有很好的应用前景。然而,它们大多将加密的有效负载作为输入,这不仅需要很高的计算开销来进行分类,而且由于明文不可用,限制了性能的提高。本文将加密流量视为序列,从序列建模的角度解决分类任务,而序列建模只依赖于从流量报头中获得的几个序列字段。我们设计了一个轻量级模型,并根据其结构将其命名为TGA,该模型由一个时间卷积网络(TCN)、一个门控循环单元(GRU)和注意机制组成。TGA首先利用TCN提取序列的短期特征,然后利用GRU捕获序列的长期依赖关系,最后通过动态分配关注权来关注有价值的特征。通过这三个步骤,TGA有望获得最有效但最轻的时间特征。在公共数据集上的实验结果表明,TGA在分类精度和时间效率方面具有优势,而参数数量最多减少到最先进模型的30%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A lightweight model for encrypted traffic classification through sequence modeling
With the increasing awareness of privacy protection in recent years, various encryption techniques are gradually applied to network traffic, which makes encrypted traffic classification an indispensable part of network management. Recent studies show that the approaches based on deep learning are compelling for the traffic classification task. However, most of them take the encrypted payload as input, which not only requires high computational overhead to make classification, but also limits the performance improvement due to the unavailability of the plaintext. In this paper, we treat the encrypted traffic as sequences and solve the classification task from the perspective of sequence modeling, which only depends on several sequence fields obtained from the traffic header. We properly design a lightweight model and name it TGA by its structure, which consists of a temporal convolutional network (TCN), a gated recurrent unit (GRU) and the attention mechanism. TGA first extracts short-term features from sequences by applying the TCN, and then captures the long-term dependencies by exploiting the GRU, and finally focuses on valuable features through dynamic assignment of attention weights. Through these three steps, TGA is expected to obtain the most effective but lightest temporal features. Experimental results on the public dataset demonstrate that TGA shows superiority in terms of classification accuracy and time efficiency, while the number of parameters is reduced to at most 30% of the state-of-the-art models.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信