SPN: A Method of Few-Shot Traffic Classification With Out-of-Distribution Detection Based on Siamese Prototypical Network

被引:5
|
作者
Miao, Gongxun [1 ,2 ]
Wu, Guohua [1 ]
Zhang, Zhen [1 ]
Tong, Yongjie [2 ]
Lu, Bing [2 ]
机构
[1] Hangzhou Dianzi Univ, Sch Cyberspace, Hangzhou 310018, Peoples R China
[2] Zhongfu Informat Co Ltd, Jinan 250101, Peoples R China
关键词
Task analysis; Feature extraction; Training; Metalearning; Prototypes; Data models; Adaptation models; Telecommunication traffic; Classification algorithms; Computer security; Few-shot; intrusion detection; network traffic classification; out-of-distribution; SPN; MODEL;
D O I
10.1109/ACCESS.2023.3325065
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Traffic classification has always been one of the important research directions in the field of cyber security. Achieving rapid traffic classification and detecting unknown traffic are critical for preventing network attacks, malicious software, transaction fraud, and other types of cyber security threats. However, most existing models are based on large-scale data and are unable to quickly learn and recognize unknown traffic. Some methods based on few-shot learning solve the problem of rapidly learning new types of traffic, but they cannot detect out-of-distribution samples. Based on this, this paper proposes a few-shot traffic multi-classification method that supports out-of-distribution detection, named SPN. It improves the performance by integrating twin networks into the meta-learning framework based on the idea of metric learning, and introduces margin loss to ensure detection performance. We conduct two types of experiments, and compare them with the relevant baseline methods. The results show that SPN has excellent performance in implementing few-shot multi-classification and out-of-distribution detection, and performs well in intrusion detection.
引用
收藏
页码:114403 / 114414
页数:12
相关论文
共 50 条
  • [1] Few-Shot Learning Network for Out-of-Distribution Image Classification
    Osman I.I.
    Shehata M.S.
    IEEE Transactions on Artificial Intelligence, 2023, 4 (06): : 1579 - 1591
  • [2] Episodic Projection Network for Out-of-Distribution Detection in Few-shot Learning
    Fan, Jiawei
    Ou, Zhonghong
    Yu, Xie
    Yang, Junwei
    Wang, Shigeng
    Kang, Xiaoyang
    Zhang, Hongxing
    Song, Meina
    2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 3076 - 3082
  • [3] Few-shot Network Traffic Anomaly Detection Based on Siamese Neural Network
    Xu, Simin
    Han, Xueying
    Tian, Tian
    Jiang, Bo
    Lu, Zhigang
    Zhang, Chen
    ICC 2023-IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2023, : 3012 - 3017
  • [4] SPN: Stable Prototypical Network for Few-Shot Learning-Based Hyperspectral Image Classification
    Pal, Debabrata
    Bundele, Valay
    Banerjee, Biplab
    Jeppu, Yogananda
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2022, 19
  • [5] FROB: Few-Shot ROBust Model for Joint Classification and Out-of-Distribution Detection
    Dionelis, Nikolaos
    Tsaftaris, Sotirios A.
    Yaghoobi, Mehrdad
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2022, PT III, 2023, 13715 : 137 - 153
  • [6] TRANSDUCTIVE PROTOTYPICAL NETWORK FOR FEW-SHOT CLASSIFICATION
    Liu, Xinyue
    Liu, Pengxin
    Zong, Linlin
    2020 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2020, : 1671 - 1675
  • [7] Plant Leaves Classification: A Few-Shot Learning Method Based on Siamese Network
    Wang, Bin
    Wang, Dian
    IEEE ACCESS, 2019, 7 : 151754 - 151763
  • [8] DCPNet: Distribution Calibration Prototypical Network for Few-Shot Image Classification
    Xu, Ranhui
    Jiang, Kaizhong
    Qi, Lulu
    Zhao, Shaojie
    Zheng, Mingming
    IEEE ACCESS, 2024, 12 : 67036 - 67045
  • [9] Global-Aware Prototypical Network for Few-Shot Encrypted Traffic Classification
    Guo, Jingyu
    Cui, Mingxin
    Hou, Chengshang
    Gou, Gaopeng
    Li, Zhen
    Xiong, Gang
    Liu, Chang
    2022 IFIP NETWORKING CONFERENCE (IFIP NETWORKING), 2022,
  • [10] LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning
    Miyai, Atsuyuki
    Yu, Qing
    Irie, Go
    Aizawa, Kiyoharu
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,