Introduction
Real-time object detection has long been dominated by the YOLO (You Only Look Once) family of models. However, these detectors often face challenges when extending to complex tasks such as instance segmentation or rotated object detection, which are vital for applications like aerial imagery. Furthermore, many state-of-the-art real-time improvements rely on complex re-parameterization techniques that can complicate deployment and quantization.
RTMDet is introduced as a versatile and high-performance family of detectors designed to address these limitations. By optimizing the balance between the backbone and the neck, utilizing large-kernel convolutions, and implementing a novel soft label assignment strategy, RTMDet achieves state-of-the-art performance across various model sizes and tasks without relying on difficult-to-deploy structural tricks.
Methodology
The design of RTMDet centers on architectural efficiency and training stability. Unlike traditional detectors that favor a "heavy backbone, light neck" configuration, RTMDet adopts a balanced approach to maximize throughput.
Architecture Balancing and Large Kernels
The authors increased the width and reduced the depth of the neck to match the capacity of the backbone, optimizing the speed-accuracy trade-off. To expand the effective receptive field without the computational overhead of transformers or non-local blocks, RTMDet incorporates 5x5 depth-wise convolutions within its basic building blocks. This allows the model to capture broader global context effectively while remaining efficient.
Dynamic Soft Label Assignment
RTMDet improves upon the SimOTA strategy by introducing "soft" targets. Instead of binary assignments (yes/no matches), the model uses a cost matrix based on soft Intersection over Union (IoU) values. This approach reduces training noise and helps the model prioritize high-quality matches, leading to more stable convergence and better final accuracy.
Optimization and Augmentation
To mitigate I/O bottlenecks during training caused by heavy data augmentations like Mosaic and MixUp, a "Cached Augmentation" mechanism was implemented, reducing image loading times by up to 3.6x. The training process follows a two-stage regime: 280 epochs of strong augmentation followed by a final 20-epoch "weak" augmentation stage to fine-tune the model on more realistic data distributions.
Key Results
RTMDet was evaluated on industry-standard benchmarks including COCO for general detection and segmentation, and DOTA for rotated detection. The results demonstrate a significant leap in efficiency and accuracy compared to the YOLO series.
Object Detection and Segmentation
The largest variant, RTMDet-x, achieves 52.8% AP on the COCO dataset at over 300 FPS on an NVIDIA 3090. Even at the smaller end of the spectrum, RTMDet-tiny reaches 41.1% AP at over 1000 FPS, significantly outperforming similarly sized YOLOv5 and YOLOX models. For instance segmentation, RTMDet-Ins provides a roughly 3% AP improvement over YOLOv5-seg while maintaining real-time inference speeds.
Rotated Object Detection
On the DOTA v1.0 benchmark for aerial imagery, RTMDet-R achieved 81.33% mAP. This result surpasses previous state-of-the-art methods while utilizing a simpler, more deployable architecture that does not require specialized re-parameterization.
Discussion and Conclusion
The empirical study behind RTMDet highlights that the "neck" of a detector is as critical as its backbone. By matching their capacities and avoiding complex structural re-parameterization, RTMDet remains highly compatible with standard inference engines like TensorRT.
While highly optimized for GPUs, future research may explore RTMDet's performance on specialized edge AI hardware (NPUs/DSPs) and the potential of even larger kernels or lightweight attention mechanisms. The success of soft label assignment also suggests that further refinements could improve performance in extremely crowded scenes.
Summary updated