Preliminary Analysis of Federated Learning in Agrifood: From MNIST to Real-World IoT Applications in a Heterogeneous Environment
Federated Learning (FL) is a promising approach for decentralized Machine Learning (ML), enabling collaborative model training while keeping data localized. However, the integration of heterogeneous devices, particularly resource-constrained Internet of Things (IoT) clients like microcontrollers, poses significant challenges. A simulation of an FL framework involving IoT clients is presented in this paper to train a Neural Network (NN) model optimized for microcontrollers. In the first round, an STM32F722ZE microcontroller is used as one of the clients, alongside standard clients, to simulate device heterogeneity. Initially, FL is demonstrated on the MNIST dataset as a proof of concept, before the framework is extended to real-world applications in the agrifood sector, using IoT devices in a heterogeneous environment. The simulation includes real-world constraints such as training delays, energy consumption, and system heterogeneity. The system is evaluated based on parameters like energy consumption, inference time, and model performance. The results provide insights into the trade-offs between resource usage and model accuracy, demonstrating the feasibility of implementing FL in agrifood applications with heterogeneous IoT devices.
Authors
- Alessia Lazzaro (ORCID: https://orcid.org/0009-0008-7984-0016)
- Mariateresa Russo (ORCID: https://orcid.org/0000-0002-5159-588X)
- Demetrio Iero (ORCID: https://orcid.org/0000-0001-8499-7431)
- Massimo Merenda (ORCID: https://orcid.org/0000-0003-3668-8014)
- Mohamed Riad Sebti (ORCID: https://orcid.org/0009-0000-5815-0309)
- Zohra Dakhia (ORCID: https://orcid.org/0009-0005-1788-197X)
Institutions
- University of Reggio Calabria (IT)
Publication Details
- Published
- 2025-06-16
- DOI
- https://doi.org/10.23919/splitech65624.2025.11091733
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Research Centre