Analysis of Machine Learning Algorithms for Anomaly Detection on Edge Devices

被引:9
|
作者
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 条
  • [1] Evaluating Machine Learning Algorithms for Anomaly Detection in Clouds
    Gulenko, Anton
    Wallschlaeger, Marcel
    Schmidt, Florian
    Kao, Odej
    Liu, Feng
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2016, : 2716 - 2721
  • [2] Anomaly Detection in ICS Datasets with Machine Learning Algorithms
    Mubarak, Sinil
    Habaebi, Mohamed Hadi
    Islam, Md Rafiqul
    Rahman, Farah Diyana Abdul
    Tahir, Mohammad
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2021, 37 (01): : 33 - 46
  • [3] Comparative Analysis of Unsupervised Machine Learning Algorithms for Anomaly Detection in Network Data
    Oliveira, Junia Maisa
    Almeida, Jonatan
    Macedo, Daniel
    Nogueira, Jose Marcos
    [J]. 2023 IEEE LATIN-AMERICAN CONFERENCE ON COMMUNICATIONS, LATINCOM, 2023,
  • [4] Evaluating Energy and Thermal Efficiency of Anomaly Detection Algorithms in Edge Devices
    Rubin, Felipe Pfeifer
    Severo de Souza, Paulo Silas
    Marques, Wagner dos Santos
    de Oliveira, Romulo Reis
    Rossi, Fabio Diniz
    Ferreto, Tiago
    [J]. 2020 34TH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN 2020), 2020, : 208 - 213
  • [5] Network Intrusion Detection Using Machine Learning Anomaly Detection Algorithms
    Hanifi, Khadija
    Bank, Hasan
    Karsligil, M. Elif
    Yavuz, A. Gokhan
    Guvensan, M. Amac
    [J]. 2017 25TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2017,
  • [6] Postprocessing of Edge Detection Algorithms with Machine Learning Techniques
    Flores-Vidal, Pablo
    Castro, Javier
    Gomez, Daniel
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [7] Evaluation of Machine Learning Algorithms for Anomaly Detection in Industrial Networks
    Bernieri, Giuseppe
    Conti, Mauro
    Turrin, Federico
    [J]. 2019 IEEE INTERNATIONAL SYMPOSIUM ON MEASUREMENTS & NETWORKING (M&N 2019), 2019,
  • [8] Bayesian Optimization with Machine Learning Algorithms Towards Anomaly Detection
    Injadat, MohammadNoor
    Salo, Fadi
    Nassif, Ali Bou
    Essex, Aleksander
    Shami, Abdallah
    [J]. 2018 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2018,
  • [9] IoT Anomaly Detection Using a Multitude of Machine Learning Algorithms
    Balega, Maria
    Farag, Waleed
    Ezekiel, Soundararajan
    Wu, Xin-Wen
    Deak, Alicia
    Good, Zaryn
    [J]. 2022 IEEE APPLIED IMAGERY PATTERN RECOGNITION WORKSHOP, AIPR, 2022,
  • [10] Machine Learning-Driven Algorithms for Network Anomaly Detection
    Islam, Md Sirajul
    Rouf, Mohammad Abdur
    Parvez, A. H. M. Shahariar
    Podder, Prajoy
    [J]. INVENTIVE COMPUTATION AND INFORMATION TECHNOLOGIES, ICICIT 2021, 2022, 336 : 493 - 507