FS-IDS: A framework for intrusion detection based on few-shot learning

被引:21
|
作者
Yang, Jingcheng [1 ]
Li, Hongwei [1 ]
Shao, Shuo [1 ]
Zou, Futai [1 ]
Wu, Yue [1 ]
机构
[1] Shanghai Jiao Tong Univ, Sch Elect Informat & Elect Engn, Shanghai, Peoples R China
基金
美国国家科学基金会; 国家重点研发计划;
关键词
Network security; Intrusion detection system; Few -shot learning; Feature fusion; CNN; Deep learning; NEURAL-NETWORKS;
D O I
10.1016/j.cose.2022.102899
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A B S T R A C T Due to the high dependency of traditional intrusion detection method on a fully-labeled large dataset, existing works can hardly be applied in real-world scenarios, especially facing zero-day attacks. In this paper we present a novel intrusion detection framework called "FS-IDS", including flow data encoding method, feature fusion mechanism and architecture of intrusion detection system based on few-shot learning. We utilize task generator to split the dataset into separate tasks and train model in an episodic way, hoping model to learn general knowledge rather than those specific to a single class. The extraction module and distance metric module are responsible for learning and determining whether the traffic data are benign or not. We conduct three sets of experiments on "FS-IDS", i.e., comparison study, abla-tion study and multiclass study. Comparison study firstly determines that the best measure metric for discrimination is Euclidean distance. Based on the optimal implementation, "FS-IDS" achieves compa-rable performance with existing works by using much fewer malicious samples. Ablation study sets two base models to explore how proposed encoding method and feature fusion mechanism improve detection capacity. Both the image representation and feature fusion achieve more than 2% improvement in accu-racy and recall. Finally, to test whether "FS-IDS" can perform well under real-world scenario or not, we design network traffic containing various attacks to simulate complex malicious network environment. Experimental results show that "FS-IDS" maintains more than 90% detection accuracy and recall under the worst circumstances, which composes of various seen or unseen attacks with only a few malicious samples available.(c) 2022 Elsevier Ltd. All rights reserved.
引用
收藏
页数:15
相关论文
共 50 条
  • [21] Few-Shot Learning with Novelty Detection
    Bjerge, Kim
    Bodesheim, Paul
    Karstoft, Henrik
    DEEP LEARNING THEORY AND APPLICATIONS, PT I, DELTA 2024, 2024, 2171 : 340 - 363
  • [22] A Few-Shot Learning Framework for Air Vehicle Detection by Similarity Embedding
    Chen, Juan
    Liu, Yuchuan
    Liu, Yicong
    Wang, Shiying
    Chen, Siyuan
    TENTH INTERNATIONAL CONFERENCE ON GRAPHICS AND IMAGE PROCESSING (ICGIP 2018), 2019, 11069
  • [23] FS-RSDD: Few-Shot Rail Surface Defect Detection with Prototype Learning
    Min, Yongzhi
    Wang, Ziwei
    Liu, Yang
    Wang, Zheng
    SENSORS, 2023, 23 (18)
  • [24] Counterfactual Generation Framework for Few-Shot Learning
    Dang, Zhuohang
    Luo, Minnan
    Jia, Chengyou
    Yan, Caixia
    Chang, Xiaojun
    Zheng, Qinghua
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2023, 33 (08) : 3747 - 3758
  • [25] A Few-Shot Learning-Based Siamese Capsule Network for Intrusion Detection with Imbalanced Training Data
    Wang, Zu-Min
    Tian, Ji-Yu
    Qin, Jing
    Fang, Hui
    Chen, Li-Ming
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2021, 2021
  • [26] Few-Shot Learning-Based Network Intrusion Detection through an Enhanced Parallelized Triplet Network
    Tian, Ji-Yu
    Wang, Zu-Min
    Fang, Hui
    Chen, Li-Ming
    Qin, Jing
    Chen, Jie
    Wang, Zhi-He
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [27] Few-Shot Network Intrusion Detection Using Discriminative Representation Learning with Supervised Autoencoder
    Iliyasu, Auwal Sani
    Abdurrahman, Usman Alhaji
    Zheng, Lirong
    APPLIED SCIENCES-BASEL, 2022, 12 (05):
  • [28] Insulator Anomaly Detection Method Based on Few-Shot Learning
    Wang, Zhaoyang
    Gao, Qiang
    Li, Dong
    Liu, Junjie
    Wang, Hongwei
    Yu, Xiao
    Wang, Yipin
    IEEE ACCESS, 2021, 9 : 94970 - 94980
  • [29] Few-Shot Learning for Misinformation Detection Based on Contrastive Models
    Zheng, Peng
    Chen, Hao
    Hu, Shu
    Zhu, Bin
    Hu, Jinrong
    Lin, Ching-Sheng
    Wu, Xi
    Lyu, Siwei
    Huang, Guo
    Wang, Xin
    ELECTRONICS, 2024, 13 (04)
  • [30] A Novel Few-Shot ML Approach for Intrusion Detection in IoT
    Islam, M. D. Sakibul
    Yusuf, Aminu
    Gambo, Muhammad Dikko
    Barnawi, Abdulaziz Y.
    ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2024,