TinyFed: Lightweight Federated Learning for Constrained IoT Devices

Tiny Machine Learning (TinyML) is a paradigm that directly enables the inference of machine learning (ML) algorithms on microcontrollers — devices with limited computational resources, including energy, processing power, and storage constraints. Extending TinyML to allow inference and model training in a collaborative setting has led to the development of Tiny Federated Learning (TinyFL). This proposal introduces TinyFed, a lightweight framework designed to support the entire Federated Learning cycle, including training a neural network on the device, transmitting the model to a server, aggregating multiple models, and delivering the aggregated model back to resource-constrained microcontrollers engaged in the federated process. TinyFed has been validated by deploying a neural network with four inputs, three hidden layers (16, 8, and 4 neurons), and two outputs on ESP32 devices to detect temperature, humidity, luminosity, and voltage measurement anomalies. Our results demonstrate the feasibility of this approach with successful local training.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2024-11-14
DOI
https://doi.org/10.5281/zenodo.14123439
Primary Topic
IoT and Edge/Fog Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TinyFed: Lightweight Federated Learning for Constrained IoT Devices

Zenodo (CERN European Organization for Nuclear Research)
IoT and Edge/Fog Computing
article

TinyFed: Lightweight Federated Learning for Constrained IoT Devices

article en

Abstract

Tiny Machine Learning (TinyML) is a paradigm that directly enables the inference of machine learning (ML) algorithms on microcontrollers — devices with limited computational resources, including energy, processing power, and storage constraints. Extending TinyML to allow inference and model training in a collaborative setting has led to the development of Tiny Federated Learning (TinyFL). This proposal introduces TinyFed, a lightweight framework designed to support the entire Federated Learning cycle, including training a neural network on the device, transmitting the model to a server, aggregating multiple models, and delivering the aggregated model back to resource-constrained microcontrollers engaged in the federated process. TinyFed has been validated by deploying a neural network with four inputs, three hidden layers (16, 8, and 4 neurons), and two outputs on ESP32 devices to detect temperature, humidity, luminosity, and voltage measurement anomalies. Our results demonstrate the feasibility of this approach with successful local training.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 52%
IoT and Edge/Fog Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.