Region Proposal by Guided Anchoring

Jiaqi Wang, Kai Chen, Shuo Yang, Chen Change Loy, Dahua Lin

Abstract

Traditional object detection frameworks rely on dense, uniform anchor boxes, which are often computationally inefficient and spatially rigid. This paper presents Guided Anchoring, a functional module that leverages semantic features to predict both the likely locations and optimal shapes of objects. By factorizing the anchor distribution and employing a feature adaptation module, the proposed method achieves 9.1% higher recall on the MS COCO benchmark while using 90% fewer anchors than standard Region Proposal Networks (RPN).

Introduction

Most modern object detectors, such as Faster R-CNN and RetinaNet, utilize a dense anchoring scheme, tiling the image with thousands of predefined anchor boxes at every pixel. This approach suffers from two primary flaws: inefficiency and rigidity. Most anchors land on background regions, creating a massive class imbalance, and the fixed scales and aspect ratios often fail to match the diverse shapes of real-world objects. Guided Anchoring addresses these challenges by allowing the neural network to dynamically decide anchor placement and dimensions based on image content.

Methods

The Guided Anchoring module can be integrated into existing detectors and consists of three core components:

  1. Anchor Location Prediction: A sub-network predicts a probability heatmap of object centers. This allows the system to "mask out" background regions, effectively ignoring 90% of the image and focusing computation on promising areas.
  2. Anchor Shape Prediction: At each identified location, the network predicts the most likely width ($w$) and height ($h$). An exponential transformation is used to stabilize the learning of these varying dimensions.
  3. Feature Adaptation Module: Standard CNNs assume a fixed receptive field for each feature pixel. Guided Anchoring breaks this assumption by using Deformable Convolutions to dynamically reshape the network's receptive field to match the predicted anchor shape, ensuring feature consistency.
The Guided Anchoring architecture, illustrating the anchor generation process (location and shape prediction) and the subsequent feature adaptation stage.

Key Insights

The core mathematical innovation lies in treating the anchor distribution as a conditional probability: $p(location, shape) = p(location) \times p(shape | location)$. By first finding the "where" and then determining the "what shape," the model generates high-quality proposals. These superior proposals allow for training detectors with higher Intersection-over-Union (IoU) thresholds, leading to more precise final bounding boxes.

Results and Evaluation

The researchers evaluated Guided Anchoring on the MS COCO 2017 benchmark. The method demonstrated consistent "plug-and-play" gains across several established models:

  • Faster R-CNN: +2.7% mAP
  • Fast R-CNN: +2.2% mAP
  • RetinaNet: +1.2% mAP

Beyond mAP gains, the quality of the proposals is significantly higher. As shown in the figure below, GA-RPN generates a much larger volume of high-IoU proposals compared to the standard RPN baseline, even with a drastically reduced anchor count.

Comparison of proposal quality between standard RPN and GA-RPN. The chart shows that GA-RPN produces significantly more proposals at higher IoU thresholds.

Conclusion

Guided Anchoring offers a more efficient and flexible alternative to traditional dense anchoring. While the architecture introduces additional complexity through deformable convolutions and requires specific hyperparameter tuning for optimal results, its ability to significantly boost recall and precision with fewer anchors represents a meaningful advancement in object detection. Future work may extend this guided philosophy to tasks such as instance segmentation and 3D object detection.

Summary updated

BibTeX
@inproceedings{wang2019region,
  author = {Jiaqi Wang and Kai Chen and Shuo Yang and Chen Change Loy and Dahua Lin},
  title = {{Region Proposal by Guided Anchoring}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00308},
}
Figure