Federated-Learning-Based Anomaly Detection for IoT Security Attacks

Viraaji Mothukuri, Prachi Khare, Reza M. Parizi, Seyedamin Pouriyeh, Ali Dehghantanha, Gautam Srivastava

IEEE Internet of Things Journal · 2021 · 677 citations · 38 references

Concepts

TL;DR

The Internet of Things connects billions of devices that generate personal data, making IoT networks attractive targets for attackers and prompting interest in machine‑learning‑based security solutions that often assume centralized data availability, which is problematic for privacy‑sensitive domains. This work proposes a federated‑learning–based anomaly detection system that proactively identifies intrusions in IoT networks using decentralized on‑device data. The system trains gated recurrent unit models in federated rounds, exchanging only model weights, and employs an ensembler to aggregate updates from multiple devices, thereby improving the global model’s accuracy while keeping raw data local. Experiments show that the federated approach outperforms centralized machine‑learning baselines, preserving user privacy and achieving higher attack‑detection accuracy.

Abstract

The Internet of Things (IoT) is made up of billions of physical devices connected to the Internet via networks that perform tasks independently with less human intervention. Such brilliant automation of mundane tasks requires a considerable amount of user data in digital format, which, in turn, makes IoT networks an open source of personally identifiable information data for malicious attackers to steal, manipulate, and perform nefarious activities. A huge interest has been developed over the past years in applying machine learning (ML)-assisted approaches in the IoT security space. However, the assumption in many current works is that big training data are widely available and transferable to the main server because data are born at the edge and are generated continuously by IoT devices. This is to say that classic ML works on the legacy set of entire data located on a central server, which makes it the least preferred option for domains with privacy concerns on user data. To address this issue, we propose the federated-learning (FL)-based anomaly detection approach to proactively recognize intrusion in IoT networks using decentralized on-device data. Our approach uses federated training rounds on gated recurrent units (GRUs) models and keeps the data intact on local IoT devices by sharing only the learned weights with the central server of FL. Also, the approach’s ensembler part aggregates the updates from multiple sources to optimize the global ML model’s accuracy. Our experimental results demonstrate that our approach outperforms the classic/centralized machine learning (non-FL) versions in securing the privacy of user data and provides an optimal accuracy rate in attack detection.

References

38