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 条
  • [41] Intelligent optimization and machine learning algorithms for structural anomaly detection using seismic signals
    Trapp, Maximilian
    Bogoclu, Can
    Nestorovic, Tamara
    Roos, Dirk
    MECHANICAL SYSTEMS AND SIGNAL PROCESSING, 2019, 133
  • [42] Anomaly Detection in Industrial Machinery Using IoT Devices and Machine Learning: A Systematic Mapping
    Chevtchenko, Sergio F.
    Rocha, Elisson Da Silva
    Dos Santos, Monalisa Cristina Moura
    Mota, Ricardo Lins
    Vieira, Diego Moura
    De Andrade, Ermeson Carneiro
    De Araujo, Danilo Ricardo Barbosa
    IEEE ACCESS, 2023, 11 : 128288 - 128305
  • [43] Learning Algorithms for Anomaly Detection from Images
    Ahmed, Tarem
    Pathan, Al-Sakib Khan
    Ahmed, Supriyo Shafkat
    INTERNATIONAL JOURNAL OF SYSTEM DYNAMICS APPLICATIONS, 2015, 4 (03) : 43 - 69
  • [44] Analysis of Machine Learning Methods in EtherCAT-Based Anomaly Detection
    Akpinar, Kevser Ovaz
    Ozcelik, Ibrahim
    IEEE ACCESS, 2019, 7 : 184365 - 184374
  • [45] Analysis of Machine Learning Application in Campus Network Traffic Anomaly Detection
    Li R.
    Applied Mathematics and Nonlinear Sciences, 2024, 9 (01)
  • [46] Performance Analysis of Machine Learning Algorithms for Cervical Cancer Detection
    Singh, Sanjay Kumar
    Goyal, Anjali
    INTERNATIONAL JOURNAL OF HEALTHCARE INFORMATION SYSTEMS AND INFORMATICS, 2020, 15 (02) : 1 - 21
  • [47] Comparative analysis of machine learning algorithms in detection of phishing websites
    Kosan, Muhammed Ali
    Yildiz, Oktay
    Karacan, Hacer
    PAMUKKALE UNIVERSITY JOURNAL OF ENGINEERING SCIENCES-PAMUKKALE UNIVERSITESI MUHENDISLIK BILIMLERI DERGISI, 2018, 24 (02): : 276 - 282
  • [48] Performance analysis of machine learning algorithms for intrusion detection in MANETs
    Jiang, Y. (jyb106@zjut.edu.cn), 1600, Inderscience Enterprises Ltd., 29, route de Pre-Bois, Case Postale 856, CH-1215 Geneva 15, CH-1215, Switzerland (06):
  • [49] Performance analysis of machine learning algorithms on networks intrusion detection
    Hidri, Minyar Sassi
    Alsaif, Suleiman Ali
    Hidri, Adel
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2022, 70 (3-4) : 285 - 295
  • [50] Anomaly Detection IDS for Detecting DoS Attacks in IoT Networks Based on Machine Learning Algorithms
    Altulaihan, Esra
    Almaiah, Mohammed Amin
    Aljughaiman, Ahmed
    SENSORS, 2024, 24 (02)