Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)

As the range of security attacks increases across diverse network applications, intrusion detection systems are of central interest. Such detection systems are more crucial for the Internet of Things (IoT) due to the voluminous and sensitive data it produces. However, the real-world network produces...

Full description

Bibliographic Details
Main Authors: Shapla Khanam, Ismail Ahmedy, Mohd Yamani Idna Idris, Mohamed Hisham Jaward
Format: Article
Language:English
Published: MDPI AG 2022-08-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/22/15/5822
_version_ 1797412225820917760
author Shapla Khanam
Ismail Ahmedy
Mohd Yamani Idna Idris
Mohamed Hisham Jaward
author_facet Shapla Khanam
Ismail Ahmedy
Mohd Yamani Idna Idris
Mohamed Hisham Jaward
author_sort Shapla Khanam
collection DOAJ
description As the range of security attacks increases across diverse network applications, intrusion detection systems are of central interest. Such detection systems are more crucial for the Internet of Things (IoT) due to the voluminous and sensitive data it produces. However, the real-world network produces imbalanced traffic including different and unknown attack types. Due to this imbalanced nature of network traffic, the traditional learning-based detection techniques suffer from lower overall detection performance, higher false-positive rate, and lower minority-class attack detection rates. To address the issue, we propose a novel deep generative-based model called Class-wise Focal Loss Variational AutoEncoder (CFLVAE) which overcomes the data imbalance problem by generating new samples for minority attack classes. Furthermore, we design an effective and cost-sensitive objective function called Class-wise Focal Loss (CFL) to train the traditional Variational AutoEncoder (VAE). The CFL objective function focuses on different minority class samples and scrutinizes high-level feature representation of observed data. This leads the VAE to generate more realistic, diverse, and quality intrusion data to create a well-balanced intrusion dataset. The balanced dataset results in improving the intrusion detection accuracy of learning-based classifiers. Therefore, a Deep Neural Network (DNN) classifier with a unique architecture is then trained using the balanced intrusion dataset to enhance the detection performance. Moreover, we utilize a challenging and highly imbalanced intrusion dataset called NSL-KDD to conduct an extensive experiment with the proposed model. The results demonstrate that the proposed CFLVAE with DNN (CFLVAE-DNN) model obtains promising performance in generating realistic new intrusion data samples and achieves superior intrusion detection performance. Additionally, the proposed CFLVAE-DNN model outperforms several state-of-the-art data generation and traditional intrusion detection methods. Specifically, the CFLVAE-DNN achieves 88.08% overall intrusion detection accuracy and 3.77% false positive rate. More significantly, it obtains the highest low-frequency attack detection rates for U2R (79.25%) and R2L (67.5%) against all the state-of-the-art algorithms.
first_indexed 2024-03-09T04:58:44Z
format Article
id doaj.art-0a31a175edc24666969104e034701200
institution Directory Open Access Journal
issn 1424-8220
language English
last_indexed 2024-03-09T04:58:44Z
publishDate 2022-08-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj.art-0a31a175edc24666969104e0347012002023-12-03T13:01:58ZengMDPI AGSensors1424-82202022-08-012215582210.3390/s22155822Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)Shapla Khanam0Ismail Ahmedy1Mohd Yamani Idna Idris2Mohamed Hisham Jaward3Department of Computer System and Technology, Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur 50603, MalaysiaDepartment of Computer System and Technology, Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur 50603, MalaysiaDepartment of Computer System and Technology, Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur 50603, MalaysiaSchool of Engineering, Monash University Malaysia, Bandar Sunway 47500, MalaysiaAs the range of security attacks increases across diverse network applications, intrusion detection systems are of central interest. Such detection systems are more crucial for the Internet of Things (IoT) due to the voluminous and sensitive data it produces. However, the real-world network produces imbalanced traffic including different and unknown attack types. Due to this imbalanced nature of network traffic, the traditional learning-based detection techniques suffer from lower overall detection performance, higher false-positive rate, and lower minority-class attack detection rates. To address the issue, we propose a novel deep generative-based model called Class-wise Focal Loss Variational AutoEncoder (CFLVAE) which overcomes the data imbalance problem by generating new samples for minority attack classes. Furthermore, we design an effective and cost-sensitive objective function called Class-wise Focal Loss (CFL) to train the traditional Variational AutoEncoder (VAE). The CFL objective function focuses on different minority class samples and scrutinizes high-level feature representation of observed data. This leads the VAE to generate more realistic, diverse, and quality intrusion data to create a well-balanced intrusion dataset. The balanced dataset results in improving the intrusion detection accuracy of learning-based classifiers. Therefore, a Deep Neural Network (DNN) classifier with a unique architecture is then trained using the balanced intrusion dataset to enhance the detection performance. Moreover, we utilize a challenging and highly imbalanced intrusion dataset called NSL-KDD to conduct an extensive experiment with the proposed model. The results demonstrate that the proposed CFLVAE with DNN (CFLVAE-DNN) model obtains promising performance in generating realistic new intrusion data samples and achieves superior intrusion detection performance. Additionally, the proposed CFLVAE-DNN model outperforms several state-of-the-art data generation and traditional intrusion detection methods. Specifically, the CFLVAE-DNN achieves 88.08% overall intrusion detection accuracy and 3.77% false positive rate. More significantly, it obtains the highest low-frequency attack detection rates for U2R (79.25%) and R2L (67.5%) against all the state-of-the-art algorithms.https://www.mdpi.com/1424-8220/22/15/5822Internet of ThingsVariational AutoEncoderClass-wise Focal Lossdata imbalanceintrusion detectionDeep Neural Network
spellingShingle Shapla Khanam
Ismail Ahmedy
Mohd Yamani Idna Idris
Mohamed Hisham Jaward
Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
Sensors
Internet of Things
Variational AutoEncoder
Class-wise Focal Loss
data imbalance
intrusion detection
Deep Neural Network
title Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
title_full Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
title_fullStr Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
title_full_unstemmed Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
title_short Towards an Effective Intrusion Detection Model Using Focal Loss Variational Autoencoder for Internet of Things (IoT)
title_sort towards an effective intrusion detection model using focal loss variational autoencoder for internet of things iot
topic Internet of Things
Variational AutoEncoder
Class-wise Focal Loss
data imbalance
intrusion detection
Deep Neural Network
url https://www.mdpi.com/1424-8220/22/15/5822
work_keys_str_mv AT shaplakhanam towardsaneffectiveintrusiondetectionmodelusingfocallossvariationalautoencoderforinternetofthingsiot
AT ismailahmedy towardsaneffectiveintrusiondetectionmodelusingfocallossvariationalautoencoderforinternetofthingsiot
AT mohdyamaniidnaidris towardsaneffectiveintrusiondetectionmodelusingfocallossvariationalautoencoderforinternetofthingsiot
AT mohamedhishamjaward towardsaneffectiveintrusiondetectionmodelusingfocallossvariationalautoencoderforinternetofthingsiot