Faster R-CNN
The paper makes region proposal generation a learnable neural module shared with the detection network.
Metadata
| Field | Value |
|---|---|
| Paper | Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks |
| Authors | Shaoqing Ren, Kaiming He, Ross Girshick, Jian Sun |
| Year | 2015 |
| Venue | NeurIPS 2015 |
| arXiv | 1506.01497 |
| Status | seed note started |
One-Line Takeaway
Faster R-CNN turns external region proposal search into a Region Proposal Network, so object proposals and object classification share convolutional image features in one trainable detector.
Question
Earlier R-CNN-style detectors separated two steps:
- generate candidate object regions;
- classify and refine each region.
The proposal step was expensive and not fully integrated with the CNN detector. Faster R-CNN asks:
Can object proposals be produced by a neural network that shares the same image features used for detection?
The answer is the Region Proposal Network:
Architecture Contract
| Component | Input | Output | Role |
|---|---|---|---|
| CNN backbone | image | feature map | shared visual representation |
| Region Proposal Network | proposal boxes and objectness scores | class-agnostic object candidate generator | |
| RoI pooling | and proposal boxes | fixed-size region features | converts variable boxes to fixed tensors |
| detection head | pooled region features | class scores and box refinements | category prediction and localization |
The key architectural move:
Region Proposal Network
At each spatial location of the feature map, the RPN evaluates a small set of anchor boxes:
where index the feature location and indexes anchor scale/aspect ratio.
For each anchor, the RPN predicts:
and box offsets:
A proposal is produced by applying the predicted offsets to the anchor:
The RPN is fully convolutional: it slides over the feature map rather than evaluating each candidate region independently.
Detection Head
The detector receives proposals from the RPN:
Each region is pooled to a fixed-size tensor:
Then the head predicts a class distribution and box refinement:
This makes the model a two-stage detector:
- propose object-like regions;
- classify and refine those regions.
Multi-Task Loss
The RPN uses objectness and box regression losses:
The detector head uses class and box losses:
The foreground indicator prevents background regions from contributing to box regression.
Why It Matters
Faster R-CNN is not just a better detector. It defines a reusable detection architecture pattern:
That pattern underlies later instance segmentation and keypoint models, especially Mask R-CNN.
For modern reading, it is useful because it contrasts sharply with DETR:
| Axis | Faster R-CNN | DETR |
|---|---|---|
| Candidate objects | anchors and proposals | learned object queries |
| Assignment | proposal sampling and IoU heuristics | bipartite matching |
| Duplicate handling | non-maximum suppression | set prediction loss |
| Inductive bias | local CNN features plus region proposals | global Transformer interaction |
What To Watch
- Proposal quality and detection quality are coupled but not identical.
- Anchor design changes the search space and can affect small-object recall.
- Non-maximum suppression is still a post-processing dependency.
- Speed claims depend on backbone, proposal count, image size, and hardware.
- The architecture is strong for object-level localization but not designed for dense masks by itself.