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 条
  • [21] Application and evaluation of selected machine learning algorithms in anomaly detection module for SOC
    Warzynski, A.
    Bienias, P.
    Kolaczek, G.
    DEVELOPMENTS OF ARTIFICIAL INTELLIGENCE TECHNOLOGIES IN COMPUTATION AND ROBOTICS, 2020, 12 : 971 - 978
  • [22] Performances of Machine Learning Algorithms for Binary Classification of Network Anomaly Detection System
    Nawir, Mukrimah
    Amir, Amiza
    Lynn, Ong Bi
    Yaakob, Naimah
    Ahmad, R. Badlishah
    1ST INTERNATIONAL CONFERENCE ON BIG DATA AND CLOUD COMPUTING (ICOBIC) 2017, 2018, 1018
  • [23] Anomaly detection in medical wireless sensor networks using machine learning algorithms
    Pachauri, Girik
    Sharma, Sandeep
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON ECO-FRIENDLY COMPUTING AND COMMUNICATION SYSTEMS, 2015, 70 : 325 - 333
  • [24] Comparing Machine Learning Algorithms for BGP Anomaly Detection using Graph Features
    Sanchez, Odnan Ref
    Ferlin, Simone
    Pelsser, Cristel
    Bush, Randy
    BIG-DAMA'19: PROCEEDINGS OF THE 3RD ACM CONEXT WORKSHOP ON BIG DATA, MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE FOR DATA COMMUNICATION NETWORKS, 2019, : 35 - 41
  • [25] Literature survey of chromosomes classification and anomaly detection using machine learning algorithms
    Nimitha, N.
    Arun, C.
    Puvaneswari, A. S.
    Paninila, B.
    Pavithra, V. R.
    Pavithra, B.
    2ND INTERNATIONAL CONFERENCE ON ADVANCES IN MECHANICAL ENGINEERING (ICAME 2018), 2018, 402
  • [26] Choosing Machine Learning Algorithms for Anomaly Detection in Smart Building IoT Scenarios
    Almaguer-Angeles, Fernando
    Murphy, John
    Murphy, Liam
    Portillo-Dominguez, A. Omar
    2019 IEEE 5TH WORLD FORUM ON INTERNET OF THINGS (WF-IOT), 2019, : 491 - 495
  • [27] Anomaly detection in NetFlow network traffic using supervised machine learning algorithms
    Fosic, Igor
    Zagar, Drago
    Grgic, Kresimir
    Krizanovic, Visnja
    JOURNAL OF INDUSTRIAL INFORMATION INTEGRATION, 2023, 33
  • [28] Machine Learning Enabled Intrusion Detection for Edge Devices in the Internet of Things
    Alsharif, Maram
    Rawat, Danda B.
    2023 IEEE 13TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE, CCWC, 2023, : 361 - 367
  • [29] Analysis of Machine Learning Techniques for Anomaly Detection in the Internet of Things
    Brady, Shane
    Magoni, Damien
    Murphy, John
    Assem, Haytham
    Portillo-Dominguez, A. Omar
    2018 IEEE LATIN AMERICAN CONFERENCE ON COMPUTATIONAL INTELLIGENCE (LA-CCI), 2018,
  • [30] Comparative analysis of machine learning models for anomaly detection in manufacturing
    Kharitonov, Andrey
    Nahhas, Abdulrahman
    Pohl, Matthias
    Turowski, Klaus
    3RD INTERNATIONAL CONFERENCE ON INDUSTRY 4.0 AND SMART MANUFACTURING, 2022, 200 : 1288 - 1297