[Paper Review] Dynamic R-CNN: Towards High Quality Object Detection via Dynamic Training
Dynamic R-CNN proposes a dynamic training strategy that adaptively adjusts label assignment thresholds and SmoothL1 loss parameters during training to better exploit evolving proposal quality in two-stage object detectors. By dynamically tuning the IoU threshold for positive sample assignment and the β parameter in SmoothL1 loss based on proposal statistics, it achieves 1.9% higher AP and 5.5% higher AP₉₀ on MS COCO with no additional inference cost.
Although two-stage object detectors have continuously advanced the state-of-the-art performance in recent years, the training process itself is far from crystal. In this work, we first point out the inconsistency problem between the fixed network settings and the dynamic training procedure, which greatly affects the performance. For example, the fixed label assignment strategy and regression loss function cannot fit the distribution change of proposals and thus are harmful to training high quality detectors. Consequently, we propose Dynamic R-CNN to adjust the label assignment criteria (IoU threshold) and the shape of regression loss function (parameters of SmoothL1 Loss) automatically based on the statistics of proposals during training. This dynamic design makes better use of the training samples and pushes the detector to fit more high quality samples. Specifically, our method improves upon ResNet-50-FPN baseline with 1.9% AP and 5.5% AP$_{90}$ on the MS COCO dataset with no extra overhead. Codes and models are available at https://github.com/hkzhang95/DynamicRCNN.
Motivation & Objective
- To address the inconsistency between fixed training settings and the dynamic evolution of proposal quality during object detector training.
- To overcome the limitations of fixed IoU thresholds and static regression loss functions that hinder high-quality detection.
- To improve detector performance by adapting training criteria to the changing distribution of proposals over time.
- To achieve consistent gains across different backbones and detection frameworks without introducing inference overhead.
Proposed method
- Dynamic Label Assignment adjusts the IoU threshold for positive/negative sample assignment based on the current distribution of proposals, using the IoU at a given percentile as the threshold.
- Dynamic SmoothL1 Loss modifies the β parameter of the SmoothL1 loss function based on the distribution of regression labels to better fit small error gradients.
- The method uses running statistics of proposals and regression targets to update the threshold and β parameter per training epoch.
- The dynamic components are integrated into the standard Faster R-CNN pipeline without modifying network architecture or adding extra parameters.
- The approach is applied to both classification and regression branches, enabling collaborative improvement in detector quality.
- The method is compatible with various backbones and detection heads, including Mask R-CNN and Cascade R-CNN.
Experimental results
Research questions
- RQ1How does the fixed IoU threshold for label assignment affect detector performance when proposal quality evolves during training?
- RQ2Can adapting the regression loss function's shape during training improve learning for high-quality proposals?
- RQ3To what extent can dynamic training improve AP and AP₉₀ without increasing inference cost?
- RQ4Does the dynamic training strategy generalize across different backbone networks and detection frameworks?
Key findings
- Dynamic R-CNN improves the ResNet-50-FPN baseline by 1.9% AP and 5.5% AP₉₀ on MS COCO without any additional computational cost during training or inference.
- The method achieves 42.0% AP on COCO test-dev with ResNet-101-FPN, and 50.1% AP with additional techniques like multi-scale training and deformable convolutions.
- The performance gain is consistent across different backbones, including ResNet-18, ResNet-50, and ResNet-101, in both object detection and instance segmentation tasks.
- Dynamic R-CNN outperforms state-of-the-art detectors such as Cascade R-CNN, TridentNet, and DCNv2 on the COCO test-dev set.
- The method generalizes well to Mask R-CNN, improving both box AP and segmentation AP across all backbone configurations tested.
- Dynamic R-CNN is 1.5 times faster than Cascade Mask R-CNN and 1.74 times faster with a smaller ResNet-18 backbone, due to avoiding multiple detection heads.
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.