- Title
- Sampling-Based Machine Learning Models for Intrusion Detection in Imbalanced Dataset
- Creator
- Fan, Zongwen; Sohail, Shaleeza; Sabrina, Fariza; Gu, Xin
- Relation
- Electronics Vol. 13, Issue 10, no. 1878
- Publisher Link
- http://dx.doi.org/10.3390/electronics13101878
- Publisher
- MDPI AG
- Resource Type
- journal article
- Date
- 2024
- Description
- Cybersecurity is one of the important considerations when adopting IoT devices in smart applications. Even though a huge volume of data is available, data related to attacks are generally in a significantly smaller proportion. Although machine learning models have been successfully applied for detecting security attacks on smart applications, their performance is affected by the problem of such data imbalance. In this case, the prediction model is preferable to the majority class, while the performance for predicting the minority class is poor. To address such problems, we apply two oversampling techniques and two undersampling techniques to balance the data in different categories. To verify their performance, five machine learning models, namely the decision tree, multi-layer perception, random forest, XGBoost, and CatBoost, are used in the experiments based on the grid search with 10-fold cross-validation for parameter tuning. The results show that both the oversampling and undersampling techniques can improve the performance of the prediction models used. Based on the results, the XGBoost model based on the SMOTE has the best performance in terms of accuracy at 75%, weighted average precision at 82%, weighted average recall at 75%, weighted average F1 score at 78%, and Matthews correlation coefficient at 72%. This indicates that this oversampling technique is effective for multi-attack prediction under a data imbalance scenario.
- Subject
- cybersecurity; oversampling technique; undersampling technique; multi-class classification; machine learning
- Identifier
- http://hdl.handle.net/1959.13/1505965
- Identifier
- uon:55794
- Identifier
- ISSN:2079-9292
- Rights
- x
- Language
- eng
- Reviewed
- Hits: 148
- Visitors: 148
- Downloads: 0