On-Sensor Convolutional Neural Networks with Early-Exits

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shalby, Hazem Hesham Yousef, De Vecchi, Arianna, Scandelli, Alice, Bartoli, Pietro, Trojaniello, Diana, Roveri, Manuel, Villa, Federica
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908389174411264
author Shalby, Hazem Hesham Yousef
De Vecchi, Arianna
Scandelli, Alice
Bartoli, Pietro
Trojaniello, Diana
Roveri, Manuel
Villa, Federica
author_facet Shalby, Hazem Hesham Yousef
De Vecchi, Arianna
Scandelli, Alice
Bartoli, Pietro
Trojaniello, Diana
Roveri, Manuel
Villa, Federica
contents Tiny Machine Learning (TinyML) is a novel research field aiming at integrating Machine Learning (ML) within embedded devices with limited memory, computation, and energy. Recently, a new branch of TinyML has emerged, focusing on integrating ML directly into the sensors to further reduce the power consumption of embedded devices. Interestingly, despite their state-of-the-art performance in many tasks, none of the current solutions in the literature aims to optimize the implementation of Convolutional Neural Networks (CNNs) operating directly into sensors. In this paper, we introduce for the first time in the literature the optimized design and implementation of Depth-First CNNs operating on the Intelligent Sensor Processing Unit (ISPU) within an Inertial Measurement Unit (IMU) by STMicroelectronics. Our approach partitions the CNN between the ISPU and the microcontroller (MCU) and employs an Early-Exit mechanism to stop the computations on the IMU when enough confidence about the results is achieved, hence significantly reducing power consumption. When using a NUCLEO-F411RE board, this solution achieved an average current consumption of 4.8 mA, marking an 11% reduction compared to the regular inference pipeline on the MCU, while having equal accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2503_16939
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On-Sensor Convolutional Neural Networks with Early-Exits
Shalby, Hazem Hesham Yousef
De Vecchi, Arianna
Scandelli, Alice
Bartoli, Pietro
Trojaniello, Diana
Roveri, Manuel
Villa, Federica
Machine Learning
Artificial Intelligence
Hardware Architecture
Tiny Machine Learning (TinyML) is a novel research field aiming at integrating Machine Learning (ML) within embedded devices with limited memory, computation, and energy. Recently, a new branch of TinyML has emerged, focusing on integrating ML directly into the sensors to further reduce the power consumption of embedded devices. Interestingly, despite their state-of-the-art performance in many tasks, none of the current solutions in the literature aims to optimize the implementation of Convolutional Neural Networks (CNNs) operating directly into sensors. In this paper, we introduce for the first time in the literature the optimized design and implementation of Depth-First CNNs operating on the Intelligent Sensor Processing Unit (ISPU) within an Inertial Measurement Unit (IMU) by STMicroelectronics. Our approach partitions the CNN between the ISPU and the microcontroller (MCU) and employs an Early-Exit mechanism to stop the computations on the IMU when enough confidence about the results is achieved, hence significantly reducing power consumption. When using a NUCLEO-F411RE board, this solution achieved an average current consumption of 4.8 mA, marking an 11% reduction compared to the regular inference pipeline on the MCU, while having equal accuracy.
title On-Sensor Convolutional Neural Networks with Early-Exits
topic Machine Learning
Artificial Intelligence
Hardware Architecture
url https://arxiv.org/abs/2503.16939