Xiaoya Lu , Yifan Liu , Fan Feng , Yi Liu , Zhenpeng Liu
{"title":"Mask-based Self-supervised Network Intrusion Detection System","authors":"Xiaoya Lu , Yifan Liu , Fan Feng , Yi Liu , Zhenpeng Liu","doi":"10.1016/j.asoc.2025.113498","DOIUrl":null,"url":null,"abstract":"<div><div>A significant number of network intrusion detection systems utilize unsupervised anomaly detection methodologies, the majority of which fail to account for the potential for contamination in the data, resulting in suboptimal detection outcomes.This paper proposes an unsupervised method, designated MS-IDS (Mask-based Self-supervised Network Intrusion Detection System), which employs the techniques of mask shielding and Stacked Sparse Autoencoder (SSAE).MS-IDS is trained on data that has been contaminated in some way, generating a variety of masks through the process of learning. These masked inputs are subsequently reconstructed by SSAE. A composite loss function is devised, encompassing losses from both the mask unit and the SSAE. During the training phase, the combined loss function is optimized with the objective of identifying the optimal parameters and transformations for the SSAE. In the testing phase, the loss function assigns a score to each sample, which is used to classify outliers based on their scores. The performance of MS-IDS was evaluated across four intrusion datasets: The datasets used for evaluation were NSL-KDD, CIC-IDS2017, ToN-IoT, and CIC-DDOS2019. The results demonstrate that even when varying levels of contamination are introduced into the benign traffic, MS-IDS maintains robust performance with minimal decline. Notably, MS-IDS outperforms other models in terms of accuracy, AUC-ROC, and F1 scores, and its ability to detect attacks in contaminated data undergoes significant enhancement.</div></div>","PeriodicalId":50737,"journal":{"name":"Applied Soft Computing","volume":"181 ","pages":"Article 113498"},"PeriodicalIF":6.6000,"publicationDate":"2025-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Soft Computing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1568494625008099","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
A significant number of network intrusion detection systems utilize unsupervised anomaly detection methodologies, the majority of which fail to account for the potential for contamination in the data, resulting in suboptimal detection outcomes.This paper proposes an unsupervised method, designated MS-IDS (Mask-based Self-supervised Network Intrusion Detection System), which employs the techniques of mask shielding and Stacked Sparse Autoencoder (SSAE).MS-IDS is trained on data that has been contaminated in some way, generating a variety of masks through the process of learning. These masked inputs are subsequently reconstructed by SSAE. A composite loss function is devised, encompassing losses from both the mask unit and the SSAE. During the training phase, the combined loss function is optimized with the objective of identifying the optimal parameters and transformations for the SSAE. In the testing phase, the loss function assigns a score to each sample, which is used to classify outliers based on their scores. The performance of MS-IDS was evaluated across four intrusion datasets: The datasets used for evaluation were NSL-KDD, CIC-IDS2017, ToN-IoT, and CIC-DDOS2019. The results demonstrate that even when varying levels of contamination are introduced into the benign traffic, MS-IDS maintains robust performance with minimal decline. Notably, MS-IDS outperforms other models in terms of accuracy, AUC-ROC, and F1 scores, and its ability to detect attacks in contaminated data undergoes significant enhancement.
期刊介绍:
Applied Soft Computing is an international journal promoting an integrated view of soft computing to solve real life problems.The focus is to publish the highest quality research in application and convergence of the areas of Fuzzy Logic, Neural Networks, Evolutionary Computing, Rough Sets and other similar techniques to address real world complexities.
Applied Soft Computing is a rolling publication: articles are published as soon as the editor-in-chief has accepted them. Therefore, the web site will continuously be updated with new articles and the publication time will be short.