TDMiL: Tiny Distributed Machine Learning for Microcontroller-Based Interconnected Devices
Open Access
- 6 November 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 167810-167826
Abstract
More and more, edge devices embark Artificial Neuron Networks. In this context, a trend is to simultaneously decentralize their training as much as possible while shrinking their resource requirements, both for inference and training—tasks that are typically intensive in terms of data, memory, and computation. At the edge’s extremity, a specific challenge arises concerning the inclusion of microcontroller-based devices typically deployed in the IoT. So far, no general framework has been provided for that. Such devices not only have extremely challenging resource constraints (weak CPUs, slow network connections, memory budgets measured in kilobytes) but also exhibit high polymorphism, leading to large variability in computational performance among these devices. In this paper, we design and implement TDMiL, a versatile framework for distributed training, and transfer learning. TDMiL interconnects and combines logical components including CoAPerator (a central aggregator) and various tiny embedded software runtimes that are specifically tailored for networks comprising heterogeneous, resource-constrained devices built on diverse types of microcontrollers. We report on experiments conducted with the TDMiL framework, which we use to comparatively evaluate several schemes devised to address computational variability among distributed learning microcontroller-based devices, i.e., stragglers. Additionally, we release the code of our implementation of TDMiL as an open-source project, which is compatible with common commercial off-the-shelf IoT hardware and a well-known open-access IoT testbed.Keywords
Funding Information
- MESRI-BMBF German/French Cybersecurity Program (ANR-20-CYAL-0005, 16KIS1395K)
- Einstein Center Digital Future (ECDF) Berlin, from Qualcomm France, and from France 2030
This publication has 30 references indexed in Scilit:
- RIOT-ML: toolkit for over-the-air secure updates and performance evaluation of TinyML modelsAnnals of Telecommunications, 2024
- Enabling Resource-Efficient AIoT System With Cross-Level Optimization: A SurveyIEEE Communications Surveys & Tutorials, 2023
- TinyReptile: TinyML with Federated Meta-Learning2023
- EdgeML: Towards network-accelerated federated learning over wireless edgeComputer Networks, 2022
- Unlocking Edge Intelligence Through Tiny Machine Learning (TinyML)IEEE Access, 2022
- Gossip Learning: Off the Beaten Path2019
- Searching for MobileNetV32019
- Secure Firmware Updates for Constrained IoT Devices Using Open Standards: A Reality CheckIEEE Access, 2019
- Early Stopping - But When?1998
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998