Table of Contents
Fetching ...

FedMicro-IDA: A Federated Learning and Microservices-based Framework for IoT Data Analytics

Safa Ben Atitallah, Maha Driss, Henda Ben Ghezela

TL;DR

This paper tackles the privacy and latency challenges of IoT data analytics by introducing FedMicro-IDA, a framework that fuses federated learning with transfer learning and a microservices-based IoT architecture to enable edge-enabled analytics. It combines cloud-based FL server components with edge-side microservices for data preprocessing, local model training, and analytics, using TL CNNs (MobileNetV2, DenseNet201, InceptionV3) and a Dempster-Shafer fusion step to produce robust predictions. The approach is evaluated on the MaleVis IoT malware detection dataset, where FedMicro-IDA achieves state-of-the-art results (e.g., 99.24% accuracy) and demonstrates the advantages of distributed learning and modular service composition over centralized baselines. The results suggest that FL+TL with a microservices design can deliver high-performance, privacy-preserving IoT analytics at scale, with practical implications for edge computing deployments and future enhancements in orchestration and security.

Abstract

The Internet of Things (IoT) has recently proliferated in both size and complexity. Using multi-source and heterogeneous IoT data aids in providing efficient data analytics for a variety of prevalent and crucial applications. To address the privacy and security concerns raised by analyzing IoT data locally or in the cloud, distributed data analytics techniques were proposed to collect and analyze data in edge or fog devices. In this context, federated learning has been recommended as an ideal distributed machine/deep learning-based technique for edge/fog computing environments. Additionally, the data analytics results are time-sensitive; they should be generated with minimal latency and high reliability. As a result, reusing efficient architectures validated through a high number of challenging test cases would be advantageous. The work proposed here presents a solution using a microservices-based architecture that allows an IoT application to be structured as a collection of fine-grained, loosely coupled, and reusable entities. The proposed solution uses the promising capabilities of federated learning to provide intelligent microservices that ensure efficient, flexible, and extensible data analytics. This solution aims to deliver cloud calculations to the edge to reduce latency and bandwidth congestion while protecting the privacy of exchanged data. The proposed approach was validated through an IoT-malware detection and classification use case. MaleVis, a publicly available dataset, was used in the experiments to analyze and validate the proposed approach. This dataset included more than 14,000 RGB-converted images, comprising 25 malware classes and one benign class. The results showed that our proposed approach outperformed existing state-of-the-art methods in terms of detection and classification performance, with a 99.24%.

FedMicro-IDA: A Federated Learning and Microservices-based Framework for IoT Data Analytics

TL;DR

This paper tackles the privacy and latency challenges of IoT data analytics by introducing FedMicro-IDA, a framework that fuses federated learning with transfer learning and a microservices-based IoT architecture to enable edge-enabled analytics. It combines cloud-based FL server components with edge-side microservices for data preprocessing, local model training, and analytics, using TL CNNs (MobileNetV2, DenseNet201, InceptionV3) and a Dempster-Shafer fusion step to produce robust predictions. The approach is evaluated on the MaleVis IoT malware detection dataset, where FedMicro-IDA achieves state-of-the-art results (e.g., 99.24% accuracy) and demonstrates the advantages of distributed learning and modular service composition over centralized baselines. The results suggest that FL+TL with a microservices design can deliver high-performance, privacy-preserving IoT analytics at scale, with practical implications for edge computing deployments and future enhancements in orchestration and security.

Abstract

The Internet of Things (IoT) has recently proliferated in both size and complexity. Using multi-source and heterogeneous IoT data aids in providing efficient data analytics for a variety of prevalent and crucial applications. To address the privacy and security concerns raised by analyzing IoT data locally or in the cloud, distributed data analytics techniques were proposed to collect and analyze data in edge or fog devices. In this context, federated learning has been recommended as an ideal distributed machine/deep learning-based technique for edge/fog computing environments. Additionally, the data analytics results are time-sensitive; they should be generated with minimal latency and high reliability. As a result, reusing efficient architectures validated through a high number of challenging test cases would be advantageous. The work proposed here presents a solution using a microservices-based architecture that allows an IoT application to be structured as a collection of fine-grained, loosely coupled, and reusable entities. The proposed solution uses the promising capabilities of federated learning to provide intelligent microservices that ensure efficient, flexible, and extensible data analytics. This solution aims to deliver cloud calculations to the edge to reduce latency and bandwidth congestion while protecting the privacy of exchanged data. The proposed approach was validated through an IoT-malware detection and classification use case. MaleVis, a publicly available dataset, was used in the experiments to analyze and validate the proposed approach. This dataset included more than 14,000 RGB-converted images, comprising 25 malware classes and one benign class. The results showed that our proposed approach outperformed existing state-of-the-art methods in terms of detection and classification performance, with a 99.24%.
Paper Structure (24 sections, 21 equations, 15 figures, 4 tables, 1 algorithm)

This paper contains 24 sections, 21 equations, 15 figures, 4 tables, 1 algorithm.

Figures (15)

  • Figure 1: Abstract architecture of FedMicro-IDA
  • Figure 2: FL client's components.
  • Figure 3: Learning process proposed in FedMicro-IDA.
  • Figure 4: FedMicro-IDA for IoT malware detection and classification Scenario.
  • Figure 5: FedMicro-IDA in operation for IoT malware detection and classification.
  • ...and 10 more figures