PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 9, 2026Applied Sciences0 citationsOpen Access

Few-Shot Network Intrusion Detection Using Online Triplet Mining

View Full Paper
JWJack WilkieHHHanan HindyCTChristos Tachtatzis

Key Points

  • The aim is to enhance network intrusion detection using few-shot learning techniques to classify malicious network traffic with limited training data.
  • Developed a triplet network featuring online triplet mining and a KNN classifier.
  • Explored various online triplet mining algorithms and evaluated model design choices through ablation studies.
  • Compared the final model's performance with other state-of-the-art approaches in few-shot binary and multiclass classification.
  • The proposed model demonstrated competitive performance with existing methods on as few as 10 malicious samples per class.
  • Achieved effective intrusion detection while maintaining low false-positive rates.
  • Strengthened the model's capability in environments with limited labeled instances of attack classes.

Abstract

Network intrusion detection systems play a vital role in protecting networks by detecting malicious network traffic which can then be investigated by a cybersecurity operations centre. State-of-the-art approaches utilise supervised machine learning methods to train a classification model to recognise known cyberattacks; however, these models require a large labelled dataset to train and show poor performance when trained on smaller datasets. In an attempt to address this shortcoming, anomaly detection models learn the distribution of benign traffic and flag non-conforming traffic as malicious. While these methods do not require malicious examples to train, they suffer from high false-positive rates rendering them impractical. As a result, networks may be particularly vulnerable when there are insufficient labelled instances of a specific attack class to train an effective classifier. This often occurs in newly established networks or when previously unseen types of attacks emerge. To address this challenge, this work proposes the use of a triplet network, utilising online triplet mining and a KNN classifier, which is able to perform few-shot classification, enabling effective intrusion detection after being trained on a limited number of malicious examples. Various online triplet mining algorithms were explored and model design choices, such as the inference algorithm and optimised distance metrics, were compared and evaluated through a series of ablation studies. The final model was compared against other state-of-the-art approaches in few-shot binary and multiclass classification, where the proposed approach was found to be competitive with existing methods when trained on as little as 10 malicious samples of each class.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Wilkie et al. (2026) studied this question.

synapsesocial.com/papers/69fed021b9154b0b82877310https://doi.org/10.3390/app16104589
Ask AI
Helpful
Bookmark
Share
View Full Paper