TyBox: An Automatic Design and Code Generation Toolbox for TinyML Incremental On-Device Learning

7Citations
Citations of this article
12Readers
Mendeley users who have this article in their library.

Abstract

Incremental on-device learning is one of the most relevant and interesting challenges in the field of Tiny Machine Learning (TinyML). Indeed, differently from traditional TinyML solutions where the training is typically carried out on the Cloud and inference only occurs on the tiny devices (e.g., embedded systems or Internet-of-Things units), incremental on-device TinyML allows both the inference and the training of TinyML models directly on tiny devices. This ability paves the way for TinyML-enabled intelligent devices that can learn directly on the field and adapt to evolving environments, different working conditions, or specific users. The literature in this field is quite limited with very few solutions focusing only on the incremental fine-tuning of machine learning models, whereas a general solution encompassing algorithms and code generation for incremental on-device TinyML is still perceived as missing. The aim of this article is to introduce, to the best of our knowledge for the first time in the literature, a toolbox called TyBox for the automatic design and code generation of incremental on-device TinyML classification models. In more detail, starting from a “static” TinyML model, TyBox is able to (i) automatically design the “incremental” on-device version of the TinyML model that has been suitably designed to take into account the technological constraint on the RAM memory of the target tiny device, and (ii) autonomously provide the C++ codes and libraries to support the inference and learning of the incremental on-device TinyML model directly on the tiny devices. TyBox has been extensively compared with a state-of-the-art incremental learning solution for TinyML and tested on an off-the-shelf tiny device (i.e., the Arduino Nano 33 BLE) in three relevant TinyML application tasks and scenarios: binary image classification, multi-class image classification, and ultra-wide-band human activity recognition. In addition, TyBox is released to the scientific community as a public repository.

References Powered by Scopus

Learning representations by back-propagating errors

20767Citations
N/AReaders
Get full text

Overcoming catastrophic forgetting in neural networks

4932Citations
N/AReaders
Get full text

Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem

2998Citations
N/AReaders
Get full text

Cited by Powered by Scopus

On TinyML and Cybersecurity: Electric Vehicle Charging Infrastructure Use Case

4Citations
N/AReaders
Get full text

Green IoT Event Detection for Carbon-Emission Monitoring in Sensor Networks

1Citations
N/AReaders
Get full text

MicroFlow: An Efficient Rust-Based Inference Engine for TinyML

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Pavan, M., Ostrovan, E., Caltabiano, A., & Roveri, M. (2024). TyBox: An Automatic Design and Code Generation Toolbox for TinyML Incremental On-Device Learning. ACM Transactions on Embedded Computing Systems, 23(3). https://doi.org/10.1145/3604566

Readers over time

‘23‘24036912

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 3

100%

Readers' Discipline

Tooltip

Computer Science 2

50%

Engineering 2

50%

Save time finding and organizing research with Mendeley

Sign up for free
0