Paper commentary
R-FCN: Object Detection via Region-based Fully Convolutional Networks
R-FCN detects objects with shared convolutional layers and position-sensitive score maps
- Problem Naive fully convolutional detectors lose accuracy, since classification favors translation invariance while detection needs translation variance.
- Method R-FCN adds position-sensitive score maps, so each RoI bin pools just one of them. Every learnable layer stays convolutional and runs once on the whole image.
- Results R-FCN with ResNet-101 reached 83.6% mAP on PASCAL VOC 2007 and ran 2.5 to 20 times faster than Faster R-CNN.
Why a classifier backbone breaks down for detection
Two-stage detectors such as Fast R-CNN and Faster R-CNN split the network into a shared convolutional part and a part that runs on each region. That split grew out of classifiers such as AlexNet and VGG, which end in a spatial pooling layer followed by fc layers, so the pooling layer could be swapped for RoI pooling. Newer classifiers such as ResNets are fully convolutional, so it seems natural to share every layer and leave the region part with no hidden layer.
The authors found that this naive design detects considerably worse than its classification accuracy would suggest. The ResNet paper's workaround places RoI pooling between two groups of convolutional layers, which gives the region part depth and accuracy but makes every region pay for those layers. The authors frame the cause as a conflict between translation invariance for classification and translation variance for detection.
Classification should ignore where an object sits, but a detector needs features whose response changes with position so it can judge how well a candidate box overlaps the object. The authors hypothesize that deeper classifier layers are less sensitive to translation, which is why pooling inside the network became the compromise. That compromise costs training and testing speed, since it adds many region-wise layers.
Position-sensitive score maps and selective pooling
The fix is to make the last convolutional layer output a grid of maps, each tied to one relative position inside an object. All learnable layers stay convolutional and run on the whole image, while the position information comes from which map each bin reads. Because the reading step has no weights, the spatial structure is kept without adding a region-specific network.
For C object categories plus background, the last convolutional layer outputs k²(C+1) maps, so with k×k=3×3 each category has nine maps for positions such as top-left, top-center and bottom-right. The RoI layer then reads each bin from only one of those maps, and this selective step is what makes the maps specialize.
Each RoI is split into k×k bins on a regular grid, and bin (i, j) pools only the (i, j)-th map for category c. The pooled response is the average of that map over the bin, written as follows. \[ r_c(i,j \mid \Theta)=\frac{1}{n}\sum_{(x,y)\in \mathrm{bin}(i,j)} z_{i,j,c}(x+x_0,\ y+y_0 \mid \Theta) \]
The k² bin responses are averaged into a (C+1)-dimensional vector, and a softmax across categories turns it into scores. \[ s_c(\Theta)=\frac{e^{r_c(\Theta)}}{\sum_{c'=0}^{C} e^{r_{c'}(\Theta)}} \] These scores drive the cross-entropy loss during training and rank the RoIs at inference. Box regression works the same way on a sibling 4k²-channel layer and gives a 4-d offset vector after averaging.
How one forward pass and training step run
The backbone is ResNet-101 with its average pooling and fc layer removed, so only its convolutional layers compute feature maps. A new 1×1 convolution reduces the 2048-d output to 1024-d before the score-map layers, and the backbone starts from ImageNet pre-training. The conv5 stage uses the à trous trick so the effective stride is 16 rather than 32, which gives finer score maps.
The same shared features feed an RPN that proposes RoIs, and R-FCN then scores those proposals. Because the region head adds little compute, most of the cost stays in the single pass over the whole image.
Each RoI carries a classification loss and a box regression loss, and the regression term applies only to positives, meaning RoIs with IoU at least 0.5 against a ground-truth box. The loss is written as follows, with the classification term defined as a negative log. \[ L(s, t_{x,y,w,h}) = L_{cls}(s_{c^*}) + \lambda[c^*>0]\,L_{reg}(t,t^*) \] \[ L_{cls}(s_{c^*}) = -\log(s_{c^*}) \] The authors set λ to 1, and c* equal to 0 marks background.
Since the per-RoI work is small, all N proposals can be scored in the forward pass, and they are then sorted by loss. Backpropagation uses only the B highest-loss RoIs, with B set to 128 per GPU across 8 GPUs. The authors note that OHEM on Fast R-CNN may double training time, while R-FCN's forward time barely changes as N grows.
On VOC the authors fine-tune with a learning rate of 0.001 for 20k mini-batches, then 0.0001 for 10k, and alternate RPN and R-FCN training in four steps. At inference they keep 300 RoIs and apply non-maximum suppression at a 0.3 IoU threshold.
Does position sensitivity carry the accuracy?
The authors first tested the naive design, Faster R-CNN with RoI pooling after conv5, which reached 68.9% mAP at 7×7 output. With 1×1 output it fell to 61.7%, still well below the standard Faster R-CNN with RoI pooling between conv4 and conv5, which scored 76.4%.
The authors read this gap as evidence that spatial information has to be kept inside the network, not only at the final pooling step. A class-specific RPN, whose proposal classifier covers 21 classes, reached 67.6%, about 9 points below the standard Faster R-CNN. The authors connect this to Fast R-CNN run with dense sliding windows as proposals, a setup that earlier work also found weaker.
Setting k=1 removes position sensitivity, and in the authors' runs R-FCN then failed to converge. That 76.6% is level with the standard Faster R-CNN's 76.4%, while no learnable layer follows the RoI pooling, which the authors read as position-sensitive scoring carrying the spatial information.
The à trous comparison is a separate accuracy test, run with k×k=7×7 and no hard example mining. Using conv5 at stride 32 gave 74.0 mAP on VOC 07 test, while the à trous version at stride 16 gave 76.6, a gain of 2.6 points. So the resolution of the score maps matters for accuracy, not only for speed.
Where the speed comes from
With 300 RoIs on one K40 GPU, Faster R-CNN takes 0.42 s per image while R-FCN takes 0.17 s. The difference sits in the per-region head, since Faster R-CNN runs a 10-layer subnetwork for each region and R-FCN has none beyond pooling. R-FCN also trains faster, at 0.45 s per image against 1.2 s for Faster R-CNN.
Mining from 2000 RoIs costs Faster R-CNN 2.9 s per image, while R-FCN takes 0.46 s, which the authors describe as about 6× slower for Faster R-CNN. So the authors keep 300 RoIs for the rest of the paper.
These timings are on one K40, and the authors quote 0.11 s per image for R-FCN on a Titan X.
PASCAL VOC and MS COCO results
The authors also state that R-FCN runs about 20 times faster than that system.
So depth helps up to ResNet-101 and then levels off.
On COCO val, the single-scale trained R-FCN scored 48.9%/27.6% (AP@0.5/AP), compared to 48.4%/27.2% for Faster R-CNN, and it tests about 2.5× faster. Multi-scale training gave 49.1%/27.8% on val, and the single-scale trained model reached 51.5%/29.2% on test-dev.
Testing at scales of 200, 400, 600, 800 and 1000 lifted test-dev to 53.2%/31.5%, compared to 55.7%/34.9% for Faster R-CNN +++. This multi-scale test takes 1.00 s per image, so it gives back some of the speed advantage for accuracy. The authors argue the system stays simpler and faster in training and testing, since it adds no context or iterative box regression.
Limits of the evidence
The main evidence comes from ResNet-101 on PASCAL VOC and MS COCO, and ResNet-50 and ResNet-152 appear only in the depth comparison. The best VOC number also depends on COCO pretraining before VOC fine-tuning.
The speed figures come from K40 timing at 300 RoIs, and the Titan X figure is quoted once. The position-sensitivity ablations cover only k=1, 3 and 7, and the k=1 runs failed to converge.
The authors deliberately left out further extensions of FCNs and region-based methods. The à trous ablation uses 7×7 output and no hard example mining.
Paper info
- Authors
- Jifeng Dai, Yi Li, Kaiming He, Jian Sun
- Venue
- arXiv · Preprint
- First published
- 2016-5-20
- Added
- 2026-11-11
- Updated
- 2023-12-11
- Version
- v3
- arXiv
- 1605.06409
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Jifeng Dai, Yi Li, Kaiming He, Jian Sun (2016). R-FCN: Object Detection via Region-based Fully Convolutional Networks. arXiv:1605.06409v3. https://arxiv.org/abs/1605.06409v3
BibTeX
@misc{dai2016object,
title = {{R-FCN: Object Detection via Region-based Fully Convolutional Networks}},
author = {Jifeng Dai and Yi Li and Kaiming He and Jian Sun},
year = {2016},
eprint = {1605.06409},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1605.06409v3}
}