Abstract
Object detection is a cornerstone of modern computer vision, yet its deployment on ultra-low-power edge devices remains constrained by significant memory and computational requirements. This paper presents TinyissimoYOLO, an ultra-lightweight, fully 8-bit quantized neural network designed for real-time object detection on the milliwatt frontier. By leveraging architectural flexibility and hardware-aware optimization, TinyissimoYOLO achieves a record-breaking inference latency of 2.12 ms and consumes just 150 µJ per inference on the GAP9 RISC-V processor, enabling sophisticated vision tasks on battery-operated IoT devices.
1. Introduction
While the "TinyML" movement has successfully migrated simple image classification to microcontrollers (MCUs), real-time object detection—identifying both the class and spatial coordinates of multiple objects—remains a formidable challenge. Standard YOLO (You Only Look Once) models typically feature millions of parameters and require gigabytes of memory, far exceeding the sub-1 MB RAM limits of typical MCUs.
TinyissimoYOLO bridges this gap by providing a parameterized, highly optimized version of the YOLOv1 architecture specifically tailored for extreme edge applications such as smart sensors, wearables, and nano-drones. This work demonstrates that through aggressive quantization and specialized hardware utilization, real-time object detection is achievable within a milliwatt power envelope.
2. Methodology
2.1 Architectural Flexibility
TinyissimoYOLO is designed with a parameterized structure that allows developers to adapt the model to specific hardware constraints and application requirements. Key adjustable parameters include:
- Input Resolution: Scaling from 88x88 to 224x224 pixels.
- Class Support: Configurable from 3 to 20 object classes.
- Kernel Sizes: Adjustable to balance receptive field size against computational cost.
2.2 Quantization-Aware Training (QAT)
To minimize memory footprint, the researchers employed the QuantLab framework for Quantization-Aware Training. The model utilizes 8-bit integer weights and activations, providing a 4x reduction in memory usage compared to standard 32-bit floating-point implementations. This quantization is critical for fitting the model into the limited on-chip SRAM of edge processors without significant loss in detection accuracy.
2.3 Heterogeneous Deployment and Tiling
The deployment strategy focuses on maximizing hardware efficiency through a heterogeneous approach. On the GAP9 processor, convolutional layers are offloaded to the NE16 hardware accelerator, while layers not supported by the accelerator (such as Max-Pooling) are executed on an 8-core RISC-V cluster. To manage memory constraints, the DORY (Deployment Oriented to memoRY) framework was used to automatically "tile" data, orchestrating the movement of small data chunks between slow external memory and fast on-chip scratchpad memory.
3. Experimental Setup
The models were trained and evaluated using the PascalVOC dataset, a standard benchmark containing 20 object classes. The researchers tested various configurations to observe how the model scales with increased resolution and class complexity, focusing on the trade-offs between mean Average Precision (mAP), latency, and energy consumption.
4. Key Results and Insights
4.1 Performance Metrics
When deployed on the GAP9 platform using the NE16 accelerator, the 3-class, 88x88 resolution variant of TinyissimoYOLO delivered industry-leading performance:
- Latency: 2.12 ms per inference.
- Energy Consumption: 150 µJ per inference.
- Throughput: Up to 285 inferences per second (FPS).
- Accuracy: 62% mAP for the 3-class subset.
4.2 The Advantage of Specialized Silicon
A core finding of the study is the significant performance advantage of dedicated AI accelerators. The GAP9's NE16 accelerator was found to be 2x faster and 20% more energy-efficient than other specialized platforms like the MAX78000, and orders of magnitude more efficient than general-purpose ARM Cortex-M cores. Furthermore, even without dedicated accelerators, utilizing a multi-core RISC-V cluster provided a 6.14x speedup over single-core execution, highlighting the importance of parallelization in low-power AI.
4.3 The Resolution-Memory Trade-off
The research highlights a critical bottleneck for edge engineers: the "Resolution Trap." Increasing input resolution from 88x88 to 224x224 significantly improves mAP but causes memory requirements to jump from ~440 KB to ~3.3 MB. This jump often necessitates the use of external memory, which increases the overall power budget and system complexity.
5. Discussion and Limitations
While TinyissimoYOLO represents a major step forward, certain limitations remain. Larger model variants still exceed the internal memory of many ultra-low-power MCUs. Additionally, the overhead of switching between the hardware accelerator and the CPU cores for unsupported layers (like Max-Pooling) introduces minor latencies.
Future work will explore even more aggressive quantization techniques, such as 4-bit or 2-bit weights, and the development of "always-on" architectures where the sensor remains in a low-power state until a specific object is detected, further extending battery life for remote IoT deployments.
6. Conclusion
TinyissimoYOLO demonstrates that high-performance object detection is no longer reserved for high-end processors. By combining a flexible architecture with 8-bit quantization and hardware-aware deployment, the researchers have enabled real-time vision on a milliwatt budget, opening new possibilities for the next generation of intelligent, autonomous edge devices.
Summary updated