Self-Supervised Traffic Classification: Flow Embedding and Few-Shot Solutions

被引:1
|
作者
Horowicz, Eyal [1 ]
Shapira, Tal [2 ]
Shavitt, Yuval [1 ]
机构
[1] Tel Aviv Univ, Elect Engn Dept, IL-69978 Tel Aviv, Israel
[2] Hebrew Univ Jerusalem, Sch Comp Sci, IL-9190500 Jerusalem, Israel
关键词
Internet traffic classification; application identification; traffic; security management; few-shot learning; contrastive representation learning; self-supervised learning; INTERNET; NETWORK;
D O I
10.1109/TNSM.2024.3366848
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Internet traffic classification has been intensively studied over the past decade due to its importance for traffic engineering and cyber security. A promising approach to several traffic classification problems is the FlowPic approach, where histograms of packet sizes in consecutive time slices are transformed into a picture that is fed into a Convolution Neural Network (CNN) model for classification. However, CNNs (and the FlowPic approach included) require a relatively large labeled flow dataset, which is not always easy to obtain. In this paper, we show that we can overcome this obstacle by using Contrastive Representation Learning in order to learn from an unlabeled flow dataset a flow representation that can be embedded in a latent space, enabling clustering of flows belonging to the same class together. We then show that by using just a few labeled flows (a few shots) from each class, we can achieve high accuracy in flow classification. We show that common picture augmentation techniques can help, but accuracy improves further when introducing augmentation techniques that mimic network behavior, such as changes in the RTT (Round-trip time). Finally, we show that we can replace the large FlowPics suggested in the past with much smaller mini-FlowPics and achieve two advantages: improved model performance and easier engineering. Interestingly, this even improves accuracy in some cases.
引用
收藏
页码:3054 / 3067
页数:14
相关论文
共 50 条
  • [21] Few-shot image classification with composite rotation based self-supervised auxiliary task
    Mazumder, Pratik
    Singh, Pravendra
    Namboodiri, Vinay P.
    [J]. NEUROCOMPUTING, 2022, 489 : 179 - 195
  • [22] Multiform Ensemble Self-Supervised Learning for Few-Shot Remote Sensing Scene Classification
    Li, Jianzhao
    Gong, Maoguo
    Liu, Huilin
    Zhang, Yourun
    Zhang, Mingyang
    Wu, Yue
    [J]. IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2023, 61
  • [23] Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Tasks
    Bansal, Trapit
    Jha, Rishikesh
    Munkhdalai, Tsendsuren
    McCallum, Andrew
    [J]. PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 522 - 534
  • [24] Collaborative Self-Supervised Transductive Few-Shot Learning for Remote Sensing Scene Classification
    Han, Haiyan
    Huang, Yangchao
    Wang, Zhe
    [J]. ELECTRONICS, 2023, 12 (18)
  • [25] Self-Supervised SpectralSpatial Graph Prototypical Network for Few-Shot Hyperspectral Image Classification
    Ma, Shan
    Tong, Lei
    Zhou, Jun
    Yu, Jing
    Xiao, Chuangbai
    [J]. IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2023, 61
  • [26] Self-supervised Prototype Conditional Few-Shot Object Detection
    Kobayashi, Daisuke
    [J]. IMAGE ANALYSIS AND PROCESSING, ICIAP 2022, PT II, 2022, 13232 : 681 - 692
  • [27] Self-Supervised Learning for Few-Shot Medical Image Segmentation
    Ouyang, Cheng
    Biffi, Carlo
    Chen, Chen
    Kart, Turkay
    Qiu, Huaqi
    Rueckert, Daniel
    [J]. IEEE TRANSACTIONS ON MEDICAL IMAGING, 2022, 41 (07) : 1837 - 1848
  • [28] Self-Supervised Approach for Few-shot Hand Gesture Recognition
    Kimura, Naoki
    [J]. ADJUNCT PROCEEDINGS OF THE 35TH ACM SYMPOSIUM ON USER INTERFACE SOFTWARE & TECHNOLOGY, UIST 2022, 2022,
  • [29] Multi-task Self-supervised Few-Shot Detection
    Zhang, Guangyong
    Duan, Lijuan
    Wang, Wenjian
    Gong, Zhi
    Ma, Bian
    [J]. PATTERN RECOGNITION AND COMPUTER VISION, PRCV 2023, PT XII, 2024, 14436 : 107 - 119
  • [30] Self-Supervised Task Augmentation for Few-Shot Intent Detection
    Peng-Fei Sun
    Ya-Wen Ouyang
    Ding-Jie Song
    Xin-Yu Dai
    [J]. Journal of Computer Science and Technology, 2022, 37 : 527 - 538