Paper commentary
Receptive Field Block Net for Accurate and Fast Object Detection
RFB Net adds eccentricity-aware blocks to SSD for fast accurate detection
- Problem One-stage detectors like SSD run in real time on light backbones but trail two-stage detectors in accuracy. Closing that gap with deeper backbones such as ResNet-101 makes them slow.
- Method RFB is a multi-branch block that pairs kernel size with dilation rate, mimicking how human receptive fields grow with eccentricity. It replaces SSD's top convolution layers to form RFB Net.
- Results RFB Net300 reaches 80.5% mAP on VOC 2007 at 83 fps, matching deeper detectors while staying real-time.
Why fast one-stage detectors lose accuracy
Two-stage detectors gain accuracy from deeper backbones such as ResNet-101 and Inception, and from additions such as feature pyramids and RoIAlign. These features come from deep networks with heavy computation, so inference becomes slow.
Single-stage detectors skip the proposal step to run faster. YOLO and SSD run in real time, but their accuracy drops clearly relative to two-stage solutions. DSSD and RetinaNet narrow that gap, but their gains rest on the deeper ResNet-101 backbone, which limits efficiency.
The study aims at high-speed one-stage detectors, improving them without adding much computation. The route taken is to strengthen the features of a lightweight network with a designed mechanism rather than by adding depth.
Receptive field size and eccentricity in the visual cortex
Measurements of human visual cortex show that the size of a population receptive field depends on its eccentricity. Within each retinotopic map the pRF size grows with eccentricity, while the overall size differs from one map to another.
Since the pRF grows with eccentricity, positions near the center receive emphasis and small spatial shifts matter less. Some shallow hand-crafted descriptors already use this pattern in their pooling schemes and perform well in matching image patches.
Standard deep networks set all receptive fields to one size on a regular sampling grid. The authors argue that this probably reduces feature discriminability and robustness. The block design takes the cortical relation as a premise. The experiments test whether the block helps detection, not the neuroscience itself.
Where Inception, ASPP and Deformable CNN fall short
Inception uses branches with different kernel sizes to capture several scales. All of its kernels share one center, so reaching a wide area needs large kernels, and some fine detail is lost.
ASPP varies the sampling distance with dilation, but its features share one resolution, so every position is weighted in the same way. The authors suspect that this confuses object and context, and that the resulting feature is less distinctive than a daisy-shaped one.
Deformable CNN adapts its sampling grid to object scale and shape, but it does not model eccentricity, so all pixels in a receptive field contribute equally. RFB keeps the multiple kernel sizes and adds the eccentricity dimension, with smaller kernels near the center carrying larger weights.
Building the RFB block
RFB has two parts. A multi-branch convolution, with kernel sizes that set receptive field sizes, comes first, followed by dilated pooling or convolution layers that set how far each branch reaches from the center. The kernel size and the dilation of a branch are positively related, in the way the size and eccentricity of pRFs are.
The multi-branch part follows the Inception design, using the Inception V4 and Inception-ResNet V2 changes. Each branch starts with a 1×1 convolution that reduces the number of channels, followed by an n×n convolution.
Two factorizations reduce parameters and add nonlinear layers: a 5×5 convolution becomes two stacked 3×3 convolutions, and an n×n convolution becomes a 1×n followed by an n×1 convolution. A ResNet-style shortcut wraps the block.
The dilated layers come from DeepLab. A dilation enlarges the area a kernel covers without adding weights. In the standard RFB, three 3×3 branches use dilation rates 1, 3 and 5, so each branch has its own eccentricity.
The branch outputs are concatenated and projected by a 1×1 convolution, giving one output for the block. RFB-s follows the same pattern with more branches and smaller kernels, to mimic the smaller pRFs of shallow retinotopic maps.
How RFB Net is built on SSD
RFB Net keeps the multi-scale one-stage framework of SSD and replaces the top convolution layers with RFB. The change keeps the computational cost under control while the rest of the SSD architecture stays largely as it is.
The RFB module replaces the front convolution layers of the cascade, where the feature maps are large. The last few convolution layers are kept, since their feature maps are too small for 5×5 filters.
The backbone is the same VGG16 as in SSD, pre-trained on ILSVRC CLS-LOC. Its fc6 and fc7 layers become convolutional, pool5 changes from 2×2-s2 to 3×3-s1, and the dropout layers and fc8 are removed.
RFB-s sits behind the conv4_3 features, and the 300 model's pipeline uses a stride-2 RFB module built from stride-2 multi-kernel convolutions.
Training schedules for VOC and COCO
Training follows SSD for data augmentation, hard negative mining, default box scales and aspect ratios, and the smooth L1 and softmax losses. The learning-rate schedule is the part changed for RFB, and new convolution layers use MSRA initialization. The code is written in PyTorch and builds on the ssd.pytorch repository.
The rate then follows the usual schedule, divided by 10 at 150 and 200 epochs, for 250 epochs in total. Weight decay is 0.0005 and momentum is 0.9.
On COCO the model trains on trainval35k with batch size 32, and the default box sizes are reduced as in SSD because COCO objects are smaller.
VOC 2007 detection results
RFB Net300 reached 80.5% mAP on the VOC 2007 test set, when trained on the union of the 2007 and 2012 trainval sets.
Table 1 mixes backbones and runtimes, and its SSD300* and SSD512* rows were run in the same Pytorch-0.3.0 and CUDNN V6 environment as RFB Net.
What each RFB change adds on VOC 2007
The ablation starts from SSD300 with the new data augmentation at 77.2% mAP.
Tuning the RFB parameters to the cortical size-eccentricity ratio moves max pooling from 79.1% to 79.6%. The same tuning moves the dilated convolution variant from 80.1% to 80.5%.
Early experiments used dilated pooling to avoid extra parameters, but the authors judged that stationary pooling limits fusion across sizes. Switching to dilated convolution raised the score from 79.8% to 80.5% without slowing inference.
The steps are read as successive additions, as the text describes them, and all of them are measured on VOC 2007 test.
RFB against Inception, ASPP and Deformable CNN
Inception-L and ASPP-S were resized to match the receptive field of RFB.
The authors attribute the advantage to a larger effective receptive field than the other blocks have.
COCO test-dev results
RFB Net512 reached 33.8 AP, slightly below RetinaNet500 at 34.4 AP. The authors point out that RetinaNet uses a ResNet-101-FPN backbone and a loss that focuses learning on hard examples, while RFB Net is built on VGG only.
Table 4 lists RFB Net512-E at 33 ms per image.
RetinaNet800 reaches 39.1 AP at 800-pixel input, and the authors place that resolution outside the scope of this study.
Speed against accuracy
On Pascal VOC, RFB Net300 runs at 83 fps and RFB Net512 at 38 fps on a GeForce GTX Titan X.
On COCO test-dev, RFB Net300 takes 15 ms per image, RFB Net512 takes 30 ms and RFB Net512-E takes 33 ms, while RetinaNet500 takes 90 ms. The text gives the 30 ms figure for RFB Net500, while Table 4 lists it under RFB Net512, which is read here as the same model.
The COCO speed-accuracy plot places RFB Net300 at 66 fps, and the authors place the RFB Net curve on the upper edge of the real-time detectors.
COCO timings are slower partly because its 80 categories make NMS costlier on dense images. RetinaNet was timed on an Nvidia M40, while most other entries used a Titan X.
Attaching RFB to MobileNet
RFB was attached to MobileNet-SSD and trained on COCO train+val35k with the same schedule, then evaluated on minival.
MobileNet-SSD scored 19.3% mAP, and the version with RFB scored 20.7% mAP, with parameters rising from 6.8M to 7.4M.
Training from scratch
DSOD reaches 77.7% mAP on VOC 2007 without pre-training, and the authors note that it gives no gain when a pre-trained network is used.
The pre-trained version reached 80.5% on the same test set.
The two figures come from separate models and training recipes, so the comparison only addresses the level of accuracy.
Limitations
Inputs of 800 pixels were not tested, so the 39.1 AP of RetinaNet800 is not matched.
The COCO speed comparison mixes GPUs, so its timings are not one controlled comparison.
The component ablation in Table 2 covers VOC 2007 test only, while the block comparison adds COCO minival for each block.
The MobileNet experiment has one baseline row and one RFB row, both on minival.
The main models use only the VGG16 backbone, so the evidence for other backbones rests on the single MobileNet comparison.
Paper info
- Authors
- Songtao Liu, Di Huang, Yunhong Wang
- Venue
- arXiv · Preprint
- First published
- 2017-11-21
- Added
- 2026-11-12
- Updated
- 2018-7-26
- Version
- v3
- arXiv
- 1711.07767
- 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
Songtao Liu, Di Huang, Yunhong Wang (2017). Receptive Field Block Net for Accurate and Fast Object Detection. arXiv:1711.07767v3. https://arxiv.org/abs/1711.07767v3
BibTeX
@misc{liu2017receptive,
title = {{Receptive Field Block Net for Accurate and Fast Object Detection}},
author = {Songtao Liu and Di Huang and Yunhong Wang},
year = {2017},
eprint = {1711.07767},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1711.07767v3}
}