Skip to main navigation Skip to search Skip to main content

A Comparative Analysis of Federated and Centralized Machine Learning for Intrusion Detection in IoT

  • COMSATS University Islamabad

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

The Internet of Things (IoT) plays a pivotal role in connecting diverse, resource-constrained, and communication-capable smart devices across various domains, including smart cities, e-health systems, and wireless communications. However, the inherent security vulnerabilities in many IoT devices pose significant threats to the overall IoT infrastructure. To mitigate these risks, traditional centralized learning (CL) approaches, which involve collecting and processing data in a central server, are increasingly employing machine learning (ML) and deep learning (DL) techniques for intrusion detection systems (IDS) in IoT environments. However, this approach has raised privacy, latency, and scalability concerns. Federated Learning (FL) offers a decentralized alternative, but its application in the context of IoT-based IDS has not been comprehensively explored. Several studies have compared these approaches, but they tend to focus on specific metrics such as convergence, and lack a comprehensive examination of their application in IoT-based IDS. The findings of this work demonstrate that FL consistently outperforms CL in terms of accuracy, achieving a remarkable 99% accuracy compared to CL's peak of 93%. Moreover, FL also exhibits less overfitting and more stable test loss. Furthermore, FL converges at a slower pace than CL, but it can achieve comparable training loss levels with the incorporation of additional training epochs or advanced optimization techniques. Overall, the study concludes that FL is a more accurate and robust choice for intrusion detection in the IoT context, with superior generalization capabilities compared to CL. However, it is essential to consider specific performance metrics like precision, recall, and F1-score when selecting the most suitable approach, as there are trade-offs to be considered based on task requirements.

Original languageEnglish
Title of host publication2023 24th International Arab Conference on Information Technology, ACIT 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350384307
DOIs
StatePublished - 2023
Event24th International Arab Conference on Information Technology, ACIT 2023 - Ajman, United Arab Emirates
Duration: 6 Dec 20238 Dec 2023

Publication series

Name2023 24th International Arab Conference on Information Technology, ACIT 2023

Conference

Conference24th International Arab Conference on Information Technology, ACIT 2023
Country/TerritoryUnited Arab Emirates
CityAjman
Period6/12/238/12/23

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 11 - Sustainable Cities and Communities
    SDG 11 Sustainable Cities and Communities

Keywords

  • Internet of Things
  • centralized learning
  • federated learning
  • intrusion detection
  • machine learning

Fingerprint

Dive into the research topics of 'A Comparative Analysis of Federated and Centralized Machine Learning for Intrusion Detection in IoT'. Together they form a unique fingerprint.

Cite this