Human activity recognition (HAR) is one of the most interesting application for machine learning models running on low-cost and low-power devices, such as microcontrollers (MCUs). As a matter of fact, MCUs are often dedicated to performing inference on their own acquired data, and any form of model training and update is delegated to external resources. We consider this mainstream paradigm a severe limitation, especially when privacy concerns prevent data sharing, thus model personalization, which is universally recognized as beneficial in HAR. In this letter, we present our HAR solution where MCUs can directly fine-tune a deep learning model using locally acquired data. In particular, we enable training functionalities for 1-D convolutional neural networks (CNNs) on STM32 microcontrollers and provide a software tool to estimate the memory and computational resources required to accomplish model personalization.

On-Device Personalization for Human Activity Recognition on STM32

Michele Craighero;Diego Carrera;Giacomo Boracchi
2023-01-01

Abstract

Human activity recognition (HAR) is one of the most interesting application for machine learning models running on low-cost and low-power devices, such as microcontrollers (MCUs). As a matter of fact, MCUs are often dedicated to performing inference on their own acquired data, and any form of model training and update is delegated to external resources. We consider this mainstream paradigm a severe limitation, especially when privacy concerns prevent data sharing, thus model personalization, which is universally recognized as beneficial in HAR. In this letter, we present our HAR solution where MCUs can directly fine-tune a deep learning model using locally acquired data. In particular, we enable training functionalities for 1-D convolutional neural networks (CNNs) on STM32 microcontrollers and provide a software tool to estimate the memory and computational resources required to accomplish model personalization.
2023
File in questo prodotto:
File Dimensione Formato  
FINAL VERSION.pdf

accesso aperto

Descrizione: Articolo
: Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione 403.18 kB
Formato Adobe PDF
403.18 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1249551
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 1
social impact