A Novel Contrastive Loss for Zero-Day Network Intrusion Detection
Not on the map. Why?
Abstract (arXiv)
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. Unlike anomaly detectors, this model learns the distributions of benign traffic using both benign and known malign samples, i.e. other well-known attack classes (not including the zero-day class), and consequently, achieves significant performance improvements. The proposed approach is experimentally verified on the Lycos2017 dataset where it achieves an AUROC improvement of .000065 and .060883 over previous models in known and zero-day attack detection, respectively. Finally, the proposed method is extended to open-set recognition achieving OpenAUC improvements of .170883 over existing approaches.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 16 of its 50 references that are in the map. First posted on arXiv 14 Jan 2026.
Builds on
16 of 50 references.
References · 16
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Supervised Contrastive Learningcited by 2,803
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2015Towards Open Set Deep Networkscited by 533
- 2023From Sparse to Soft Mixtures of Expertscited by 245
- 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
- 2018Classification-Reconstruction Learning for Open-Set Recognitioncited by 146
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2017DOC: Deep Open Classification of Text Documentscited by 109
- 2015The Extreme Value Machinecited by 78
- 2018Learning a Neural-network-based Representation for Open Set Recognitioncited by 40
- 2022OpenAUC: Towards AUC-Oriented Open-Set Recognitioncited by 33
4 more
- 2024AOC-IDS: Autonomous Online Framework with Contrastive Learning for Intrusion Detectioncited by 8
- 2017A Grassmannian Approach to Zero-Shot Learning for Network Intrusion Detectioncited by 5
- 2020Leveraging Siamese Networks for One-Shot Intrusion Detection Modelcited by 3
- 2024Deep Learning for Network Anomaly Detection under Data Contamination: Evaluating Robustness and Mitigating Performance Degradationcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.