{"title":"Timely Anomalous Behavior Detection in Fog-IoT Systems using Unsupervised Federated Learning","authors":"Franklin Magalhães Ribeiro Junior, C. Kamienski","doi":"10.1109/WF-IoT54382.2022.10152055","DOIUrl":null,"url":null,"abstract":"In an Internet of Things (IoT) system, fog computing can analyze data faster than the cloud because it is closer to the sensors. However, fog nodes can suffer attacks and vulnerabilities, needing to monitor their abnormal behaviors. Machine learning (ML) enables the fog to identify its behaviors, but processing ML can delay its time-sensitive tasks. Federated learning (FL) can provide a fog-based IoT system to learn every fog node behavior faster and accurately. Therefore, we propose an unsupervised FL system to detect fog anomalies, and we simulate different performance behaviors for two fog nodes (A and B) during seven rounds of 4-minutes each. When a round starts, the fog nodes perform k-means and send local centroids to the cloud, which merges them into global new centroids sending them back to the fog. We evaluate the time that Fog B needs to predict a behavior already identified by Fog A correctly and verify that it amounts to 30 milliseconds using our system. In contrast, a non-federated approach must wait for the current round to end, which can take minutes.","PeriodicalId":176605,"journal":{"name":"2022 IEEE 8th World Forum on Internet of Things (WF-IoT)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 8th World Forum on Internet of Things (WF-IoT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WF-IoT54382.2022.10152055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In an Internet of Things (IoT) system, fog computing can analyze data faster than the cloud because it is closer to the sensors. However, fog nodes can suffer attacks and vulnerabilities, needing to monitor their abnormal behaviors. Machine learning (ML) enables the fog to identify its behaviors, but processing ML can delay its time-sensitive tasks. Federated learning (FL) can provide a fog-based IoT system to learn every fog node behavior faster and accurately. Therefore, we propose an unsupervised FL system to detect fog anomalies, and we simulate different performance behaviors for two fog nodes (A and B) during seven rounds of 4-minutes each. When a round starts, the fog nodes perform k-means and send local centroids to the cloud, which merges them into global new centroids sending them back to the fog. We evaluate the time that Fog B needs to predict a behavior already identified by Fog A correctly and verify that it amounts to 30 milliseconds using our system. In contrast, a non-federated approach must wait for the current round to end, which can take minutes.