[Paper Review] Learning Region Features for Object Detection
This paper proposes a fully end-to-end learnable region feature extraction method for object detection, replacing heuristic RoI pooling with a learnable attention-based weighting mechanism that adaptively fuses geometric and appearance cues. The method achieves state-of-the-art mAP of 39.9 on COCO test-dev with ResNet-101 and FPN, outperforming deformable RoI pooling while moving toward fully differentiable object detection pipelines.
While most steps in the modern object detection methods are learnable, the region feature extraction step remains largely hand-crafted, featured by RoI pooling methods. This work proposes a general viewpoint that unifies existing region feature extraction methods and a novel method that is end-to-end learnable. The proposed method removes most heuristic choices and outperforms its RoI pooling counterparts. It moves further towards fully learnable object detection.
Motivation & Objective
- To address the persistent reliance on hand-crafted region feature extraction in modern object detectors, particularly the non-differentiable and heuristic nature of RoI pooling.
- To unify existing region feature extraction methods under a general mathematical formulation based on weighted summation of image features over a support region.
- To develop a fully learnable module that jointly models geometric and appearance-based attention for region feature generation, eliminating fixed grid and interpolation rules.
- To demonstrate that end-to-end learning of spatial weights leads to improved detection accuracy and better alignment with object masks.
Proposed method
- Formulates region feature extraction as a weighted sum of image features across a support region, where weights are learned via a differentiable attention mechanism.
- Introduces a learnable weight function $ w_k(b,p,\mathbf{x}) $ that depends on both the RoI location $ b $, image feature $ \mathbf{x} $, and spatial position $ p $.
- Models geometric attention using a learnable network that encodes spatial relationships between RoI and image positions, inspired by [13,12].
- Incorporates appearance-based attention via a 1x1 convolution over input feature maps, following the design in [7] for deformable RoI pooling.
- Uses a sparse sampling strategy to reduce computational cost while preserving accuracy, enabling practical deployment.
- Employs normalization constraints to ensure weights sum to one, treating them as probability distributions over spatial positions.
Experimental results
Research questions
- RQ1Can region feature extraction be fully end-to-end differentiable by replacing heuristic RoI pooling with a learnable attention mechanism?
- RQ2Does learning spatial weights from data improve detection performance compared to fixed grid-based pooling?
- RQ3To what extent do the learned weights align with the actual object foreground, suggesting implicit instance segmentation capability?
- RQ4Can the proposed method generalize across different backbone networks and detection frameworks (e.g., Faster R-CNN, FPN)?
Key findings
- The proposed method achieves a mAP of 39.9 on COCO test-dev using ResNet-101 and FPN, surpassing deformable RoI pooling (39.9 vs. 40.0) and setting a new SOTA.
- On Faster R-CNN with ResNet-50, the method improves mAP from 37.7 (deformable RoI pooling) to 37.8, demonstrating consistent gains.
- Qualitative analysis shows that after training, the weights concentrate on the object foreground, with distinct spatial attention patterns across different parts.
- Quantitative analysis confirms that KL divergence between part weights increases during training, indicating that parts learn to focus on different spatial regions.
- The aggregated weight map (max-pooled over parts) shows strong alignment with ground-truth object masks, as evidenced by rapidly decreasing KL divergence during training.
- The method achieves state-of-the-art performance with only a minor drop in accuracy when using a sparse sampling implementation, making it computationally viable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.