mlsanityData to 7 Oct 2026

Packet Inspection Transformer: A Self-Supervised Journey to Unseen Malware Detection with Few Samples

arXiv 2409.18219 ↗First posted 26 Sep 2024cs.CR cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

As networks continue to expand and become more interconnected, the need for novel malware detection methods becomes more pronounced. Traditional security measures are increasingly inadequate against the sophistication of modern cyber attacks. Deep Packet Inspection (DPI) has been pivotal in enhancing network security, offering an in-depth analysis of network traffic that surpasses conventional monitoring techniques. DPI not only examines the metadata of network packets, but also dives into the actual content being carried within the packet payloads, providing a comprehensive view of the data flowing through networks. While the integration of advanced deep learning techniques with DPI has introduced modern methodologies into malware detection and network traffic classification, state-of-the-art supervised learning approaches are limited by their reliance on large amounts of annotated data and their inability to generalize to novel, unseen malware threats. To address these limitations, this paper leverages the recent advancements in self-supervised learning (SSL) and few-shot learning (FSL). Our proposed self-supervised approach trains a transformer via SSL to learn the embedding of packet content, including payload, from vast amounts of unlabeled data by masking portions of packets, leading to a learned representation that generalizes to various downstream tasks. Once the representation is extracted from the packets, they are used to train a malware detection algorithm. The representation obtained from the transformer is then used to adapt the malware detector to novel types of attacks using few-shot learning approaches. Our experimental results demonstrate that our method achieves classification accuracies of up to 94.76% on the UNSW-NB15 dataset and 83.25% on the CIC-IoT23 dataset.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 15 of its 55 references that are in the map. First posted on arXiv 26 Sep 2024.

Builds on

15 of 55 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  7. 2016Matching Networks for One Shot Learningcited by 2,246
  8. 2020Self-supervised Learning: Generative or Contrastivecited by 693
  9. 2023A Survey on Self-supervised Learning: Algorithms, Applications, and Future Trendscited by 205
  10. 2020Laplacian Regularized Few-Shot Learningcited by 90
  11. 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 69
  12. 2020On Episodes, Prototypical Networks, and Few-shot Learningcited by 46
3 more
  1. 2021Billion-Scale Pretraining with Vision Transformers for Multi-Task Visual Representationscited by 24
  2. 2018Machine Learning DDoS Detection for Consumer Internet of Things Devicescited by 21
  3. 2024Towards Novel Malicious Packet Recognition: A Few-Shot Learning Approachcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.