Skip to main content
QUICK REVIEW

[Paper Review] RTMDet: An Empirical Study of Designing Real-Time Object Detectors

Chengqi Lyu, Wenwei Zhang|arXiv (Cornell University)|Dec 14, 2022
Advanced Neural Network ApplicationsComputer Science304 citations
TL;DR

RTMDet presents a real-time one-stage detector using large-kernel depth-wise blocks and soft-label dynamic assignment, achieving 52.8% AP on COCO at 300+ FPS and supporting instance segmentation and rotated object detection with minimal modifications.

ABSTRACT

In this paper, we aim to design an efficient real-time object detector that exceeds the YOLO series and is easily extensible for many object recognition tasks such as instance segmentation and rotated object detection. To obtain a more efficient model architecture, we explore an architecture that has compatible capacities in the backbone and neck, constructed by a basic building block that consists of large-kernel depth-wise convolutions. We further introduce soft labels when calculating matching costs in the dynamic label assignment to improve accuracy. Together with better training techniques, the resulting object detector, named RTMDet, achieves 52.8% AP on COCO with 300+ FPS on an NVIDIA 3090 GPU, outperforming the current mainstream industrial detectors. RTMDet achieves the best parameter-accuracy trade-off with tiny/small/medium/large/extra-large model sizes for various application scenarios, and obtains new state-of-the-art performance on real-time instance segmentation and rotated object detection. We hope the experimental results can provide new insights into designing versatile real-time object detectors for many object recognition tasks. Code and models are released at https://github.com/open-mmlab/mmdetection/tree/3.x/configs/rtmdet.

Motivation & Objective

  • Investigate architectures that maximize real-time detection accuracy and speed, surpassing YOLO-series baselines.
  • Explore a backbone/neck design using large-kernel depth-wise convolutions for better global context.
  • Improve training stability and accuracy via soft-label dynamic label assignment and improved data augmentations.
  • Demonstrate extensibility to instance segmentation and rotated object detection with minimal architectural changes.

Proposed method

  • Introduce a backbone/neck built from a building block with 5x5 depth-wise convolutions to enlarge receptive field.
  • Reduce model depth by fewer blocks and compensate with wider blocks to maintain capacity and speed.
  • Balance backbone and neck capacities by increasing the neck expansion ratio to match backbone capabilities.
  • Share detection heads across scales with scale-specific BN layers to reduce parameters.
  • Adopt a dynamic soft-label assignment (SimOTA-based) with a cost function C = λ1C_cls + λ2C_reg + λ3C_center, and use soft labels in C_cls.
  • Replace regression cost with -log(IoU) and use log(IoU) for discriminative matching; employ soft center region costs.
  • Use Cached Mosaic and MixUp to accelerate training; implement a two-stage training schedule with strong then weaker augmentations; adopt AdamW optimizer.
  • Extend to instance segmentation with a kernel/mask head (RTMDet-Ins) and to rotated detection by adding an angle branch and rotated box decoding (RTMDet-R).

Experimental results

Research questions

  • RQ1How can large-kernel depth-wise blocks in backbone/neck improve real-time detection performance without sacrificing speed?
  • RQ2Does soft-label dynamic assignment improve matching quality and overall accuracy in real-time detectors?
  • RQ3What training strategies (augmentations, optimizers, schedules) maximize accuracy for real-time detectors?
  • RQ4Can RTMDet provide competitive instance segmentation and rotated object detection with minimal architectural changes?

Key findings

  • RTMDet achieves 52.8% AP on COCO with 300+ FPS on an NVIDIA 3090, outperforming current mainstream industrial detectors.
  • RTMDet-tiny achieves 41.1% AP at 1020 FPS with 4.8M parameters; RTMDet-s achieves 44.6% AP at 819 FPS.
  • RTMDet-m and RTMDet-l achieve 49.4% and higher AP with scalable model sizes, balancing parameter/accuracy trade-offs.
  • RTMDet-Ins-x achieves 44.6% mask AP on COCO val2017 while remaining real-time; RTMDet-R-tiny/RTMDet-R-m/RTMDet-R-l achieve strong rotated object detection on DOTA v1.0, with RTMDet-R-l COCO-pretrained achieving 81.33% mAP on DOTA-v1.0.
  • Extensibility: instance segmentation adds around 10% parameters; rotated detection requires minimal box regression adjustments and Rotated IoU loss.
  • Soft-label dynamic assignment improves matching discrimination and training stability, boosting accuracy compared to hard-label assignments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.