Federated Learning for Internet of Things: A Federated Learning Framework for On-device Anomaly Data Detection

Tuo Zhang, Chaoyang He, Tianhao Ma, Lei Gao, Mark Ma +1 more
6/15/2021
cs.LGeess.SY
federated

Official code: FedML-AI/FedIoT (44 stars, PyTorch, last commit 2022-08-01).

Abstract

Federated learning can be a promising solution for enabling IoT cybersecurity (i.e., anomaly detection in the IoT environment) while preserving data privacy and mitigating the high communication/storage overhead (e.g., high-frequency data from time-series sensors) of centralized over-the-cloud approaches. In this paper, to further push forward this direction with a comprehensive study in both algorithm and system design, we build FedIoT platform that contains FedDetect algorithm for on-device anomaly data detection and a system design for realistic evaluation of federated learning on IoT devices.

Show full abstract

Furthermore, the proposed FedDetect learning framework improves the performance by utilizing a local adaptive optimizer (e.g., Adam) and a cross-round learning rate scheduler. In a network of realistic IoT devices (Raspberry PI), we evaluate FedIoT platform and FedDetect algorithm in both model and system performance. Our results demonstrate the efficacy of federated learning in detecting a wider range of attack types occurred at multiple devices. The system efficiency analysis indicates that both end-to-end training time and memory cost are affordable and promising for resource-constrained IoT devices. The source code is publicly available at https://github.com/FedML-AI/FedIoT.

View on arXivView PDF

Code Implementations(1)

FedML-AI/FedIoTOfficial100%
PyTorch

Federated Learning for Internet of Things: A Federated Learning Framework for On-device Anomaly Data Detection, backed by FedML, Inc.

4415Mar 20, 20214 years ago
anomaly-detectionautoencodercybersecurityfederated-learningiot+4 more

Similar Papers

Cite this paper

@article{zhang2021federated,
  title  = {Federated Learning for Internet of Things: A Federated Learning Framework for On-device Anomaly Data Detection},
  author = {Tuo Zhang and Chaoyang He and Tianhao Ma and Lei Gao and Mark Ma and Salman Avestimehr},
  year   = {2021},
  eprint = {2106.07976},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07976}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.07976.svg)](https://codeofpaper.com/paper/2106.07976)

Discussion