SAFE: Self-Supervised Anomaly Detection Framework for Intrusion Detection

Elvin Li, Zhengli Shang, Onat Gungor, Tajana Rosing
2/10/2025
cs.CRcs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

The proliferation of IoT devices has significantly increased network vulnerabilities, creating an urgent need for effective Intrusion Detection Systems (IDS). Machine Learning-based IDS (ML-IDS) offer advanced detection capabilities but rely on labeled attack data, which limits their ability to identify unknown threats. Self-Supervised Learning (SSL) presents a promising solution by using only normal data to detect patterns and anomalies. This paper introduces SAFE, a novel framework that transforms tabular network intrusion data into an image-like format, enabling Masked Autoencoders (MAEs) to learn robust representations of network behavior. The features extracted by the MAEs are then incorporated into a lightweight novelty detector, enhancing the effectiveness of anomaly detection. Experimental results demonstrate that SAFE outperforms the state-of-the-art anomaly detection method, Scale Learning-based Deep Anomaly Detection method (SLAD), by up to 26.2% and surpasses the state-of-the-art SSL-based network intrusion detection approach, Anomal-E, by up to 23.5% in F1-score.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025safe,
  title  = {SAFE: Self-Supervised Anomaly Detection Framework for Intrusion Detection},
  author = {Elvin Li and Zhengli Shang and Onat Gungor and Tajana Rosing},
  year   = {2025},
  eprint = {2502.07119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.07119v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07119.svg)](https://codeofpaper.com/paper/2502.07119)

Discussion