Global-Aware Prototypical Network for Few-Shot Encrypted Traffic Classification

Jingyu Guo, Mingxin Cui, Chengshang Hou, Gaopeng Gou, Zhuguo Li, G. Xiong, Chang Liu
{"title":"Global-Aware Prototypical Network for Few-Shot Encrypted Traffic Classification","authors":"Jingyu Guo, Mingxin Cui, Chengshang Hou, Gaopeng Gou, Zhuguo Li, G. Xiong, Chang Liu","doi":"10.23919/ifipnetworking55013.2022.9829771","DOIUrl":null,"url":null,"abstract":"Performing encrypted traffic classification under a few-shot scenario is vital because of labor-intensive labeling and intrinsically rare samples. Most existing methods apply metric learning to solve the problem of few-shot encrypted traffic classification. However, those methods only involve local information of traffic inputs to distinguish different traffic types, which weakens classification performance. In this paper, we devise Global-aware Prototypical Network (GP-Net) for few-shot encrypted traffic classification by aggregating the global information of the traffic inputs. Specifically, GP-Net firstly captures the relations between any two bytes of payload sequence, regardless of the spatial distance, and then utilizes the byte-wise relationships to aggregate the global information of traffic inputs. Moreover, we model the position information of bytes in payload sequence by leveraging the relative position mechanism, which enhances the express ability of GP-Net. We conduct extensive experiments on the real-world traffic dataset to evaluate the effectiveness of GP-Net. The experimental results demonstrate that GP-Net achieves high performance when recognizing a new traffic type even when the number of traffic samples is less than 20, outperforming state-of-the-art (SOTA) few-shot encrypted traffic classification methods.","PeriodicalId":31737,"journal":{"name":"Edutech","volume":"101 1","pages":"1-9"},"PeriodicalIF":0.0000,"publicationDate":"2022-06-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Edutech","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/ifipnetworking55013.2022.9829771","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Performing encrypted traffic classification under a few-shot scenario is vital because of labor-intensive labeling and intrinsically rare samples. Most existing methods apply metric learning to solve the problem of few-shot encrypted traffic classification. However, those methods only involve local information of traffic inputs to distinguish different traffic types, which weakens classification performance. In this paper, we devise Global-aware Prototypical Network (GP-Net) for few-shot encrypted traffic classification by aggregating the global information of the traffic inputs. Specifically, GP-Net firstly captures the relations between any two bytes of payload sequence, regardless of the spatial distance, and then utilizes the byte-wise relationships to aggregate the global information of traffic inputs. Moreover, we model the position information of bytes in payload sequence by leveraging the relative position mechanism, which enhances the express ability of GP-Net. We conduct extensive experiments on the real-world traffic dataset to evaluate the effectiveness of GP-Net. The experimental results demonstrate that GP-Net achieves high performance when recognizing a new traffic type even when the number of traffic samples is less than 20, outperforming state-of-the-art (SOTA) few-shot encrypted traffic classification methods.
基于全局感知的少射加密流分类原型网络
在“几次射击”场景下执行加密流量分类是至关重要的,因为这是一种劳动密集型的标记和本质上罕见的样本。现有的方法大多采用度量学习来解决少次加密流分类问题。然而,这些方法仅利用输入流量的局部信息来区分不同的流量类型,降低了分类的性能。本文通过聚合流量输入的全局信息,设计了全局感知的原型网络(GP-Net),用于少射加密流量分类。具体而言,GP-Net首先捕获任意两个字节的有效载荷序列之间的关系,而不考虑空间距离,然后利用字节关系聚合交通输入的全局信息。此外,利用相对位置机制对有效载荷序列中字节的位置信息进行建模,增强了GP-Net的表达能力。我们在真实的交通数据集上进行了大量的实验来评估GP-Net的有效性。实验结果表明,即使流量样本数量少于20个,GP-Net在识别新流量类型方面也取得了良好的性能,优于最先进的SOTA (The -art -of- The -art - less -shot)加密流量分类方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
审稿时长
4 weeks
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信