Abstract
Detecting small objects remains a significant challenge for lightweight computer vision models due to aggressive spatial downsampling and limited computational budgets. TinyDet addresses this by introducing a two-stage framework optimized for high-resolution feature maps without the typical computational overhead. Key innovations include sparsely-connected convolutions (SCConv) and a mechanism to correct sub-pixel feature misalignment. TinyDet-M achieves a record-breaking 30.3 mAP on the COCO benchmark with only 991 MFLOPs, significantly outperforming existing lightweight detectors.
Introduction: The Small Object Bottleneck
Lightweight detectors like Pelee or ThunderNet often struggle with small objects because they prioritize speed through aggressive spatial downsampling. By the time features reach the detection head, small objects—which may only occupy a few pixels initially—lose critical structural and positional information. While high-resolution feature maps can mitigate this, they typically lead to an explosion in computational cost (FLOPs).
TinyDet bridges this gap by enabling high-resolution "magnification" for small objects while maintaining a strict computational budget of under 1 GFLOP.
Architectural Innovations
TinyDet introduces several key components to optimize for small object detection:
- High-Resolution Feature Maps: TinyDet utilizes a stride-4 feature map ($80 \times 80$), allowing for denser anchoring. This reduces the "Ground-truth Miss-assignment Ratio" (GTMR) for small objects from 53.1% in previous models to 21.2%.
- Sparsely-connected Convolution (SCConv): To manage the increased FLOPs from high-resolution maps, SCConv combines depth-wise convolutions with point-wise group convolutions. This allows for a significant reduction in connections within the detection head.
- MobileNetV3-BC Backbone: The backbone is modified to allocate more layers and channels to early stages, preserving the fine-grained "shallow" features essential for small object recognition.
Solving Feature Misalignment
A critical insight in TinyDet is the identification of sub-pixel feature misalignment. Standard strided convolutions on even-sized inputs introduce a 0.5-pixel shift. In deep networks, this error accumulates—up to 31.5 pixels—causing the detector to misalign with the actual object. While negligible for large objects, this shift is devastating for small ones.
TinyDet resolves this by implementing an average pooling layer before strided convolutions to ensure spatial symmetry and maintain alignment.
Key Results on COCO Benchmark
TinyDet sets a new benchmark for efficiency and accuracy on the COCO dataset:
- TinyDet-M: Achieved 30.3 mAP at 991 MFLOPs, becoming the first detector to exceed 30 AP under 1 GFLOP.
- Small Object Precision: TinyDet-M reached 13.5 $AP_s$, more than doubling the performance of ThunderNet-SNet535 (6.5 $AP_s$).
- TinyDet-L: A larger variant achieves 35.5 mAP at 2.4 GFLOPs, outperforming heavier models like YOLOv3.
Conclusion
TinyDet demonstrates that high-resolution feature maps and precise spatial alignment are achievable within lightweight constraints. By redistributing the computational budget toward early-stage features and correcting subtle geometric errors, TinyDet provides a robust solution for "Tiny AI" applications requiring accurate small object detection.
Summary updated