SAFE: Self-Supervised Anomaly Detection Framework for Intrusion Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Elvin, Shang, Zhengli, Gungor, Onat, Rosing, Tajana
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910822043746304
author Li, Elvin
Shang, Zhengli
Gungor, Onat
Rosing, Tajana
author_facet Li, Elvin
Shang, Zhengli
Gungor, Onat
Rosing, Tajana
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_07119
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SAFE: Self-Supervised Anomaly Detection Framework for Intrusion Detection
Li, Elvin
Shang, Zhengli
Gungor, Onat
Rosing, Tajana
Cryptography and Security
Machine Learning
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.
title SAFE: Self-Supervised Anomaly Detection Framework for Intrusion Detection
topic Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2502.07119