| Issue |
ITM Web Conf.
Volume 80, 2025
2025 2nd International Conference on Advanced Computer Applications and Artificial Intelligence (ACAAI 2025)
|
|
|---|---|---|
| Article Number | 01027 | |
| Number of page(s) | 9 | |
| Section | Machine Learning & Deep Learning Algorithms | |
| DOI | https://doi.org/10.1051/itmconf/20258001027 | |
| Published online | 16 December 2025 | |
Anomaly Detection for Enhancing IoT Device Security Using Machine Learning: A Comparative Study of Four Lightweight Models Based on the IoT-23 Dataset
School of Advanced Technology, Xi’an Jiaotong-Liverpool University, Suzhou, 215028, China
* Corresponding author: This email address is being protected from spambots. You need JavaScript enabled to view it.
This study focused on lightweight anomaly detection for Internet of Things (IoT) edge devices using the IoT-23 dataset. Four models were developed: Logistic Regression, Decision Tree (DT), Naive Bayes (NB), and Linear Support Vector Machine (SVM). The Decision Tree attained the highest accuracy at 0.9956, with an F1 score of 0.8873, exceeding IoT-23 standards while maintaining a low false positive rate of 0.0024. Logistic Regression had a precision of 0.6602, Naive Bayes struggled with feature independence, and Linear SVM missed some attacks due to its precision focus. All models identified high-risk traffic, especially on port 1 (100% attack frequency) and port 23 (related to Mirai botnets). However, the core location F1 score was low ( ≤ 0.0103) due to inadequate core sample representation. The study emphasises the need for feature optimisation and suggests the Decision Tree for its accuracy and interpretability. Future work will explore ensemble learning, use datasets like BoT-IoT, implement online education, and conduct field tests on devices like the ESP8266. Overall, lightweight machine learning can enhance IoT edge security, with the Decision Tree being the preferred option.
© The Authors, published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

