Jingyu Guo, Mingxin Cui, Chengshang Hou, Gaopeng Gou, Zhuguo Li, G. Xiong, Chang Liu
{"title":"基于全局感知的少射加密流分类原型网络","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":"{\"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}","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
摘要
在“几次射击”场景下执行加密流量分类是至关重要的,因为这是一种劳动密集型的标记和本质上罕见的样本。现有的方法大多采用度量学习来解决少次加密流分类问题。然而,这些方法仅利用输入流量的局部信息来区分不同的流量类型,降低了分类的性能。本文通过聚合流量输入的全局信息,设计了全局感知的原型网络(GP-Net),用于少射加密流量分类。具体而言,GP-Net首先捕获任意两个字节的有效载荷序列之间的关系,而不考虑空间距离,然后利用字节关系聚合交通输入的全局信息。此外,利用相对位置机制对有效载荷序列中字节的位置信息进行建模,增强了GP-Net的表达能力。我们在真实的交通数据集上进行了大量的实验来评估GP-Net的有效性。实验结果表明,即使流量样本数量少于20个,GP-Net在识别新流量类型方面也取得了良好的性能,优于最先进的SOTA (The -art -of- The -art - less -shot)加密流量分类方法。
Global-Aware Prototypical Network for Few-Shot Encrypted Traffic Classification
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.