Analysis of Machine Learning Algorithms for Anomaly Detection on Edge Devices

被引:10
|
作者
Huc, Aleks [1 ]
Salej, Jakob [1 ]
Trebar, Mira [1 ]
机构
[1] Univ Ljubljana, Fac Comp & Informat Sci, Vecna Pot 113, SI-1000 Ljubljana, Slovenia
关键词
machine learning; classification; edge computing; imbalanced dataset; training dataset; anomaly detection; clustering;
D O I
10.3390/s21144946
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
The Internet of Things (IoT) consists of small devices or a network of sensors, which permanently generate huge amounts of data. Usually, they have limited resources, either computing power or memory, which means that raw data are transferred to central systems or the cloud for analysis. Lately, the idea of moving intelligence to the IoT is becoming feasible, with machine learning (ML) moved to edge devices. The aim of this study is to provide an experimental analysis of processing a large imbalanced dataset (DS2OS), split into a training dataset (80%) and a test dataset (20%). The training dataset was reduced by randomly selecting a smaller number of samples to create new datasets Di (i = 1, 2, 5, 10, 15, 20, 40, 60, 80%). Afterwards, they were used with several machine learning algorithms to identify the size at which the performance metrics show saturation and classification results stop improving with an F1 score equal to 0.95 or higher, which happened at 20% of the training dataset. Further on, two solutions for the reduction of the number of samples to provide a balanced dataset are given. In the first, datasets DRi consist of all anomalous samples in seven classes and a reduced majority class ('NL') with i = 0.1, 0.2, 0.5, 1, 2, 5, 10, 15, 20 percent of randomly selected samples. In the second, datasets DCi are generated from the representative samples determined with clustering from the training dataset. All three dataset reduction methods showed comparable performance results. Further evaluation of training times and memory usage on Raspberry Pi 4 shows a possibility to run ML algorithms with limited sized datasets on edge devices.
引用
收藏
页数:22
相关论文
共 50 条
  • [31] Malware Analysis and Detection Using Machine Learning Algorithms
    Akhtar, Muhammad Shoaib
    Feng, Tao
    SYMMETRY-BASEL, 2022, 14 (11):
  • [32] Edge Mining on IoT Devices Using Anomaly Detection
    Kamaraj, Kavin
    Dezfouli, Behnam
    Liu, Yuhong
    2019 ASIA-PACIFIC SIGNAL AND INFORMATION PROCESSING ASSOCIATION ANNUAL SUMMIT AND CONFERENCE (APSIPA ASC), 2019, : 33 - 40
  • [33] Anomaly Detection in Multi-Wavelength Photoplethysmography Using Lightweight Machine Learning Algorithms
    Baciu, Vlad-Eusebiu
    Cause, JoanLambert
    Morillo, Angel Sole
    Garcia-Naranjo, Juan C.
    Stiens, Johan
    da Silva, Bruno
    SENSORS, 2023, 23 (15)
  • [34] Anomaly detection in wide area network meshes using two machine learning algorithms
    Zhang, James
    Gardner, Robert
    Vukotic, Ilija
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 93 : 418 - 426
  • [35] Anomaly Detection on MIL-STD-1553 Dataset using Machine Learning Algorithms
    Onodueze, Francis
    Josyula, Darsana
    2020 IEEE 19TH INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM 2020), 2020, : 592 - 598
  • [36] Application of advanced machine learning algorithms for anomaly detection and quantitative prediction in protein A chromatography
    Tiwari, Anamika
    Bansode, Vikrant
    Rathore, Anurag S.
    JOURNAL OF CHROMATOGRAPHY A, 2022, 1682
  • [37] Anomaly detection through keystroke and tap dynamics implemented via machine learning algorithms
    Jawed, Hani
    Ziad, Zara
    Khan, Muhammad Mubashir
    Asrar, Maheen
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2018, 26 (04) : 1698 - 1709
  • [38] Adaptive anomaly detection system based on machine learning algorithms in an industrial control environment
    Vavra, Jan
    Hromada, Martin
    Lukas, Ludek
    Dworzecki, Jacek
    INTERNATIONAL JOURNAL OF CRITICAL INFRASTRUCTURE PROTECTION, 2021, 34 (34)
  • [39] A Comprehensive Study of Anomaly Detection Schemes in IoT Networks Using Machine Learning Algorithms
    Diro, Abebe
    Chilamkurti, Naveen
    Nguyen, Van-Doan
    Heyne, Will
    SENSORS, 2021, 21 (24)
  • [40] Hierarchical Anomaly Detection Model for In-Vehicle Networks Using Machine Learning Algorithms
    Park, Seunghyun
    Choi, Jin-Young
    SENSORS, 2020, 20 (14) : 1 - 21