Introduction
Two-stage object detectors have long been the standard for high-performance computer vision tasks. However, achieving "high-quality" results—characterized by precise localization and robust classification—remains challenging. Current methods often suffer from imprecise localization due to global box regression and sub-optimal classification caused by uniform feature sampling. D2Det addresses these issues by introducing dense local regression and discriminative RoI pooling.
Methodology
D2Det evolves the traditional two-stage framework through two primary architectural innovations designed to refine the extraction and utilization of object features.
Dense Local Regression
Instead of predicting a single global offset for an entire object proposal, D2Det treats the Region of Interest (RoI) feature as a $k \times k$ grid. Each local feature in this grid predicts its own set of offsets to the four sides of the ground-truth box. To filter out background noise, a binary overlap mask is learned; during inference, only features with high confidence (overlap > 0.5) contribute to the final averaged bounding box. This "multi-vantage point" approach allows for much tighter boundaries on complex shapes compared to traditional "one-size-fits-all" regression.
Discriminative RoI Pooling
Standard pooling methods like RoIAlign sample points with equal weight, which can dilute feature quality if points land on non-discriminative background areas. D2Det introduces an adaptive weighting scheme. It uses a lightweight offset predictor to sample features and applies a learned weight map ($W(F)$) via a Hadamard product. This ensures the model prioritizes informative regions (e.g., an animal's head) over less useful background pixels, leading to a cleaner signal for the classifier.
Experimental Results
The model was evaluated on MS COCO, UAVDT, and iSAID datasets. On MS COCO, D2Det achieved a state-of-the-art 45.4 AP for object detection using a ResNet101 backbone, significantly outperforming baselines like Grid R-CNN (41.5) and Cascade R-CNN (42.8).
A key highlight is the improvement in high-precision localization. D2Det saw a 3.0% gain in the [email protected] metric over previous state-of-the-art models, proving its ability to produce highly accurate bounding boxes. For instance segmentation, D2Det reached 40.2 Mask AP while providing a 2x speedup over complex multi-stage architectures like Hybrid Task Cascade (HTC).
Conclusion
D2Det demonstrates that high-quality detection does not necessarily require more stages, but rather higher-quality operations within existing stages. By replacing global regression with dense local predictions and introducing adaptive feature weighting, it achieves superior precision and efficiency across diverse benchmarks, including aerial and general-purpose imagery. Future work may involve applying these discriminative mechanisms to one-stage detectors to further bridge the performance gap.
Summary updated