Grid R-CNN

Xin Lu, Buyu Li, Yuxin Yue, Quanquan Li, Junjie Yan

Abstract

Grid R-CNN addresses the limitations of traditional bounding box regression in object detection by proposing a grid-guided localization mechanism. By utilizing Fully Convolutional Networks (FCNs) to predict a grid of points on an object, the model preserves spatial information and achieves superior localization accuracy. Evaluations on the COCO benchmark demonstrate significant improvements, particularly at high IoU thresholds, with a 10% AP gain at IoU=0.9 over traditional regression baselines.

Introduction

In object detection, the localization task has traditionally relied on "bounding box regression." In standard architectures like Faster R-CNN, feature maps are flattened into 1D vectors and passed through fully connected (FC) layers to predict box offsets (Δx, Δy, Δw, Δh). This approach suffers from two primary flaws: the destruction of explicit spatial structure during flattening and a lack of pixel-level guidance, as regression often acts as a "best guess" based on global features.

Comparison between traditional regression-based localization and the proposed grid-guided localization.

Methods

Grid R-CNN introduces a Grid Guided Localization mechanism that treats localization as a keypoint estimation problem rather than a regression task.

Grid Point Prediction and Architecture

The model divides the target bounding box into an $N \times N$ grid (e.g., $3 \times 3$). A Fully Convolutional Network (FCN) is employed to output probability heatmaps for each grid point. Unlike FC layers, FCNs preserve spatial information, allowing for pixel-level precision in pinpointing object boundaries.

The Grid R-CNN architecture featuring RoIAlign, FCN-based grid prediction, and the feature fusion module.

Multi-point Supervision and Feature Fusion

To handle cases where specific grid points (like corners) fall on featureless backgrounds, Grid R-CNN utilizes Multi-point Supervision. By predicting multiple points across the grid, the model gains redundant clues for localization. A Feature Fusion module further enhances this by allowing neighboring grid points to share information, enabling points in ambiguous regions to calibrate their positions based on more certain neighbors.

Extended Region Mapping

To ensure that grid points falling outside the initial proposal box are still captured, the authors implement Extended Region Mapping. The output heatmap covers an area twice as large as the input proposal, providing the FCN with a sufficient field of view to locate all grid points accurately.

Results

The framework was evaluated on the COCO and Pascal VOC benchmarks. Grid R-CNN demonstrates its primary strength in high-precision scenarios:

  • High-Accuracy Gains: On COCO, it achieved a 4.1% AP gain at IoU=0.8 and a 10.0% AP gain at IoU=0.9 compared to a Faster R-CNN baseline.
  • State-of-the-Art Performance: Utilizing a ResNeXt-101 backbone with FPN, Grid R-CNN reached 43.2 AP on COCO test-dev, outperforming many contemporary models like Mask R-CNN without requiring additional mask annotations.

Conclusion

Grid R-CNN proves that localization is inherently a spatial task best served by FCNs rather than flattened FC layers. While the grid branch and fusion module introduce some computational overhead, the significant gains in localization tightness make it a compelling "plug-and-play" module for high-precision object detection. Future work may explore integration with multi-stage detectors like Cascade R-CNN to further push accuracy limits.

Summary updated

BibTeX
@inproceedings{lu2019grid,
  author = {Xin Lu and Buyu Li and Yuxin Yue and Quanquan Li and Junjie Yan},
  title = {{Grid R-CNN}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00754},
}
Figure