Enabling energy efficient machine learning on a Ultra-Low-Power vision sensor for IoT

Francesco Paissan, Massimo Gottardi, Elisabetta FarellaZenodo 2021 · DOI

Introduction

The proliferation of the Internet of Things (IoT) has created a demand for ubiquitous, smart sensors. However, computer vision remains a significant challenge due to its high energy requirements. Traditional high-resolution cameras paired with power-hungry CPUs or GPUs often exceed the 5W power threshold, making them unsuitable for solar-powered or battery-operated IoT nodes. While low-power "Smart Vision Sensors" (SVS) exist, they typically sacrifice resolution and frame rate to save energy. This research presents an end-to-end computer vision pipeline—encompassing detection, classification, and tracking—optimized for a specialized ultra-low-power SVS, achieving a total power consumption of just 7.5 mW.

Hardware-Software Co-Design

The core of the proposed system is a specialized VGA sensor designed for hardware-triggered motion detection. By performing background subtraction in the analog and digital circuitry of the sensor itself, the system avoids wasting microcontroller (MCU) cycles on static backgrounds.

Architecture of the Smart Vision Sensor (SVS) showing integrated processing blocks for motion detection and projection.

The sensor operates primarily in a low-power "Motion Detection" mode. Upon detecting movement, it switches to "Imaging Mode" and generates a 120x160 binary motion bitmap for the downstream MCU. This "near-sensor" processing ensures the MCU only activates when relevant data is present.

Efficient Computer Vision Pipeline

To maintain the ultra-low power envelope, the authors developed a lean multi-stage pipeline optimized for resource-constrained hardware:

  1. Region Proposal via X-Y Projections: Instead of using standard but computationally expensive contour-finding algorithms, the system employs a two-stage detector based on Cartesian products of active pixels along the x and y axes. This method rapidly identifies Regions of Interest (ROI). Although it is technically "sub-optimal" because it produces slightly larger bounding boxes than necessary, the reduction in operation count is substantial.
Illustration of the x-y projection method for efficient region-of-interest (ROI) proposal.
  1. Classification: A linear kernel Support Vector Machine (SVM) is used for classification. To minimize overhead, the SVM processes four lightweight features: blob area, x and y variances (shape descriptors), and the minimum vertical coordinate.
  2. Tracking: The pipeline integrates a modified version of Simple Online Real-Time Tracking (SORT), utilizing a Kalman filter for state estimation and the Hungarian algorithm for data association, ensuring consistent object labeling across frames.

Experimental Results and Insights

The system was evaluated using a custom SVS dataset and the standard PETS2009 benchmark. Key performance metrics include:

  • Power & Latency: The entire pipeline consumes only 7.5 mW at 80 MHz on a Cortex-M4 MCU, with a full inference cycle taking just 8 ms.
  • Accuracy: The system achieved ~85% classification accuracy and 94.6% tracking accuracy.

Analysis of feature importance revealed that the variance on the y-axis ($\sigma^2_y$) is the most critical feature for distinguishing between pedestrians (vertically oriented) and cars (horizontally oriented). While the projection-based detector detects roughly 1.5x more area than necessary, the computational efficiency gained is what enables the system to operate within the strict energy constraints of energy-harvesting environments.

Conclusion and Future Work

This work demonstrates that by leveraging hardware-level motion detection and simplified region proposal algorithms, sophisticated computer vision tasks can be performed at a fraction of the power required by conventional systems. Future research will explore the implementation of depth-wise separable convolutional neural networks (CNNs), such as YOLOv2 variants, to improve feature extraction while maintaining the ultra-low power profile.

Summary updated

BibTeX
@misc{paissan2021enabling,
  author = {Francesco Paissan and Massimo Gottardi and Elisabetta Farella},
  title = {{Enabling energy efficient machine learning on a Ultra-Low-Power vision sensor for IoT}},
  year = {2021},
  eprint = {2102.01340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.01340},
}
Figure