[Paper Review] TinyissimoYOLO: A Quantized, Low-Memory Footprint, TinyML Object Detection Network for Low Power Microcontrollers
TinyissimoYOLO is a quantized, 422k-parameter object detection network designed for ultra-low-power microcontrollers with under 0.5 MB memory. It achieves real-time inference at up to 180 fps and 196 µJ per inference on the MAX78000 microcontroller using 8-bit quantization and a dedicated CNN accelerator, demonstrating high efficiency and low energy consumption for edge AI applications.
This paper introduces a highly flexible, quantized, memory-efficient, and ultra-lightweight object detection network, called TinyissimoYOLO. It aims to enable object detection on microcontrollers in the power domain of milliwatts, with less than 0.5MB memory available for storing convolutional neural network (CNN) weights. The proposed quantized network architecture with 422k parameters, enables real-time object detection on embedded microcontrollers, and it has been evaluated to exploit CNN accelerators. In particular, the proposed network has been deployed on the MAX78000 microcontroller achieving high frame-rate of up to 180fps and an ultra-low energy consumption of only 196μJ per inference with an inference efficiency of more than 106 MAC/Cycle. TinyissimoYOLO can be trained for any multi-object detection. However, considering the small network size, adding object detection classes will increase the size and memory consumption of the network, thus object detection with up to 3 classes is demonstrated. Furthermore, the network is trained using quantization-aware training and deployed with 8-bit quantization on different microcontrollers, such as STM32H7A3, STM32L4R9, Apollo4b and on the MAX78000's CNN accelerator. Performance evaluations are presented in this paper.
Motivation & Objective
- Address the challenge of deploying real-time object detection on microcontrollers with limited memory (<0.5 MB) and milliwatt power budgets.
- Design a highly memory-efficient, quantized neural network architecture suitable for edge AI on resource-constrained devices.
- Enable multi-object detection with up to three classes while maintaining low model size and high inference efficiency.
- Evaluate performance across multiple microcontroller platforms, including those with and without dedicated CNN accelerators.
- Optimize network training and deployment to maximize inference speed, energy efficiency, and accuracy under strict hardware constraints.
Proposed method
- Propose a lightweight YOLO-based CNN architecture with 3x3 kernel convolutions and a single fully connected layer, optimized for minimal parameter count.
- Apply quantization-aware training (QAT) followed by 8-bit weight quantization to reduce memory footprint and accelerate inference.
- Deploy the quantized network on multiple microcontroller platforms, including STM32H7A3, STM32L4R9, Apollo4b, and MAX78000 with a hardware CNN accelerator.
- Use input images of size 88×88×3 to balance resolution and memory efficiency, consuming ~25 kB of additional memory.
- Optimize training data by restricting input images to a maximum of 5–10 objects per image to improve detection performance on small objects.
- Measure and compare key metrics: inference latency, energy per inference, power efficiency, and inference efficiency (MAC/cycle) across all platforms.
Experimental results
Research questions
- RQ1Can a highly quantized, small-scale object detection network achieve real-time inference on microcontrollers with less than 0.5 MB of weight memory?
- RQ2How does the inclusion of a hardware CNN accelerator impact inference speed and energy efficiency in ultra-low-power microcontrollers?
- RQ3What is the optimal object size and dataset restriction (e.g., max 5–10 objects per image) to maximize mAP while maintaining low model complexity?
- RQ4How does the performance of TinyissimoYOLO compare across different microcontroller architectures with and without dedicated accelerators?
- RQ5To what extent does 8-bit quantization affect detection accuracy when applied to a tiny, lightweight network on edge devices?
Key findings
- TinyissimoYOLO achieves a peak inference speed of 180 fps on the MAX78000 microcontroller, outperforming other microcontrollers by over 65x in latency.
- The MAX78000 microcontroller delivers the highest inference efficiency at 107 MAC/cycle, significantly outperforming non-accelerated devices that require 2–4 cycles per MAC.
- Energy consumption is minimized at 196 µJ per inference on the MAX78000, making it 32x more energy efficient than the second-best device, the Apollo4b.
- The network consumes only 398 kB of memory when trained on three object classes (person, chair, car) from PascalVOC, and 422 kB for single-class detection on WiderFace.
- mAP reaches 58.5% on PascalVOC (3 classes) and up to 45% on WiderFace when training data is restricted to images with ≤10 objects, demonstrating improved generalization.
- The network maintains high accuracy with 8-bit quantization, achieving near-state-of-the-art performance despite its minimal size and memory footprint.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.