An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder
The increasing prevalence of unknown-type attacks on the Internet highlights the importance of developing efficient intrusion detection systems. While machine learning-based techniques can detect unknown types of attacks, the need for innovative approaches becomes evident, as traditional methods may...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-11-01
|
Series: | Applied Sciences |
Subjects: | |
Online Access: | https://www.mdpi.com/2076-3417/13/22/12492 |
_version_ | 1797460228742053888 |
---|---|
author | Li Yu Liuquan Xu Xuefeng Jiang |
author_facet | Li Yu Liuquan Xu Xuefeng Jiang |
author_sort | Li Yu |
collection | DOAJ |
description | The increasing prevalence of unknown-type attacks on the Internet highlights the importance of developing efficient intrusion detection systems. While machine learning-based techniques can detect unknown types of attacks, the need for innovative approaches becomes evident, as traditional methods may not be sufficient. In this research, we propose a deep learning-based solution called the log-cosh variational autoencoder (LVAE) to address this challenge. The LVAE inherits the strong modeling abilities of the variational autoencoder (VAE), enabling it to understand complex data distributions and generate reconstructed data. To better simulate discrete features of real attacks and generate unknown types of attacks, we introduce an effective reconstruction loss term utilizing the logarithmic hyperbolic cosine (log-cosh) function in the LVAE. Compared to conventional VAEs, the LVAE shows promising potential in generating data that closely resemble unknown attacks, which is a critical capability for improving the detection rate of unknown attacks. In order to classify the generated unknown data, we employed eight feature extraction and classification techniques. Numerous experiments were conducted using the latest CICIDS2017 dataset, training with varying amounts of real and unknown-type attacks. Our optimal experimental results surpassed several state-of-the-art techniques, achieving accuracy and average F1 scores of 99.89% and 99.83%, respectively. The suggested LVAE strategy also demonstrated outstanding performance in generating unknown attack data. Overall, our work establishes a solid foundation for accurately and efficiently identifying unknown types of attacks, contributing to the advancement of intrusion detection techniques. |
first_indexed | 2024-03-09T17:02:10Z |
format | Article |
id | doaj.art-062f10ef959c437eab02160278223de1 |
institution | Directory Open Access Journal |
issn | 2076-3417 |
language | English |
last_indexed | 2024-03-09T17:02:10Z |
publishDate | 2023-11-01 |
publisher | MDPI AG |
record_format | Article |
series | Applied Sciences |
spelling | doaj.art-062f10ef959c437eab02160278223de12023-11-24T14:28:08ZengMDPI AGApplied Sciences2076-34172023-11-0113221249210.3390/app132212492An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational AutoencoderLi Yu0Liuquan Xu1Xuefeng Jiang2School of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, ChinaSchool of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, ChinaSchool of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, ChinaThe increasing prevalence of unknown-type attacks on the Internet highlights the importance of developing efficient intrusion detection systems. While machine learning-based techniques can detect unknown types of attacks, the need for innovative approaches becomes evident, as traditional methods may not be sufficient. In this research, we propose a deep learning-based solution called the log-cosh variational autoencoder (LVAE) to address this challenge. The LVAE inherits the strong modeling abilities of the variational autoencoder (VAE), enabling it to understand complex data distributions and generate reconstructed data. To better simulate discrete features of real attacks and generate unknown types of attacks, we introduce an effective reconstruction loss term utilizing the logarithmic hyperbolic cosine (log-cosh) function in the LVAE. Compared to conventional VAEs, the LVAE shows promising potential in generating data that closely resemble unknown attacks, which is a critical capability for improving the detection rate of unknown attacks. In order to classify the generated unknown data, we employed eight feature extraction and classification techniques. Numerous experiments were conducted using the latest CICIDS2017 dataset, training with varying amounts of real and unknown-type attacks. Our optimal experimental results surpassed several state-of-the-art techniques, achieving accuracy and average F1 scores of 99.89% and 99.83%, respectively. The suggested LVAE strategy also demonstrated outstanding performance in generating unknown attack data. Overall, our work establishes a solid foundation for accurately and efficiently identifying unknown types of attacks, contributing to the advancement of intrusion detection techniques.https://www.mdpi.com/2076-3417/13/22/12492intrusion detectionvariational autoencoderdeep learning attack of unknown type |
spellingShingle | Li Yu Liuquan Xu Xuefeng Jiang An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder Applied Sciences intrusion detection variational autoencoder deep learning attack of unknown type |
title | An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder |
title_full | An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder |
title_fullStr | An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder |
title_full_unstemmed | An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder |
title_short | An Effective Method for Detecting Unknown Types of Attacks Based on Log-Cosh Variational Autoencoder |
title_sort | effective method for detecting unknown types of attacks based on log cosh variational autoencoder |
topic | intrusion detection variational autoencoder deep learning attack of unknown type |
url | https://www.mdpi.com/2076-3417/13/22/12492 |
work_keys_str_mv | AT liyu aneffectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder AT liuquanxu aneffectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder AT xuefengjiang aneffectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder AT liyu effectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder AT liuquanxu effectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder AT xuefengjiang effectivemethodfordetectingunknowntypesofattacksbasedonlogcoshvariationalautoencoder |