On-Sensor Convolutional Neural Networks with Early-Exits
By: Hazem Hesham Yousef Shalby , Arianna De Vecchi , Alice Scandelli and more
Potential Business Impact:
Makes smart sensors use less power.
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.
Similar Papers
msf-CNN: Patch-based Multi-Stage Fusion with Convolutional Neural Networks for TinyML
Machine Learning (CS)
Makes tiny computers run AI using half the memory.
Tin-Tin: Towards Tiny Learning on Tiny Devices with Integer-based Neural Network Training
Machine Learning (CS)
Lets tiny computers learn without internet.
TinyDéjàVu: Smaller Memory Footprint & Faster Inference on Sensor Data Streams with Always-On Microcontrollers
Machine Learning (CS)
Saves power for tiny smart sensors.