[Paper Review] IoU-uniform R-CNN: Breaking Through the Limitations of RPN
This paper proposes IoU-Uniform R-CNN, a method that replaces RPN-generated training samples with artificially jittered, uniformly distributed IoU samples to alleviate training imbalance in two-stage object detectors. By directly generating diverse, uniformly distributed positive samples for both regression and IoU prediction branches, and eliminating feature offsets during inference, the method improves localization accuracy and NMS performance, achieving state-of-the-art results on PASCAL VOC and MS COCO with gains up to 2.0 AP points over baseline RPN-based training.
Region Proposal Network (RPN) is the cornerstone of two-stage object detectors, it generates a sparse set of object proposals and alleviates the extrem foregroundbackground class imbalance problem during training. However, we find that the potential of the detector has not been fully exploited due to the IoU distribution imbalance and inadequate quantity of the training samples generated by RPN. With the increasing intersection over union (IoU), the exponentially smaller numbers of positive samples would lead to the distribution skewed towards lower IoUs, which hinders the optimization of detector at high IoU levels. In this paper, to break through the limitations of RPN, we propose IoU-Uniform R-CNN, a simple but effective method that directly generates training samples with uniform IoU distribution for the regression branch as well as the IoU prediction branch. Besides, we improve the performance of IoU prediction branch by eliminating the feature offsets of RoIs at inference, which helps the NMS procedure by preserving accurately localized bounding box. Extensive experiments on the PASCAL VOC and MS COCO dataset show the effectiveness of our method, as well as its compatibility and adaptivity to many object detection architectures. The code is made publicly available at https://github.com/zl1994/IoU-Uniform-R-CNN,
Motivation & Objective
- To address the imbalance in IoU distribution and insufficient positive sample quantity in RPN-generated training samples for two-stage detectors.
- To improve detector performance at high IoU levels, where current methods underperform due to skewed sample distribution.
- To enhance the reliability of IoU prediction for non-maximum suppression (NMS) by correcting feature offset issues during inference.
- To enable better generalization and compatibility across various object detection architectures through a simple, plug-in design.
Proposed method
- Replace RPN-generated RoIs with artificially jittered bounding boxes around ground-truths to create uniformly distributed positive training samples across IoU levels.
- Train the regression and IoU prediction branches using these generated, uniformly distributed samples to balance loss composition across IoU intervals.
- Introduce a loss weighting strategy to further balance gradients across different IoU intervals during training.
- Eliminate feature offsets in RoIs during inference for the IoU prediction branch by updating features using refined bounding box coordinates.
- Apply the method to standard two-stage detectors like Faster R-CNN and Cascade R-CNN, demonstrating compatibility and adaptability.
- Use linear scaling rule adjustments and ablation studies to optimize learning rate and batch size for optimal performance.
Experimental results
Research questions
- RQ1Can replacing RPN-generated training samples with uniformly distributed IoU samples improve detector performance across all IoU levels?
- RQ2Does eliminating feature offsets in RoIs during inference improve IoU prediction accuracy and NMS effectiveness?
- RQ3How does the distribution of training samples affect the composition of regression loss and gradient updates?
- RQ4To what extent can IoU-Uniform R-CNN improve performance on standard benchmarks like PASCAL VOC and MS COCO?
- RQ5How compatible is the method with existing two-stage detection architectures?
Key findings
- IoU-Uniform R-CNN achieves 55.1 mAP on MS COCO with ResNet-50-FPN, a 2.0-point improvement over RPN-based training.
- On PASCAL VOC 2007, the method achieves 54.42 mAP with 2 images per GPU and a learning rate of 0.005, outperforming baseline settings.
- Eliminating feature offsets during inference improves performance by 2.3 points in mAP, with the largest gain observed when using generated uniform samples.
- The IoU prediction branch becomes significantly more accurate after removing feature offsets, reducing misalignment between predicted IoU and actual localization quality.
- The method shows strong compatibility and adaptability, delivering consistent gains across multiple object detection architectures.
- Ablation studies confirm that the optimal configuration uses 2 images per GPU and a learning rate of 0.005, which outperforms standard linear scaling rules due to increased training sample diversity.
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.