A Novel Contrastive Loss for Zero-Day Network Intrusion Detection
Jack Wilkie, Hanan Hindy, Craig Michie, Christos Tachtatzis, James Irvine, Robert Atkinson

TL;DR
This paper introduces a novel contrastive loss function that enhances zero-day network intrusion detection by learning benign and known attack distributions, significantly improving detection performance and reducing false positives.
Contribution
It proposes a new contrastive loss approach that generalizes to zero-day attacks by learning from benign and known attack data, outperforming existing methods.
Findings
Achieves AUROC improvements of .000065 and .060883 in known and zero-day attack detection.
Extends to open-set recognition with OpenAUC gains of .170883.
Demonstrates effectiveness on the Lycos2017 dataset.
Abstract
Machine learning has achieved state-of-the-art results in network intrusion detection; however, its performance significantly degrades when confronted by a new attack class -- a zero-day attack. In simple terms, classical machine learning-based approaches are adept at identifying attack classes on which they have been previously trained, but struggle with those not included in their training data. One approach to addressing this shortcoming is to utilise anomaly detectors which train exclusively on benign data with the goal of generalising to all attack classes -- both known and zero-day. However, this comes at the expense of a prohibitively high false positive rate. This work proposes a novel contrastive loss function which is able to maintain the advantages of other contrastive learning-based approaches (robustness to imbalanced data) but can also generalise to zero-day attacks.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · Anomaly Detection Techniques and Applications · Internet Traffic Analysis and Secure E-voting
