Abstract
Object detection has been vigorously investigated for years but fast accurate detection for real-world scenes remains a very challenging problem. Overcoming drawbacks of single-stage detectors, we take aim at precisely detecting objects for static and temporal scenes in real time. Firstly, as a dual refinement mechanism, a novel anchor-offset detection is designed, which includes an anchor refinement, a feature location refinement, and a deformable detection head. This new detection mode is able to simultaneously perform two-step regression and capture accurate object features. Based on the anchor-offset detection, a dual refinement network (DRNet) is developed for high-performance static detection, where a multi-deformable head is further designed to leverage contextual information for describing objects. As for temporal detection in videos, temporal refinement networks (TRNet) and temporal dual refinement networks (TDRNet) are developed by propagating the refinement information across time. We also propose a soft refinement strategy to temporally match object motion with the previous refinement. Our proposed methods are evaluated on PASCAL VOC, COCO, and ImageNet VID datasets. Extensive comparisons on static and temporal detection verify the superiority of DRNet, TRNet, and TDRNet. Consequently, our developed approaches run in a fairly fast speed, and in the meantime achieve a significantly enhanced detection accuracy, i.e., 84.4% mAP on VOC 2007, 83.6% mAP on VOC 2012, 69.4% mAP on VID 2017, and 42.4% AP on COCO. Ultimately, producing encouraging results, our methods are applied to online underwater object detection and grasping with an autonomous system.
Introduction
Object detection is a cornerstone of computer vision, yet achieving high accuracy in real-time remains difficult. Traditional two-stage detectors achieve high precision through region proposals and subsequent refinement but are computationally heavy. Conversely, single-stage detectors prioritize speed by using a fixed grid of anchors, often at the cost of localization accuracy due to the misalignment between these fixed anchors and the actual objects. This paper introduces a dual refinement mechanism to bridge this gap, enabling single-stage detectors to achieve two-stage-level accuracy without sacrificing real-time performance.
The Core Innovation: Anchor-Offset Detection
The primary contribution is the Anchor-Offset Detection mode. Unlike standard single-stage models that only regress box coordinates, this approach refines both the anchor boxes and the sampling locations of the features themselves.
- Anchor Refinement: An Anchor Refinement Module (ARM) coarsely adjusts initial anchors to better match object shapes.
- Feature Location Refinement: The offsets generated by the ARM are used to calculate corresponding feature offsets.
- Deformable Detection Head: Instead of standard convolutions, the model employs Deformable Convolutions. These use the calculated offsets to shift the sampling grid, ensuring the network "looks" at the exact pixels where the refined anchor has moved.
DRNet: Architecture for Static Images
Building on this mechanism, the authors propose DRNet for static image detection. The architecture consists of the ARM and an Object Detection Module (ODM), connected by Transfer Blocks.
The ODM utilizes a multi-deformable head designed to leverage contextual information. By using different receptive fields, the model captures both fine-grained details and broader context, improving its ability to describe complex objects.
Temporal Refinement for Video
For video object detection (VOD), the authors extend the framework into TRNet and TDRNet. These models propagate refinement information across time to maintain high speed. A "Reference Generator" computes offsets for keyframes, which are then "softly" propagated to subsequent frames using a soft refinement strategy. This strategy accounts for object motion between frames by gradually loosening the refined anchors, preventing the model from being overly constrained by outdated spatial information.
Experimental Results
The proposed methods were evaluated on several standard benchmarks, demonstrating a superior balance of speed and accuracy:
- PASCAL VOC: DRNet achieved 84.4% mAP on VOC 2007 and 83.6% mAP on VOC 2012.
- MS COCO: The model reached 42.4% AP, demonstrating strong performance on complex scenes and small objects.
- ImageNet VID: For video detection, TDRNet achieved 69.4% mAP.
Crucially, these gains do not come at the expense of speed. DRNet320 operates at 55.2 FPS, while the mobile-optimized TDRNet can exceed 70 FPS, making it suitable for real-time applications.
Real-World Application: Underwater Robotics
The robustness of the system was demonstrated through its deployment on an autonomous underwater vehicle (AUV). In the challenging, murky environments of underwater scenes, the system successfully detected and enabled the grasping of sea cucumbers and urchins in real-time, proving its practical utility in unstructured environments.
Conclusion
By addressing the fundamental misalignment between anchors and features in single-stage detectors, this work provides a path toward highly accurate, real-time object detection. The dual refinement mechanism effectively combines the strengths of one-stage and two-stage architectures, proving effective for both static images and temporal video sequences.
Summary updated