Dual Refinement Network for Single-Shot Object Detection

Xingyu Chen, Xiyuan Yang, Shihan Kong, Zhengxing Wu, Junzhi Yu

TL;DR

The Dual Refinement Network (DRNet) bridges the gap between the speed of single-stage object detectors and the precision of two-stage systems. By introducing a novel "anchor-offset" mechanism that simultaneously refines anchor boxes and their corresponding feature sampling locations, the authors achieve state-of-the-art accuracy (84.4% mAP on VOC 2007) while maintaining real-time performance.

What Problem Does This Paper Address?

In the world of object detection, there has long been a trade-off: Two-stage detectors (like Faster R-CNN) are highly accurate because they use a Region Proposal Network to "guess" where objects are and then refine those guesses with dedicated sub-networks. However, they are slow. Single-stage detectors (like SSD or YOLO) are blazing fast because they skip the proposal step, but they often struggle with accuracy.

The authors identify a specific "feature-anchor misalignment" flaw in single-stage designs. Even when these models try to refine their initial anchor boxes, the features used for classification remain tied to the original, inaccurate grid. This means the model is trying to classify an object using pixels that might not even contain the object anymore. DRNet aims to fix this by ensuring that as the anchor box moves, the "eyes" of the neural network move with it.

Methods

The paper introduces three primary architectures: DRNet for static images, and TRNet/TDRNet for video.

1. Anchor-Offset Detection

This is the core innovation. It consists of three parts:

  • Anchor Refinement Module (ARM): Performs a coarse initial regression to adjust pre-defined anchors closer to the actual object.
  • Feature Location Refinement: This novel step predicts "offsets" for feature sampling. Instead of looking at a fixed grid, the network calculates exactly where the most informative pixels are based on the refined anchor.
  • Deformable Detection Head: Uses the calculated offsets to sample features more accurately, effectively "warping" the convolution to match the object's shape and position.

2. Multi-Deformable Head

To capture better context, the authors use multiple detection paths with different receptive field sizes. This allows the model to "see" both the fine details of a small object and the surrounding environment of a large one.

3. Temporal Refinement (TRNet & TDRNet)

For video, running the full refinement on every frame is computationally expensive. The authors propose propagating refinement information across time. A "keyframe" generates the refined anchors and offsets, which are then reused for subsequent frames. To handle object motion between frames, they introduce a Soft Refinement Strategy, which uses a coefficient ($e$) to "loosen" the anchors, allowing them to better capture moving targets without re-calculating everything from scratch.

Datasets

The models were evaluated on the industry-standard benchmarks:

  • PASCAL VOC 2007 & 2012: Classic datasets for general object detection.
  • MS COCO: A more challenging dataset with many small objects and complex backgrounds.
  • ImageNet VID: Specifically for video object detection.
  • Underwater Dataset: The authors also applied their work to a real-world autonomous underwater vehicle (AUV) task for detecting and grasping sea creatures (sea cucumbers, urchins, etc.).

Key Insights and Ideas

  • The Misalignment Fix: The "aha moment" is realizing that refining the bounding box isn't enough; you must also refine where the network samples its features. If the box moves but the feature sampling stays put, the classifier gets "garbage" input.
  • Bridging the Paradigm: DRNet essentially mimics the benefits of a two-stage detector (proposal + refinement) within a single-stage, fully convolutional pipeline.
  • Efficiency through Propagation: In video, motion is often incremental. By "softening" and reusing refinement data from previous frames, the model maintains high accuracy while significantly reducing the per-frame computational load.

Key Results

  • Accuracy: DRNet achieved 84.4% mAP on VOC 2007 and 42.4% AP on COCO, outperforming many contemporary single-stage and two-stage detectors.
  • Speed: Despite the extra refinement steps, DRNet320 runs at 55.2 FPS on a Titan X GPU, making it well-suited for real-time applications.
  • Video Performance: TDRNet achieved 67.3% mAP on the ImageNet VID dataset, showing that temporal propagation of refinement is a viable strategy for fast video detection.
  • Real-world Utility: The system was successfully deployed on an underwater robot, proving its robustness in low-visibility, unstructured environments.

Limitations and Future Work

The authors note that while localization precision is much improved, there is still room for growth in reducing confusion between similar categories (e.g., distinguishing between different types of furniture) and reducing false positives caused by complex backgrounds.

Future work will likely involve incorporating attention mechanisms into the anchor-offset detection process to help the network focus even more precisely on the most relevant parts of an object. They also suggest that moving toward a truly end-to-end detector (removing the need for Non-Maximum Suppression) is a promising next step.

Summary updated

BibTeX
@inproceedings{chen2019dual,
  author = {Xingyu Chen and Xiyuan Yang and Shihan Kong and Zhengxing Wu and Junzhi Yu},
  title = {{Dual Refinement Network for Single-Shot Object Detection}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra.2019.8793816},
}
Figure