IoT Cybersecurity: On the Use of Machine Learning Approaches for Unbalanced Datasets

S. Azad, Syeda Salma Naqvi, F. Sabrina, S. Sohail, S. Thakur
{"title":"IoT Cybersecurity: On the Use of Machine Learning Approaches for Unbalanced Datasets","authors":"S. Azad, Syeda Salma Naqvi, F. Sabrina, S. Sohail, S. Thakur","doi":"10.1109/CSDE53843.2021.9718426","DOIUrl":null,"url":null,"abstract":"Machine learning can effectively be used to detect cyberattacks in IoT networks by learning patterns from previous attack datasets. Unfortunately, datasets used for training machine learning models to detect cyberattacks are almost always unbalanced. As training methods usually try to minimise the loss function by correctly classifying the instances of the majority class, the minority class instances are more likely to be misclassified. This paper aims to develop an insight into the effectiveness of two different approaches for handling unbalanced datasets – weighted loss function, and synthetic minority oversampling technique (SMOTE) in enhancing the capacity of two machine learning algorithms – artificial neural network (ANN) and light gradient boosting model (LGBM) to correctly classify minority class instances. The results suggest that both SMOTE and weighted loss function enhance the recall rate for minority classes significantly, however, it comes at the cost of slightly reduced precision. Moreover, it is found that LGBM, being an ensemble classifier, has an inherent capacity of learning from unbalanced data and hence, outperforms ANN in detecting minority class instances.","PeriodicalId":166950,"journal":{"name":"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)","volume":"175 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSDE53843.2021.9718426","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Machine learning can effectively be used to detect cyberattacks in IoT networks by learning patterns from previous attack datasets. Unfortunately, datasets used for training machine learning models to detect cyberattacks are almost always unbalanced. As training methods usually try to minimise the loss function by correctly classifying the instances of the majority class, the minority class instances are more likely to be misclassified. This paper aims to develop an insight into the effectiveness of two different approaches for handling unbalanced datasets – weighted loss function, and synthetic minority oversampling technique (SMOTE) in enhancing the capacity of two machine learning algorithms – artificial neural network (ANN) and light gradient boosting model (LGBM) to correctly classify minority class instances. The results suggest that both SMOTE and weighted loss function enhance the recall rate for minority classes significantly, however, it comes at the cost of slightly reduced precision. Moreover, it is found that LGBM, being an ensemble classifier, has an inherent capacity of learning from unbalanced data and hence, outperforms ANN in detecting minority class instances.
物联网网络安全:在不平衡数据集上使用机器学习方法
通过从以前的攻击数据集中学习模式,机器学习可以有效地用于检测物联网网络中的网络攻击。不幸的是,用于训练机器学习模型以检测网络攻击的数据集几乎总是不平衡的。由于训练方法通常试图通过正确分类多数类的实例来最小化损失函数,因此少数类实例更有可能被错误分类。本文旨在深入了解处理不平衡数据集的两种不同方法-加权损失函数和合成少数派过采样技术(SMOTE)在增强两种机器学习算法-人工神经网络(ANN)和光梯度增强模型(LGBM)正确分类少数派类实例的能力方面的有效性。结果表明,SMOTE和加权损失函数都显著提高了少数类的召回率,但代价是精度略有降低。此外,研究发现LGBM作为一个集成分类器,具有从不平衡数据中学习的固有能力,因此在检测少数类实例方面优于人工神经网络。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信