[Paper Review] Online Self-Supervised Deep Learning for Intrusion Detection Systems
This paper proposes a fully online, self-supervised intrusion detection framework (SSID) that enables machine learning-based IDS to adapt in real time to dynamic IoT network traffic without offline data collection, human-labeled data, or pre-training. By using trust-based online learning with an auto-associative deep random neural network, SSID achieves high detection accuracy—outperforming offline and incremental learning methods—especially in detecting botnet and DoS attacks on IoT devices.
This paper proposes a novel Self-Supervised Intrusion Detection (SSID) framework, which enables a fully online Deep Learning (DL) based Intrusion Detection System (IDS) that requires no human intervention or prior off-line learning. The proposed framework analyzes and labels incoming traffic packets based only on the decisions of the IDS itself using an Auto-Associative Deep Random Neural Network, and on an online estimate of its statistically measured trustworthiness. The SSID framework enables IDS to adapt rapidly to time-varying characteristics of the network traffic, and eliminates the need for offline data collection. This approach avoids human errors in data labeling, and human labor and computational costs of model training and data collection. The approach is experimentally evaluated on public datasets and compared with well-known {machine learning and deep learning} models, showing that this SSID framework is very useful and advantageous as an accurate and online learning DL-based IDS for IoT systems.
Motivation & Objective
- Address the challenge of adapting intrusion detection systems (IDS) to time-varying IoT network traffic without relying on static, pre-labeled datasets.
- Eliminate human intervention, labeling errors, and high computational costs associated with offline data collection and model training in traditional ML-based IDS.
- Enable real-time, fully online parameter adaptation of anomaly-based IDS using self-supervised learning based solely on the IDS’s own decisions and trust estimates.
- Improve detection accuracy and compromised device identification in dynamic IoT environments, especially under evolving botnet and DDoS attacks.
- Demonstrate that online self-supervised learning can match or exceed performance of offline and incremental learning methods without requiring labeled data.
Proposed method
- Proposes a two-stage learning framework: initial learning to quickly adapt to the deployment network, followed by continuous online learning.
- Uses an auto-associative deep random neural network (Auto-Associative DRNN) to reconstruct input traffic packets and detect anomalies based on reconstruction error.
- Estimates the trustworthiness of the IDS in real time by measuring its generalization ability and accuracy on self-labeled data.
- Dynamically selects and labels incoming traffic packets for training based on the IDS’s own decisions and the confidence (trust) in those decisions.
- Determines optimal timing for updating model parameters based on trustworthiness, selected training packets, and current network security state.
- Enables any anomaly-based IDS to operate in a fully online, self-supervised manner with no need for external data or human supervision.

Experimental results
Research questions
- RQ1Can a self-supervised, fully online learning framework eliminate the need for offline data collection and human labeling in ML-based IDS for IoT?
- RQ2How does the performance of an IDS trained via the proposed SSID framework compare to offline and incremental learning methods in detecting malicious traffic?
- RQ3To what extent can the SSID framework improve the identification of compromised IoT devices during evolving botnet and DDoS attacks?
- RQ4How does the trust-based decision mechanism in SSID ensure reliable and adaptive parameter updates in dynamic network environments?
- RQ5Can the SSID framework maintain high detection accuracy while avoiding computational and labor costs of traditional training pipelines?
Key findings
- The SSID framework achieved significantly higher median accuracy in detecting compromised devices during DDoS TCP attacks—91% compared to 73% for CDIS with sequential learning.
- For DDoS UDP attacks, SSID improved median balanced accuracy to above 88% across all IP addresses, a 11% increase over sequential learning.
- In DoS HTTP attacks, SSID improved average performance by 2%, achieving at least 75% balanced accuracy across all tested devices.
- For DDoS HTTP attacks, performance was nearly equivalent between SSID and CDIS with sequential learning, but SSID showed more consistent results across individual IP addresses.
- The SSID framework outperformed offline and incremental learning baselines in malicious traffic detection on the Kitsune dataset, even without any offline training or labeled data.
- The framework reduced reliance on human labor and computational costs by eliminating the need for data collection, labeling, and pre-training experiments.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.