Region Proposal by Guided Anchoring

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

Abstract

Traditional object detection relies on dense, uniform anchor grids, leading to computational inefficiency and a dependency on manual heuristics. We present Guided Anchoring, a novel approach that leverages semantic features to predict both the likely locations and shapes of objects. By factorizing anchor generation, this method achieves a 9.1% higher recall on the MS COCO benchmark while utilizing 90% fewer anchors than traditional Region Proposal Networks (RPN).

Introduction

Modern object detectors, such as Faster R-CNN and RetinaNet, typically employ a "sliding window" anchoring scheme. This involves tiling thousands of predefined anchors across an image, which are then refined by the network. This paradigm suffers from two primary drawbacks:

  1. Computational Inefficiency: A vast majority of anchors cover background regions, leading to wasted computation on false candidates.
  2. Heuristic Dependency: Anchor parameters (scales and aspect ratios) must be manually tuned for specific datasets, often failing to capture extreme object geometries (e.g., very thin or wide objects).

Guided Anchoring addresses these issues by allowing the network to dynamically predict anchor placement and geometry based on image content, moving away from the "spray and pray" approach of rigid grids.

Proposed Method: Guided Anchoring

The core of Guided Anchoring is the factorization of the anchor distribution into two conditional steps: location prediction and shape prediction.

The Guided Anchoring framework architecture, illustrating the anchor generation and feature adaptation modules.

Anchor Location and Shape Prediction

The system utilizes a sub-network to generate a probability map for object centers. To maintain efficiency, masked convolutions are employed, restricting calculations to "active" regions where the probability exceeds a set threshold. Simultaneously, the network predicts the optimal width and height for anchors at each potential location. To ensure stable learning, these predictions use a bounded log-space transformation.

Feature Adaptation Module

A significant challenge in dynamic anchoring is the misalignment between varying anchor shapes and fixed feature map pixels. In standard RPNs, every pixel represents a fixed square; in Guided Anchoring, anchors vary. To ensure consistency, a Feature Adaptation Module utilizing 3x3 Deformable Convolutions is introduced. This module adjusts the receptive field based on predicted anchor shapes, ensuring that the features the network "sees" are spatially aligned with the anchor's actual geometry.

Experimental Results

The proposed method was evaluated on the MS COCO 2017 dataset, the gold standard for object detection benchmarks. Guided Anchoring demonstrated substantial improvements across multiple architectures.

Recall and Accuracy

On MS COCO, Guided Anchoring achieved a 9.1% improvement in Average Recall (AR) compared to standard RPN, despite using only 1/10th the number of anchors. When integrated into full detection pipelines, it provided significant boosts in mean Average Precision (mAP):

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

Proposal Quality

One of the key advantages of Guided Anchoring is the generation of high-quality proposals. Because the initial boxes are more accurate, subsequent stages of the detector can be trained with higher Intersection over Union (IoU) thresholds, leading to superior final localization.

Comparison of proposal quality (IoU) between RPN and GA-RPN, showing a higher density of high-IoU proposals for the guided approach.

Conclusion

Guided Anchoring represents a shift towards more efficient and semantically-aware object detection. By replacing rigid grids with learned distributions, it improves both recall and localization accuracy. While the addition of shape prediction and deformable convolutions introduces a slight increase in inference complexity (e.g., 0.13s vs 0.09s for a ResNet-50 backbone), the gains in detection quality and the massive reduction in anchor redundancy provide a compelling trade-off for high-performance computer vision systems.

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