Faster R-CNN

The paper makes region proposal generation a learnable neural module shared with the detection network.

Metadata

FieldValue
PaperFaster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
AuthorsShaoqing Ren, Kaiming He, Ross Girshick, Jian Sun
Year2015
VenueNeurIPS 2015
arXiv1506.01497
Statusseed 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:

  1. generate candidate object regions;
  2. 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

ComponentInputOutputRole
CNN backboneimage feature map shared visual representation
Region Proposal Networkproposal boxes and objectness scoresclass-agnostic object candidate generator
RoI pooling and proposal boxesfixed-size region featuresconverts variable boxes to fixed tensors
detection headpooled region featuresclass scores and box refinementscategory 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:

  1. propose object-like regions;
  2. 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:

AxisFaster R-CNNDETR
Candidate objectsanchors and proposalslearned object queries
Assignmentproposal sampling and IoU heuristicsbipartite matching
Duplicate handlingnon-maximum suppressionset prediction loss
Inductive biaslocal CNN features plus region proposalsglobal 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.